Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.000954/0.000954, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.001174/0.001174, allocations: 165.7 kB / 25.61 MB, free: 8.586 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.9613/0.9613, allocations: 177.2 MB / 206.1 MB, free: 4.508 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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 274.2 MB, free: 4.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.375e-05, allocations: 4.281 kB / 274.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.002643/0.002667, allocations: 1.948 MB / 276.1 MB, free: 2.477 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.004179, allocations: 1.183 MB / 277.3 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.004312, allocations: 9.625 kB / 277.3 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005699/0.004882, allocations: 151.4 kB / 277.5 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003038/0.005186, allocations: 164.1 kB / 277.6 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.005532, allocations: 177.7 kB / 277.8 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.005747, allocations: 207.3 kB / 278 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.005848, allocations: 21.72 kB / 278 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.005975, allocations: 107.7 kB / 278.1 MB, free: 480 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.006078, allocations: 79.77 kB / 278.2 MB, free: 400 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.006098, allocations: 8 kB / 278.2 MB, free: 392 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.006204, allocations: 59.91 kB / 278.3 MB, free: 332 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.526e-05/0.006269, allocations: 43.84 kB / 278.3 MB, free: 288 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.747e-05/0.006317, allocations: 43.84 kB / 278.4 MB, free: 244 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.006534, allocations: 167.3 kB / 278.5 MB, free: 76 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.006538, allocations: 4 kB / 278.5 MB, free: 72 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.00654, allocations: 0 / 278.5 MB, free: 72 kB / 250.7 MB Notification: Performance of Transformations before backend: time 3.828e-06/0.006543, allocations: 0 / 278.5 MB, free: 72 kB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005343/0.007078, allocations: 0.544 MB / 279.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.007113, allocations: 16.03 kB / 279.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.007161, allocations: 24.8 kB / 279.1 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.007394, allocations: 224.4 kB / 279.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.007413, allocations: 4.375 kB / 279.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.007426, allocations: 8.375 kB / 279.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.007639, allocations: 159.2 kB / 279.5 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.007648, allocations: 7.938 kB / 279.5 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.007657, allocations: 3.938 kB / 279.5 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.007665, allocations: 7.984 kB / 279.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.855e-05/0.007704, allocations: 19.97 kB / 279.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.008068, allocations: 446.5 kB / 280 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.008221, allocations: 136.5 kB / 280.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.678e-05/0.008268, allocations: 66.59 kB / 280.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.008284, allocations: 4 kB / 280.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/0.008402, allocations: 96.33 kB / 280.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.008403, allocations: 0 / 280.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002111/0.008614, allocations: 121.5 kB / 280.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.008677, allocations: 136.5 kB / 280.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.008863, allocations: 288.2 kB / 280.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.008879, allocations: 34.08 kB / 280.8 MB, free: 13.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.88e-05/0.008958, allocations: 171.1 kB / 281 MB, free: 13.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.008981, allocations: 19.89 kB / 281 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.00902, allocations: 35.31 kB / 281.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.009153, allocations: 0.5001 MB / 281.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.313e-05/0.009177, allocations: 11.98 kB / 281.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.505e-05/0.009222, allocations: 68.44 kB / 281.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.379e-05/0.009275, allocations: 55.25 kB / 281.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.009277, allocations: 0 / 281.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001001/0.009377, allocations: 85.5 kB / 281.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.00939, allocations: 4 kB / 281.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.009395, allocations: 4 kB / 281.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.009404, allocations: 0 / 281.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.066e-05/0.009465, allocations: 19.92 kB / 281.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.009468, allocations: 4 kB / 281.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.926e-05/0.009508, allocations: 7.938 kB / 281.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.009513, allocations: 0 / 281.8 MB, free: 12.43 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,hold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 8.254e-05/0.009596, allocations: 168.5 kB / 282 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.009654, allocations: 77.5 kB / 282.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.009771, allocations: 87.44 kB / 282.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.009774, allocations: 4 kB / 282.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.009776, allocations: 3.938 kB / 282.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.00978, allocations: 0 / 282.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.009905, allocations: 153.1 kB / 282.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.009907, allocations: 0 / 282.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.212e-05/0.009929, allocations: 7.938 kB / 282.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.009934, allocations: 7.938 kB / 282.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.009941, allocations: 4 kB / 282.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.009944, allocations: 8.062 kB / 282.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.009946, allocations: 3.984 kB / 282.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.01008, allocations: 147.4 kB / 282.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.01012, allocations: 43.7 kB / 282.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.01014, allocations: 3.938 kB / 282.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.783e-05/0.01018, allocations: 8 kB / 282.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.01021, allocations: 8.047 kB / 282.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.01023, allocations: 8 kB / 282.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.926e-05/0.01032, allocations: 197.1 kB / 282.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01032, allocations: 0 / 282.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001706/0.01049, allocations: 35.98 kB / 282.8 MB, free: 11.38 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.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 (12): * Single equations (assignments): 10 * 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.0008482/0.01134, allocations: 396 kB / 283.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001109/0.01145, allocations: 47.59 kB / 283.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.01145, allocations: 0 / 283.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.694e-05/0.01149, allocations: 31.61 kB / 283.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.01174, allocations: 68.08 kB / 283.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.01213, allocations: 325.2 kB / 283.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.661e-05/0.01218, allocations: 88.14 kB / 283.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.335e-05/0.01222, allocations: 21.48 kB / 283.7 MB, free: 10.49 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.027e-05/0.01231, allocations: 106.2 kB / 283.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01231, allocations: 0 / 283.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of Templates: time 0.005344/0.01766, allocations: 2.976 MB / 286.8 MB, free: 7.473 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.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.934750539250672]