Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001383/0.002433, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000938/0.000938, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001114/0.002052, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9359/0.9359, allocations: 173.4 MB / 185.8 MB, free: 8.977 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08458/1.021, allocations: 52.49 MB / 238.3 MB, free: 4.426 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 239.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.858e-05, allocations: 2.875 kB / 239.5 MB, free: 3.172 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.002316/0.002334, allocations: 1.964 MB / 241.5 MB, free: 1.199 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.003616, allocations: 1.075 MB / 242.6 MB, free: 120 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.003727, allocations: 7.938 kB / 242.6 MB, free: 112 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003977/0.004125, allocations: 147.6 kB / 242.7 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.00433, allocations: 127.5 kB / 242.9 MB, free: 15.84 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004157/0.004745, allocations: 215.1 kB / 243.1 MB, free: 15.62 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000208/0.004953, allocations: 175.5 kB / 243.2 MB, free: 15.45 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.868e-05/0.005042, allocations: 22.45 kB / 243.3 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.005198, allocations: 139.6 kB / 243.4 MB, free: 15.29 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.289e-05/0.005291, allocations: 59.8 kB / 243.5 MB, free: 15.23 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.00531, allocations: 8 kB / 243.5 MB, free: 15.23 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.00544, allocations: 59.91 kB / 243.5 MB, free: 15.17 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.026e-05/0.00549, allocations: 35.86 kB / 243.6 MB, free: 15.13 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.959e-05/0.005529, allocations: 27.88 kB / 243.6 MB, free: 15.11 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.005734, allocations: 147.4 kB / 243.7 MB, free: 14.96 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.393e-05/0.005748, allocations: 0 / 243.7 MB, free: 14.96 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005749, allocations: 0 / 243.7 MB, free: 14.96 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.005765, allocations: 4 kB / 243.7 MB, free: 14.96 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005137/0.006278, allocations: 449 kB / 244.2 MB, free: 14.49 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.822e-05/0.006307, allocations: 8.031 kB / 244.2 MB, free: 14.48 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.006346, allocations: 16.92 kB / 244.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.006559, allocations: 209.6 kB / 244.4 MB, free: 14.23 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.006575, allocations: 4.375 kB / 244.4 MB, free: 14.23 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.006587, allocations: 8.375 kB / 244.4 MB, free: 14.22 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.006762, allocations: 125.2 kB / 244.5 MB, free: 14.07 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.006771, allocations: 3.938 kB / 244.5 MB, free: 14.07 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.00678, allocations: 4 kB / 244.5 MB, free: 14.07 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.006786, allocations: 4 kB / 244.5 MB, free: 14.06 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.597e-05/0.006822, allocations: 18.75 kB / 244.6 MB, free: 14.04 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002644/0.007087, allocations: 203.5 kB / 244.8 MB, free: 13.82 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.0072, allocations: 122.6 kB / 244.9 MB, free: 13.67 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.788e-05/0.007228, allocations: 34.52 kB / 244.9 MB, free: 13.63 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.007249, allocations: 11.92 kB / 244.9 MB, free: 13.62 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.307e-05/0.007342, allocations: 62.22 kB / 245 MB, free: 13.54 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.482e-06/0.007344, allocations: 0 / 245 MB, free: 13.54 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001392/0.007483, allocations: 81.72 kB / 245.1 MB, free: 13.46 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003191/0.007802, allocations: 110.8 kB / 245.2 MB, free: 13.32 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.007934, allocations: 218.7 kB / 245.4 MB, free: 13.09 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.007948, allocations: 33.95 kB / 245.4 MB, free: 13.05 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.05e-05/0.007989, allocations: 104 kB / 245.5 MB, free: 12.95 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.00801, allocations: 23.81 kB / 245.5 MB, free: 12.93 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.008038, allocations: 17.72 kB / 245.6 MB, free: 12.9 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.187e-05/0.008109, allocations: 334.8 kB / 245.9 MB, free: 12.57 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.38e-05/0.008123, allocations: 6.828 kB / 245.9 MB, free: 12.56 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.434e-05/0.008158, allocations: 64.31 kB / 246 MB, free: 12.48 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.149e-05/0.008199, allocations: 35.3 kB / 246 MB, free: 12.44 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.008202, allocations: 0 / 246 MB, free: 12.44 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.92e-05/0.008271, allocations: 72.41 kB / 246.1 MB, free: 12.36 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.008282, allocations: 4 kB / 246.1 MB, free: 12.36 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.008286, allocations: 4 kB / 246.1 MB, free: 12.35 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.008295, allocations: 3.984 kB / 246.1 MB, free: 12.35 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.947e-05/0.008355, allocations: 15.98 kB / 246.1 MB, free: 12.33 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.008357, allocations: 4 kB / 246.1 MB, free: 12.33 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.18e-05/0.008389, allocations: 7.953 kB / 246.1 MB, free: 12.32 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.008394, allocations: 0 / 246.1 MB, free: 12.32 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.473e-05/0.008459, allocations: 120.7 kB / 246.2 MB, free: 12.19 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.047e-05/0.008499, allocations: 57.62 kB / 246.3 MB, free: 12.13 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.108e-05/0.00859, allocations: 75.42 kB / 246.4 MB, free: 12.05 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.008594, allocations: 4 kB / 246.4 MB, free: 12.05 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.008595, allocations: 3.938 kB / 246.4 MB, free: 12.04 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.008599, allocations: 3.938 kB / 246.4 MB, free: 12.04 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.029e-05/0.008689, allocations: 101.8 kB / 246.5 MB, free: 11.92 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.008691, allocations: 0 / 246.5 MB, free: 11.92 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.488e-05/0.008716, allocations: 8 kB / 246.5 MB, free: 11.91 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.668e-05/0.008752, allocations: 27.77 kB / 246.5 MB, free: 11.89 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.008754, allocations: 0 / 246.5 MB, free: 11.89 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.008761, allocations: 8 kB / 246.5 MB, free: 11.88 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.008764, allocations: 8.094 kB / 246.5 MB, free: 11.87 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.008766, allocations: 3.984 kB / 246.5 MB, free: 11.87 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.776e-05/0.008854, allocations: 104.4 kB / 246.6 MB, free: 11.74 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.008874, allocations: 11.94 kB / 246.6 MB, free: 11.73 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.1e-05/0.008905, allocations: 0 / 246.6 MB, free: 11.73 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.583e-05/0.008931, allocations: 7.984 kB / 246.6 MB, free: 11.72 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.00894, allocations: 4 kB / 246.6 MB, free: 11.71 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.062e-05/0.009001, allocations: 81.61 kB / 246.7 MB, free: 11.63 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009001, allocations: 0 / 246.7 MB, free: 11.63 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001407/0.009142, allocations: 27.94 kB / 246.8 MB, free: 11.61 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001205/0.01035, allocations: 0.5702 MB / 247.3 MB, free: 11.31 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.85e-05/0.01045, allocations: 40.78 kB / 247.4 MB, free: 11.27 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.01045, allocations: 0 / 247.4 MB, free: 11.27 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.812e-05/0.01048, allocations: 24.78 kB / 247.4 MB, free: 11.24 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.01067, allocations: 72.5 kB / 247.5 MB, free: 11.17 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005076/0.01118, allocations: 296.7 kB / 247.7 MB, free: 10.84 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.017e-05/0.01122, allocations: 71.83 kB / 247.8 MB, free: 10.75 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.921e-05/0.01127, allocations: 21.62 kB / 247.8 MB, free: 10.73 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.964e-05/0.01135, allocations: 83.34 kB / 247.9 MB, free: 10.65 MB / 250.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01135, allocations: 0 / 247.9 MB, free: 10.65 MB / 250.7 MB Notification: Performance of Templates: time 0.004634/0.01598, allocations: 2.806 MB / 250.7 MB, free: 7.895 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.588809418492019]