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.001878/0.001878, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.00225/0.00225, allocations: 161.6 kB / 24.27 MB, free: 168 kB / 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 1.583/1.583, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.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.202e-06/1.202e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.496e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003628/0.003653, allocations: 1.92 MB / 274.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002287/0.00594, allocations: 1.149 MB / 275.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.00606, allocations: 3.938 kB / 275.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000687/0.006747, allocations: 167.3 kB / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000448/0.007195, allocations: 155.3 kB / 275.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004772/0.007672, allocations: 175.3 kB / 275.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000274/0.007946, allocations: 191.5 kB / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.008057, allocations: 29.72 kB / 276.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.008242, allocations: 107.7 kB / 276.2 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.008373, allocations: 71.73 kB / 276.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.008403, allocations: 12 kB / 276.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.008553, allocations: 59.89 kB / 276.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.335e-05/0.008636, allocations: 47.84 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.962e-05/0.008716, allocations: 39.84 kB / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003807/0.009096, allocations: 219.2 kB / 276.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.009102, allocations: 4 kB / 276.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.009103, allocations: 0 / 276.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.009109, allocations: 0 / 276.6 MB, free: 13.48 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.0008797/0.009989, allocations: 458.6 kB / 277.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.01003, allocations: 12.03 kB / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.386e-05/0.01012, allocations: 32.78 kB / 277.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.01051, allocations: 212.9 kB / 277.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.01053, allocations: 8.312 kB / 277.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.01055, allocations: 8.375 kB / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000375/0.01092, allocations: 159.2 kB / 277.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.01093, allocations: 7.938 kB / 277.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.01094, allocations: 0 / 277.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.01095, allocations: 0 / 277.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.01109, allocations: 47.91 kB / 277.6 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005607/0.01165, allocations: 378.3 kB / 277.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.01195, allocations: 134.5 kB / 278.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.01208, allocations: 63.41 kB / 278.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.0121, allocations: 4 kB / 278.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.0123, allocations: 92.98 kB / 278.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.0123, allocations: 0 / 278.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004469/0.01275, allocations: 173.4 kB / 278.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.01286, allocations: 136.5 kB / 278.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/0.01321, allocations: 277.8 kB / 278.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.01323, allocations: 30.08 kB / 278.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.01334, allocations: 120.5 kB / 278.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.01337, allocations: 23.88 kB / 279 MB, free: 10.9 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.508e-05/0.01342, allocations: 29.67 kB / 279 MB, free: 10.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.0136, allocations: 330.8 kB / 279.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.192e-05/0.01367, allocations: 19.94 kB / 279.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.01378, allocations: 73.12 kB / 279.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.01393, allocations: 78.69 kB / 279.5 MB, free: 10.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.01393, allocations: 0 / 279.5 MB, free: 10.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000231/0.01416, allocations: 109.5 kB / 279.6 MB, free: 10.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.01418, allocations: 8 kB / 279.6 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.01419, allocations: 0 / 279.6 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.0142, allocations: 0 / 279.6 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.858e-05/0.01429, allocations: 15.98 kB / 279.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.0143, allocations: 0 / 279.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.584e-05/0.01436, allocations: 7.938 kB / 279.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.01437, allocations: 4 kB / 279.6 MB, free: 10.19 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 0.0001472/0.01452, allocations: 146.4 kB / 279.8 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.01463, allocations: 77.61 kB / 279.8 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/0.01491, allocations: 119.4 kB / 280 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.01492, allocations: 0 / 280 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.01492, allocations: 4 kB / 280 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.01493, allocations: 3.984 kB / 280 MB, free: 9.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.01514, allocations: 173.1 kB / 280.1 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01515, allocations: 0 / 280.1 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.235e-05/0.01518, allocations: 4 kB / 280.1 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.01518, allocations: 4 kB / 280.1 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.01519, allocations: 0 / 280.1 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.0152, allocations: 8.062 kB / 280.2 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.0152, allocations: 0 / 280.2 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.01552, allocations: 191.3 kB / 280.3 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/0.0158, allocations: 31.88 kB / 280.4 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.01583, allocations: 8.062 kB / 280.4 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.881e-05/0.0159, allocations: 8 kB / 280.4 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.01596, allocations: 7.984 kB / 280.4 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.01597, allocations: 4 kB / 280.4 MB, free: 9.332 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002415/0.01622, allocations: 205.2 kB / 280.6 MB, free: 9.133 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01622, allocations: 0 / 280.6 MB, free: 9.133 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002653/0.01648, allocations: 35.92 kB / 280.6 MB, free: 9.098 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.001956/0.01844, allocations: 451.2 kB / 281.1 MB, free: 8.836 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.01866, allocations: 71.89 kB / 281.1 MB, free: 8.766 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.01866, allocations: 0 / 281.1 MB, free: 8.766 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.542e-05/0.01876, allocations: 27.98 kB / 281.2 MB, free: 8.738 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.0192, allocations: 86.09 kB / 281.3 MB, free: 8.656 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006772/0.01988, allocations: 351.1 kB / 281.6 MB, free: 8.277 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.02001, allocations: 115.6 kB / 281.7 MB, free: 8.145 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.331e-05/0.02008, allocations: 29.41 kB / 281.7 MB, free: 8.117 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.261e-05/0.02015, allocations: 28.48 kB / 281.8 MB, free: 8.086 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.02015, allocations: 0 / 281.8 MB, free: 8.086 MB / 266.7 MB Notification: Performance of Templates: time 0.007003/0.02715, allocations: 2.692 MB / 284.5 MB, free: 5.441 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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: 4.427891322062351]