Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00134/0.00134, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001521/0.001521, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.714/1.714, allocations: 230.4 MB / 258.1 MB, free: 8.145 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 67.84 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4632/0.4653, allocations: 53.32 MB / 432 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.004159/0.4695, allocations: 1.933 MB / 434 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002585/0.4721, allocations: 1.247 MB / 435.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.4723, allocations: 7.938 kB / 435.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000725/0.473, allocations: 143.6 kB / 435.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004711/0.4734, allocations: 163.3 kB / 435.5 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006136/0.4741, allocations: 174.4 kB / 435.7 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003038/0.4744, allocations: 179.5 kB / 435.9 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.4745, allocations: 29.47 kB / 435.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.4746, allocations: 75.64 kB / 436 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.4748, allocations: 79.67 kB / 436 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.4748, allocations: 8 kB / 436.1 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.475, allocations: 63.95 kB / 436.1 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.697e-05/0.4751, allocations: 47.78 kB / 436.2 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.945e-05/0.4751, allocations: 71.48 kB / 436.2 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005267/0.4757, allocations: 212.7 kB / 436.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4757, allocations: 0 / 436.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.4757, allocations: 0 / 436.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.4757, allocations: 0 / 436.4 MB, free: 2.965 MB / 334.1 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.001157/0.4769, allocations: 0.5232 MB / 437 MB, free: 2.387 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.4769, allocations: 8.031 kB / 437 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.183e-05/0.477, allocations: 24.73 kB / 437 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004198/0.4774, allocations: 275 kB / 437.3 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.4774, allocations: 4.375 kB / 437.3 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.4774, allocations: 12.12 kB / 437.3 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003754/0.4778, allocations: 142.7 kB / 437.4 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.4778, allocations: 3.984 kB / 437.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.4779, allocations: 7.938 kB / 437.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.4779, allocations: 0 / 437.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.478, allocations: 27.98 kB / 437.5 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006168/0.4786, allocations: 366.4 kB / 437.8 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.4788, allocations: 103.9 kB / 437.9 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.95e-05/0.4789, allocations: 38.56 kB / 438 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.479, allocations: 4 kB / 438 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001925/0.4792, allocations: 83.31 kB / 438 MB, free: 1.141 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.4792, allocations: 3.938 kB / 438 MB, free: 1.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004066/0.4796, allocations: 145.4 kB / 438.2 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.4797, allocations: 136.8 kB / 438.3 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000369/0.4801, allocations: 272.9 kB / 438.6 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.4801, allocations: 33.7 kB / 438.6 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.4802, allocations: 112.1 kB / 438.7 MB, free: 408 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.4802, allocations: 19.95 kB / 438.8 MB, free: 388 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-05/0.4803, allocations: 33.67 kB / 438.8 MB, free: 348 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.4805, allocations: 334.8 kB / 439.1 MB, free: 4 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.855e-05/0.4806, allocations: 28.09 kB / 439.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.4807, allocations: 65.94 kB / 439.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.4808, allocations: 76.25 kB / 439.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4808, allocations: 4 kB / 439.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002329/0.4811, allocations: 113.5 kB / 439.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.4811, allocations: 10.81 kB / 439.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4811, allocations: 0 / 439.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.4811, allocations: 0 / 439.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.765e-05/0.4812, allocations: 16 kB / 439.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.4812, allocations: 128 / 439.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.726e-05/0.4813, allocations: 15.92 kB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.4813, allocations: 4 kB / 439.4 MB, free: 15.63 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001535/0.4815, allocations: 150.2 kB / 439.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.923e-05/0.4815, allocations: 61.56 kB / 439.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.4818, allocations: 111.3 kB / 439.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.4818, allocations: 0 / 439.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.4818, allocations: 4.062 kB / 439.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.4818, allocations: 8.312 kB / 439.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.4822, allocations: 225.5 kB / 440 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.4822, allocations: 11.94 kB / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.265e-05/0.4822, allocations: 7.828 kB / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.4822, allocations: 0 / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/0.4822, allocations: 8 kB / 440 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.4822, allocations: 0 / 440 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.4823, allocations: 3.984 kB / 440 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.4826, allocations: 154.6 kB / 440.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.4827, allocations: 109 kB / 440.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/0.4828, allocations: 3.984 kB / 440.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.35e-05/0.4828, allocations: 4 kB / 440.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.597e-05/0.4829, allocations: 11.94 kB / 440.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.4829, allocations: 11.92 kB / 440.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002831/0.4832, allocations: 200.5 kB / 440.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4832, allocations: 4 kB / 440.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003453/0.4835, allocations: 31.94 kB / 440.5 MB, free: 14.42 MB / 350.1 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 (9): * Single equations (assignments): 7 * 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.001653/0.4852, allocations: 410.6 kB / 440.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002708/0.4855, allocations: 67.91 kB / 441 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4855, allocations: 3.938 kB / 441 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.439e-05/0.4856, allocations: 32.17 kB / 441 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/0.486, allocations: 63.02 kB / 441.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007549/0.4868, allocations: 328.4 kB / 441.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.4872, allocations: 0.7321 MB / 442.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.697e-05/0.4873, allocations: 25.52 kB / 442.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.4873, allocations: 19.42 kB / 442.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4873, allocations: 0 / 442.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of Templates: time 0.007168/0.4945, allocations: 2.481 MB / 444.7 MB, free: 10.41 MB / 350.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.114354129880667]