Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009469/0.0009469, allocations: 83.75 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009153/0.0009153, allocations: 165.4 kB / 24.56 MB, free: 8 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9887/0.9887, allocations: 177.1 MB / 205 MB, free: 5.285 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.883e-06/6.883e-06, allocations: 4 kB / 273 MB, free: 1.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/2.339e-05, allocations: 5.125 kB / 273 MB, free: 1.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.002431/0.002454, allocations: 1.959 MB / 274.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.003878, allocations: 1.192 MB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.003988, allocations: 7.938 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005422/0.00453, allocations: 151.4 kB / 276.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.00486, allocations: 171.2 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003911/0.005251, allocations: 171.4 kB / 276.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.005455, allocations: 195.4 kB / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.185e-05/0.005547, allocations: 25.78 kB / 276.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.005656, allocations: 99.73 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.17e-05/0.005748, allocations: 63.8 kB / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.005769, allocations: 8 kB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.005875, allocations: 63.83 kB / 277.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.461e-05/0.00594, allocations: 47.83 kB / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.544e-05/0.005995, allocations: 35.86 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.006214, allocations: 163.3 kB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.006216, allocations: 0 / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.006217, allocations: 0 / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.006221, allocations: 0 / 277.3 MB, free: 13.04 MB / 266.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.0005113/0.006732, allocations: 0.544 MB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.006766, allocations: 12.03 kB / 277.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.00682, allocations: 24.8 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.007042, allocations: 220.3 kB / 278.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.007061, allocations: 12.36 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.007074, allocations: 4.375 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.007304, allocations: 144.6 kB / 278.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.007312, allocations: 3.938 kB / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.007322, allocations: 4 kB / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.00733, allocations: 0 / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.572e-05/0.007376, allocations: 19.92 kB / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.007717, allocations: 351 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.007846, allocations: 113.3 kB / 278.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.825e-05/0.007894, allocations: 51.05 kB / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.007911, allocations: 7.938 kB / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.755e-05/0.008009, allocations: 73.11 kB / 278.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.00801, allocations: 3.938 kB / 278.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002019/0.008212, allocations: 117.5 kB / 279 MB, free: 11.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.008256, allocations: 110.8 kB / 279.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.008428, allocations: 288.3 kB / 279.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.008444, allocations: 33.94 kB / 279.4 MB, free: 10.67 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.008511, allocations: 166.9 kB / 279.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.00853, allocations: 15.91 kB / 279.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.008572, allocations: 39.31 kB / 279.6 MB, free: 10.44 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.008683, allocations: 0.4962 MB / 280.1 MB, free: 9.934 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.018e-05/0.008703, allocations: 4 kB / 280.1 MB, free: 9.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.652e-05/0.00875, allocations: 72.73 kB / 280.2 MB, free: 9.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.721e-05/0.008797, allocations: 43.23 kB / 280.2 MB, free: 9.789 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.008799, allocations: 0 / 280.2 MB, free: 9.789 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.659e-05/0.008885, allocations: 77.59 kB / 280.3 MB, free: 9.707 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.008897, allocations: 12.06 kB / 280.3 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.008902, allocations: 0 / 280.3 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.008913, allocations: 0 / 280.3 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.673e-05/0.008969, allocations: 15.94 kB / 280.3 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.008974, allocations: 0 / 280.3 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.179e-05/0.009006, allocations: 11.92 kB / 280.4 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.009012, allocations: 4 kB / 280.4 MB, free: 9.664 MB / 266.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 7.406e-05/0.009086, allocations: 165.6 kB / 280.5 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.009137, allocations: 69.48 kB / 280.6 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.009263, allocations: 95.52 kB / 280.7 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.009265, allocations: 0 / 280.7 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.009269, allocations: 4 kB / 280.7 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.009274, allocations: 4 kB / 280.7 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.00939, allocations: 176.5 kB / 280.9 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.009391, allocations: 0 / 280.9 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.797e-05/0.009409, allocations: 11.92 kB / 280.9 MB, free: 9.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.009412, allocations: 4 kB / 280.9 MB, free: 9.086 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.009421, allocations: 4 kB / 280.9 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.009423, allocations: 4 kB / 280.9 MB, free: 9.078 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.009424, allocations: 0 / 280.9 MB, free: 9.078 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.009546, allocations: 163.5 kB / 281 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.885e-05/0.009585, allocations: 31.84 kB / 281.1 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.009605, allocations: 11.94 kB / 281.1 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.927e-05/0.009634, allocations: 3.984 kB / 281.1 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.009667, allocations: 4 kB / 281.1 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.009681, allocations: 11.98 kB / 281.1 MB, free: 8.824 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001098/0.009791, allocations: 205.1 kB / 281.3 MB, free: 8.625 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009791, allocations: 0 / 281.3 MB, free: 8.625 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001605/0.009951, allocations: 23.94 kB / 281.3 MB, free: 8.602 MB / 266.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.00085/0.0108, allocations: 401.2 kB / 281.7 MB, free: 8.348 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.01092, allocations: 47.61 kB / 281.8 MB, free: 8.297 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01092, allocations: 4.062 kB / 281.8 MB, free: 8.293 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.724e-05/0.01095, allocations: 31.61 kB / 281.8 MB, free: 8.258 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.0112, allocations: 71.47 kB / 281.9 MB, free: 8.191 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.01154, allocations: 309.9 kB / 282.2 MB, free: 7.855 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.327e-05/0.01159, allocations: 71.83 kB / 282.2 MB, free: 7.766 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.279e-05/0.01163, allocations: 21.61 kB / 282.3 MB, free: 7.738 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.01166, allocations: 24.67 kB / 282.3 MB, free: 7.715 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01166, allocations: 0 / 282.3 MB, free: 7.715 MB / 266.7 MB Notification: Performance of Templates: time 0.004443/0.01611, allocations: 2.745 MB / 285 MB, free: 5.004 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.7124735391698778]