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.00138/0.00138, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001224/0.001224, allocations: 167.3 kB / 24.99 MB, free: 8.871 MB / 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.9902/0.9902, allocations: 177.1 MB / 205.3 MB, free: 5.645 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 1.883e-06/1.883e-06, allocations: 0 / 273.1 MB, free: 1.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.209e-05, allocations: 2.312 kB / 273.1 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003735/0.003757, allocations: 1.947 MB / 275 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00255/0.006306, allocations: 1.192 MB / 276.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.006471, allocations: 7.938 kB / 276.2 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007084/0.007179, allocations: 159.4 kB / 276.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004773/0.007657, allocations: 159.2 kB / 276.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005462/0.008203, allocations: 171.4 kB / 276.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003035/0.008506, allocations: 199.4 kB / 276.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.00864, allocations: 17.8 kB / 276.9 MB, free: 14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.008825, allocations: 103.7 kB / 277 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.008973, allocations: 63.8 kB / 277.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.009001, allocations: 8 kB / 277.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.009171, allocations: 63.83 kB / 277.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.245e-05/0.009253, allocations: 43.84 kB / 277.2 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.123e-05/0.009325, allocations: 43.84 kB / 277.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003249/0.00965, allocations: 163.3 kB / 277.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.009652, allocations: 0 / 277.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.009653, allocations: 0 / 277.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.009658, allocations: 0 / 277.4 MB, free: 13.52 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.0006763/0.01033, allocations: 0.5401 MB / 277.9 MB, free: 12.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.01037, allocations: 8.031 kB / 277.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.152e-05/0.01045, allocations: 28.78 kB / 277.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.01078, allocations: 228.3 kB / 278.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.01079, allocations: 4.375 kB / 278.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.01081, allocations: 12.38 kB / 278.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.0111, allocations: 136.6 kB / 278.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.01111, allocations: 3.938 kB / 278.3 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.01112, allocations: 3.984 kB / 278.3 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.01113, allocations: 0 / 278.3 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.434e-05/0.01121, allocations: 23.92 kB / 278.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.01169, allocations: 351 kB / 278.7 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.01187, allocations: 121.3 kB / 278.8 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.034e-05/0.01193, allocations: 39.06 kB / 278.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.01195, allocations: 4 kB / 278.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001305/0.01208, allocations: 76.97 kB / 278.9 MB, free: 11.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 4.518e-06/0.01208, allocations: 3.984 kB / 278.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002933/0.01238, allocations: 117.7 kB / 279.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/0.01244, allocations: 114.8 kB / 279.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.01273, allocations: 288.3 kB / 279.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.01275, allocations: 33.7 kB / 279.5 MB, free: 11.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.316e-05/0.01284, allocations: 166.8 kB / 279.6 MB, free: 10.99 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.01287, allocations: 19.89 kB / 279.7 MB, free: 10.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.01292, allocations: 31.33 kB / 279.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.01308, allocations: 0.5001 MB / 280.2 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.618e-05/0.01312, allocations: 8 kB / 280.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.883e-05/0.01319, allocations: 68.73 kB / 280.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.674e-05/0.01327, allocations: 47.28 kB / 280.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01327, allocations: 4 kB / 280.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001415/0.01341, allocations: 73.59 kB / 280.4 MB, free: 10.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.01342, allocations: 8 kB / 280.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.01343, allocations: 0 / 280.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.01344, allocations: 0 / 280.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.576e-05/0.01352, allocations: 15.92 kB / 280.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.01352, allocations: 4 kB / 280.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.487e-05/0.01358, allocations: 7.938 kB / 280.4 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.01359, allocations: 0 / 280.4 MB, free: 10.15 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 0.0001042/0.01369, allocations: 171 kB / 280.6 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.825e-05/0.01378, allocations: 69.48 kB / 280.7 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001822/0.01396, allocations: 99.81 kB / 280.8 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.01396, allocations: 0 / 280.8 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.01398, allocations: 4 kB / 280.8 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.01398, allocations: 4 kB / 280.8 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.01416, allocations: 176.5 kB / 280.9 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.01416, allocations: 0 / 280.9 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.014e-05/0.01422, allocations: 11.94 kB / 280.9 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.01422, allocations: 4.062 kB / 280.9 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.01423, allocations: 0 / 280.9 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.01424, allocations: 4 kB / 281 MB, free: 9.562 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01424, allocations: 0 / 281 MB, free: 9.562 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.01445, allocations: 167.5 kB / 281.1 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.84e-05/0.01452, allocations: 31.84 kB / 281.1 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.01455, allocations: 4 kB / 281.2 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.084e-05/0.01461, allocations: 4 kB / 281.2 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.01465, allocations: 7.984 kB / 281.2 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.01467, allocations: 4 kB / 281.2 MB, free: 9.316 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001913/0.01486, allocations: 209.1 kB / 281.4 MB, free: 9.113 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01486, allocations: 3.938 kB / 281.4 MB, free: 9.109 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000268/0.01513, allocations: 31.92 kB / 281.4 MB, free: 9.078 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.001195/0.01632, allocations: 403.8 kB / 281.8 MB, free: 8.824 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001643/0.01649, allocations: 51.59 kB / 281.9 MB, free: 8.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01649, allocations: 0 / 281.9 MB, free: 8.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.092e-05/0.01655, allocations: 23.62 kB / 281.9 MB, free: 8.742 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.01693, allocations: 61.27 kB / 281.9 MB, free: 8.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005486/0.01747, allocations: 305.9 kB / 282.2 MB, free: 8.348 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.378e-05/0.01754, allocations: 76.06 kB / 282.3 MB, free: 8.254 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.048e-05/0.01761, allocations: 25.75 kB / 282.3 MB, free: 8.223 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.142e-05/0.01766, allocations: 24.5 kB / 282.4 MB, free: 8.199 MB / 266.7 MB Notification: Performance of SimCode: time 9.21e-07/0.01766, allocations: 0 / 282.4 MB, free: 8.199 MB / 266.7 MB Notification: Performance of Templates: time 0.006151/0.02381, allocations: 2.575 MB / 284.9 MB, free: 5.664 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.932434936054051]