Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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.001873/0.001873, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 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.002322/0.002322, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 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 1.742/1.742, allocations: 230.6 MB / 254.1 MB, free: 15.1 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+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.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 55.91 kB / 373.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1345, allocations: 53.33 MB / 426.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.004025/0.1386, allocations: 2.014 MB / 428.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002534/0.1411, allocations: 1.27 MB / 430.1 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.1413, allocations: 7.938 kB / 430.1 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006988/0.142, allocations: 151.5 kB / 430.2 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004361/0.1424, allocations: 163 kB / 430.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006878/0.1431, allocations: 219.3 kB / 430.6 MB, free: 468 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000388/0.1435, allocations: 223.4 kB / 430.8 MB, free: 244 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.1436, allocations: 32.3 kB / 430.9 MB, free: 212 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.1438, allocations: 99.61 kB / 431 MB, free: 112 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.144, allocations: 103.5 kB / 431.1 MB, free: 8 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.3661/0.5101, allocations: 10.11 kB / 431.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003192/0.5104, allocations: 61.28 kB / 431.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.5106, allocations: 53.89 kB / 431.2 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.5107, allocations: 89.25 kB / 431.3 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006385/0.5114, allocations: 270.8 kB / 431.5 MB, free: 8.285 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.5114, allocations: 0.8125 kB / 431.5 MB, free: 8.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5114, allocations: 0 / 431.5 MB, free: 8.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.5114, allocations: 3.625 kB / 431.5 MB, free: 8.285 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001012/0.5124, allocations: 0.5552 MB / 432.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.5125, allocations: 9.5 kB / 432.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.5126, allocations: 33.22 kB / 432.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004609/0.513, allocations: 289.6 kB / 432.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.5131, allocations: 17.09 kB / 432.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.5131, allocations: 13.28 kB / 432.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005922/0.5137, allocations: 301.7 kB / 432.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.5137, allocations: 0.7812 kB / 432.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.5137, allocations: 6.312 kB / 432.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.5137, allocations: 2.75 kB / 432.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.5139, allocations: 62.59 kB / 432.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006004/0.5145, allocations: 393.2 kB / 433.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/0.5148, allocations: 159.7 kB / 433.4 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.515, allocations: 79.03 kB / 433.4 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.515, allocations: 8.75 kB / 433.4 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.5152, allocations: 79.09 kB / 433.5 MB, free: 7.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.255e-06/0.5152, allocations: 0 / 433.5 MB, free: 7.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005193/0.5157, allocations: 223.1 kB / 433.7 MB, free: 7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.5157, allocations: 147 kB / 433.9 MB, free: 6.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/0.516, allocations: 281.8 kB / 434.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.5161, allocations: 31.33 kB / 434.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.8e-05/0.5162, allocations: 125.3 kB / 434.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.5162, allocations: 32.41 kB / 434.3 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-05/0.5163, allocations: 54.69 kB / 434.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.878e-05/0.5164, allocations: 339.3 kB / 434.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.088e-05/0.5165, allocations: 36.33 kB / 434.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.5166, allocations: 171 kB / 434.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.5168, allocations: 200.4 kB / 435.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.5168, allocations: 4.312 kB / 435.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003802/0.5172, allocations: 223.2 kB / 435.3 MB, free: 5.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.5172, allocations: 8.109 kB / 435.3 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.5172, allocations: 5.375 kB / 435.4 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/0.5173, allocations: 8.797 kB / 435.4 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.5174, allocations: 23.98 kB / 435.4 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.5174, allocations: 5.406 kB / 435.4 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.5175, allocations: 24.92 kB / 435.4 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.5175, allocations: 13.62 kB / 435.4 MB, free: 5.898 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition1,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,and1.y,and1.u2,and1.u1,upSample2.u_super,$CLKPRE.upSample2.b_super,upSample2.b_super,upSample2.y,upSample1.u_super,$CLKPRE.upSample1.b_super,upSample1.b_super,upSample1.y,$CLKPRE.upSample2.b,upSample2.b,upSample2.dummy,upSample2.u,$CLKPRE.upSample1.b,upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001411/0.5177, allocations: 162.8 kB / 435.6 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.5179, allocations: 130.6 kB / 435.7 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.574e-05/0.5179, allocations: 33.52 kB / 435.7 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.5179, allocations: 6.188 kB / 435.8 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.5179, allocations: 1.156 kB / 435.8 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.518, allocations: 1.188 kB / 435.8 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.5181, allocations: 258.6 kB / 436 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.5182, allocations: 1.375 kB / 436 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.548e-05/0.5182, allocations: 13.16 kB / 436 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.5182, allocations: 2 kB / 436 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.5182, allocations: 7.5 kB / 436 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5182, allocations: 1.406 kB / 436 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5182, allocations: 0.9375 kB / 436 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/0.5186, allocations: 236.2 kB / 436.3 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.359e-05/0.5187, allocations: 117 kB / 436.4 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.5187, allocations: 7.969 kB / 436.4 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.93e-05/0.5188, allocations: 8.172 kB / 436.4 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.5188, allocations: 8.688 kB / 436.4 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.5189, allocations: 7.281 kB / 436.4 MB, free: 5.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002076/0.5191, allocations: 203.8 kB / 436.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5191, allocations: 0 / 436.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003799/0.5195, allocations: 47.66 kB / 436.7 MB, free: 5.23 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: 20 ($whenCondition1,table1.y,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent) * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.001644/0.5211, allocations: 437.2 kB / 437.1 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003655/0.5215, allocations: 137.7 kB / 437.2 MB, free: 5.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5215, allocations: 4.062 kB / 437.2 MB, free: 5.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.541e-05/0.5215, allocations: 25.2 kB / 437.2 MB, free: 5.066 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000549/0.5221, allocations: 105.5 kB / 437.4 MB, free: 5.062 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007146/0.5228, allocations: 397 kB / 437.7 MB, free: 4.848 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.523, allocations: 0.7572 MB / 438.5 MB, free: 4.148 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.5231, allocations: 27.7 kB / 438.5 MB, free: 4.145 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.417e-05/0.5232, allocations: 28.62 kB / 438.5 MB, free: 4.137 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5232, allocations: 0 / 438.5 MB, free: 4.137 MB / 350.1 MB Notification: Performance of Templates: time 0.01023/0.5334, allocations: 3.072 MB / 441.6 MB, free: 3.895 MB / 350.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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.542533077299595]