Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000987/0.000987, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9652/0.9652, allocations: 173.3 MB / 201.1 MB, free: 9.352 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 268 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.707e-05, allocations: 6.25 kB / 268 MB, free: 6.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.01041/0.01043, allocations: 1.945 MB / 269.9 MB, free: 4.492 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.01249, allocations: 1.056 MB / 271 MB, free: 3.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.01263, allocations: 7.938 kB / 271 MB, free: 3.422 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007457/0.01337, allocations: 155.4 kB / 271.2 MB, free: 3.27 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.01369, allocations: 123.5 kB / 271.3 MB, free: 3.148 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005428/0.01424, allocations: 195.3 kB / 271.5 MB, free: 2.957 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003986/0.01463, allocations: 195.4 kB / 271.7 MB, free: 2.766 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.01477, allocations: 33.72 kB / 271.7 MB, free: 2.73 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.01494, allocations: 103.7 kB / 271.8 MB, free: 2.629 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.01506, allocations: 67.8 kB / 271.9 MB, free: 2.562 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.01509, allocations: 8 kB / 271.9 MB, free: 2.555 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.01522, allocations: 59.95 kB / 271.9 MB, free: 2.496 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.921e-05/0.01529, allocations: 43.8 kB / 272 MB, free: 2.453 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.882e-05/0.01535, allocations: 39.84 kB / 272 MB, free: 2.414 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.01563, allocations: 167.3 kB / 272.2 MB, free: 2.25 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.01563, allocations: 0 / 272.2 MB, free: 2.25 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01563, allocations: 0 / 272.2 MB, free: 2.25 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.01564, allocations: 3.938 kB / 272.2 MB, free: 2.246 MB / 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.0007084/0.01635, allocations: 0.5362 MB / 272.7 MB, free: 1.668 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.01639, allocations: 12.03 kB / 272.7 MB, free: 1.656 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.345e-05/0.01648, allocations: 28.8 kB / 272.7 MB, free: 1.629 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.01681, allocations: 220.3 kB / 273 MB, free: 1.383 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.01684, allocations: 8.375 kB / 273 MB, free: 1.375 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.01685, allocations: 4.375 kB / 273 MB, free: 1.371 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003151/0.01717, allocations: 164.2 kB / 273.1 MB, free: 1.18 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.01718, allocations: 3.938 kB / 273.1 MB, free: 1.176 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.01719, allocations: 3.938 kB / 273.1 MB, free: 1.172 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.0172, allocations: 0 / 273.1 MB, free: 1.172 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.668e-05/0.01726, allocations: 27.97 kB / 273.2 MB, free: 1.145 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.01778, allocations: 473.9 kB / 273.6 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.01798, allocations: 148.4 kB / 273.8 MB, free: 448 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.648e-05/0.01805, allocations: 58.67 kB / 273.8 MB, free: 372 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.01807, allocations: 8 kB / 273.8 MB, free: 364 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001128/0.01818, allocations: 92.34 kB / 273.9 MB, free: 248 kB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.01818, allocations: 0 / 273.9 MB, free: 248 kB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.000225/0.01841, allocations: 129.5 kB / 274.1 MB, free: 112 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/0.01848, allocations: 140.8 kB / 274.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.01866, allocations: 288.3 kB / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.01868, allocations: 25.7 kB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.612e-05/0.01874, allocations: 171.1 kB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.01877, allocations: 23.89 kB / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.0188, allocations: 31.38 kB / 274.7 MB, free: 15.37 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004594/0.01926, allocations: 0.504 MB / 275.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.368e-05/0.01928, allocations: 4 kB / 275.2 MB, free: 14.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.857e-05/0.01933, allocations: 76.44 kB / 275.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.644e-05/0.01939, allocations: 59.19 kB / 275.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.01939, allocations: 4.031 kB / 275.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001011/0.01949, allocations: 97.47 kB / 275.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.0195, allocations: 4 kB / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.01951, allocations: 3.938 kB / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.01952, allocations: 7.984 kB / 275.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.887e-05/0.01958, allocations: 11.94 kB / 275.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.01958, allocations: 0 / 275.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.686e-05/0.01962, allocations: 7.984 kB / 275.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.01963, allocations: 4 kB / 275.5 MB, free: 14.54 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 7.042e-05/0.0197, allocations: 168.6 kB / 275.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-05/0.01975, allocations: 73.48 kB / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.01987, allocations: 91.45 kB / 275.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01987, allocations: 0 / 275.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.01988, allocations: 0 / 275.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.01988, allocations: 7.984 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.02001, allocations: 180.5 kB / 276 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.02001, allocations: 0 / 276 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.384e-05/0.02004, allocations: 15.92 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.02004, allocations: 64 / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.02005, allocations: 8 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.02005, allocations: 0 / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.02005, allocations: 0 / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.02019, allocations: 191.1 kB / 276.2 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.824e-05/0.02024, allocations: 35.84 kB / 276.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.02026, allocations: 0 / 276.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.379e-05/0.02029, allocations: 8 kB / 276.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.02032, allocations: 8.047 kB / 276.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.02033, allocations: 8 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.02044, allocations: 201.1 kB / 276.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02044, allocations: 4 kB / 276.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001905/0.02063, allocations: 35.92 kB / 276.5 MB, free: 13.43 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.0008503/0.02148, allocations: 391.8 kB / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001343/0.02161, allocations: 55.58 kB / 277 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.02161, allocations: 0 / 277 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.162e-05/0.02166, allocations: 35.61 kB / 277 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.02191, allocations: 73.39 kB / 277.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.02226, allocations: 317.5 kB / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.073e-05/0.0223, allocations: 87.97 kB / 277.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.115e-05/0.02234, allocations: 17.48 kB / 277.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.02237, allocations: 16.5 kB / 277.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02237, allocations: 0 / 277.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of Templates: time 0.004487/0.02686, allocations: 2.855 MB / 280.3 MB, free: 9.719 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.861609128769487]