Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009641/0.0009641, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009137/0.0009137, allocations: 164.4 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9187/0.9187, allocations: 177 MB / 205.2 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 3.984 kB / 273.4 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06e-05/1.276e-05, allocations: 6.25 kB / 273.4 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.002305/0.002318, allocations: 1.963 MB / 275.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.003717, allocations: 1.203 MB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.003824, allocations: 7.938 kB / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004755/0.0043, allocations: 155.4 kB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002923/0.004592, allocations: 163.3 kB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.004942, allocations: 171.4 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.005142, allocations: 199.3 kB / 277.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.91e-05/0.005221, allocations: 30.44 kB / 277.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.005337, allocations: 107.7 kB / 277.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.973e-05/0.005427, allocations: 67.78 kB / 277.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.005444, allocations: 12 kB / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.005553, allocations: 63.83 kB / 277.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.501e-05/0.005608, allocations: 39.84 kB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.408e-05/0.005652, allocations: 43.8 kB / 277.6 MB, free: 13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.005854, allocations: 167.3 kB / 277.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.005855, allocations: 0 / 277.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.005857, allocations: 4 kB / 277.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.00586, allocations: 4 kB / 277.8 MB, free: 12.82 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007022/0.006562, allocations: 421.3 kB / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.006593, allocations: 15.98 kB / 278.2 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.006634, allocations: 16.92 kB / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.006835, allocations: 221.4 kB / 278.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.006848, allocations: 4.375 kB / 278.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.006863, allocations: 12.38 kB / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/0.007175, allocations: 136.9 kB / 278.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.007187, allocations: 4.172 kB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.007195, allocations: 384 / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.007203, allocations: 7.938 kB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.893e-05/0.007242, allocations: 22.75 kB / 278.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.007562, allocations: 287.7 kB / 278.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.007687, allocations: 157.2 kB / 279 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.252e-05/0.007719, allocations: 39.42 kB / 279.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.007736, allocations: 4 kB / 279.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000105/0.007841, allocations: 91.75 kB / 279.2 MB, free: 11.24 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 8.72e-07/0.007842, allocations: 0 / 279.2 MB, free: 11.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001519/0.007994, allocations: 100.3 kB / 279.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.008051, allocations: 136.9 kB / 279.4 MB, free: 10.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.008211, allocations: 234.7 kB / 279.6 MB, free: 10.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.008229, allocations: 29.64 kB / 279.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.743e-05/0.008277, allocations: 104.9 kB / 279.8 MB, free: 10.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.008301, allocations: 19.8 kB / 279.8 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.008339, allocations: 29.69 kB / 279.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.357e-05/0.008432, allocations: 330.8 kB / 280.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.878e-05/0.008451, allocations: 11.08 kB / 280.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.656e-05/0.008487, allocations: 57.12 kB / 280.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.065e-05/0.008538, allocations: 60.17 kB / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.00854, allocations: 0 / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.168e-05/0.008612, allocations: 68.44 kB / 280.3 MB, free: 9.961 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.008626, allocations: 11.06 kB / 280.3 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.008632, allocations: 0 / 280.3 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.008646, allocations: 4 kB / 280.3 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.508e-05/0.008701, allocations: 8 kB / 280.3 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.008703, allocations: 0 / 280.3 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.242e-05/0.008746, allocations: 11.98 kB / 280.4 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.008755, allocations: 4 kB / 280.4 MB, free: 9.926 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 6.702e-05/0.008822, allocations: 128.6 kB / 280.5 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/0.008861, allocations: 57.55 kB / 280.5 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.918e-05/0.008951, allocations: 79.38 kB / 280.6 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.008953, allocations: 0 / 280.6 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.008955, allocations: 4 kB / 280.6 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.008958, allocations: 0 / 280.6 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.00906, allocations: 113.8 kB / 280.7 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.009061, allocations: 0 / 280.7 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.972e-05/0.009081, allocations: 8 kB / 280.7 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.009083, allocations: 4.062 kB / 280.7 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.009091, allocations: 11.98 kB / 280.8 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.009094, allocations: 3.938 kB / 280.8 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.009095, allocations: 8 kB / 280.8 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.28e-05/0.009178, allocations: 109.3 kB / 280.9 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.009224, allocations: 35.78 kB / 280.9 MB, free: 9.301 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.009241, allocations: 0 / 280.9 MB, free: 9.301 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.442e-05/0.009275, allocations: 15.92 kB / 280.9 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/0.0093, allocations: 4 kB / 280.9 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.009311, allocations: 7.984 kB / 280.9 MB, free: 9.273 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.589e-05/0.009387, allocations: 89.61 kB / 281 MB, free: 9.184 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009387, allocations: 0 / 281 MB, free: 9.184 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001353/0.009522, allocations: 28 kB / 281 MB, free: 9.156 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.00105/0.01057, allocations: 0.4977 MB / 281.5 MB, free: 8.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.232e-05/0.01066, allocations: 48.77 kB / 281.6 MB, free: 8.789 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.01067, allocations: 0 / 281.6 MB, free: 8.789 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.431e-05/0.01074, allocations: 36.84 kB / 281.6 MB, free: 8.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.01094, allocations: 64.53 kB / 281.7 MB, free: 8.695 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.01129, allocations: 320.6 kB / 282 MB, free: 8.348 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.917e-05/0.01133, allocations: 79.92 kB / 282.1 MB, free: 8.25 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.595e-05/0.01137, allocations: 29.59 kB / 282.1 MB, free: 8.215 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.671e-05/0.01145, allocations: 79.61 kB / 282.2 MB, free: 8.137 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01145, allocations: 4 kB / 282.2 MB, free: 8.133 MB / 266.7 MB Notification: Performance of Templates: time 0.004512/0.01596, allocations: 2.921 MB / 285.1 MB, free: 5.262 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.6804040418937802]