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.001961/0.001961, allocations: 89.77 kB / 20.69 MB, free: 1.02 MB / 14.72 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.002322/0.002322, allocations: 157.6 kB / 23.95 MB, free: 4.152 MB / 14.72 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 1.458/1.458, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] 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 1.743e-06/1.743e-06, allocations: 0 / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.94e-05/3.114e-05, allocations: 6.219 kB / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.00401/0.004041, allocations: 1.899 MB / 326.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002611/0.006652, allocations: 1.173 MB / 328.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.006808, allocations: 7.531 kB / 328.1 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006374/0.007445, allocations: 154.8 kB / 328.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004642/0.00791, allocations: 167.8 kB / 328.4 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005143/0.008424, allocations: 172.7 kB / 328.6 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.008718, allocations: 198.4 kB / 328.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.008835, allocations: 26.02 kB / 328.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.009032, allocations: 109.7 kB / 328.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.009176, allocations: 66.64 kB / 329 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.009211, allocations: 13.92 kB / 329 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.009395, allocations: 56.98 kB / 329 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.193e-05/0.009487, allocations: 54.48 kB / 329.1 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.718e-05/0.009564, allocations: 33.7 kB / 329.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000442/0.01001, allocations: 223.4 kB / 329.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.01001, allocations: 1.062 kB / 329.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.01001, allocations: 0.7031 kB / 329.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.01002, allocations: 0 / 329.3 MB, free: 13.89 MB / 302.1 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.0009369/0.01095, allocations: 465.5 kB / 329.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.01099, allocations: 13.73 kB / 329.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.992e-05/0.01106, allocations: 23.05 kB / 329.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003967/0.01146, allocations: 201.7 kB / 330 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.01148, allocations: 4.547 kB / 330 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.0115, allocations: 9.844 kB / 330 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003859/0.01188, allocations: 167.5 kB / 330.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.0119, allocations: 8.125 kB / 330.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.01191, allocations: 5.75 kB / 330.2 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.01192, allocations: 9.078 kB / 330.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.01205, allocations: 43.64 kB / 330.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005712/0.01263, allocations: 376.8 kB / 330.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.01292, allocations: 131.9 kB / 330.8 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.01304, allocations: 60.62 kB / 330.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.01307, allocations: 6.156 kB / 330.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/0.01327, allocations: 98.55 kB / 330.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.713e-06/0.01327, allocations: 0 / 330.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004414/0.01371, allocations: 161.8 kB / 331.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.01382, allocations: 139.7 kB / 331.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/0.01414, allocations: 275.9 kB / 331.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.01417, allocations: 35.14 kB / 331.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.01428, allocations: 119.7 kB / 331.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.0143, allocations: 20.19 kB / 331.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.875e-05/0.01436, allocations: 34.12 kB / 331.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.01453, allocations: 324.2 kB / 332 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.655e-05/0.0146, allocations: 21.98 kB / 332 MB, free: 11.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.0147, allocations: 73.47 kB / 332.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.01484, allocations: 67.59 kB / 332.2 MB, free: 11.42 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01484, allocations: 5.219 kB / 332.2 MB, free: 11.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002124/0.01505, allocations: 109.9 kB / 332.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.01506, allocations: 4.969 kB / 332.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.01507, allocations: 1.312 kB / 332.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.01508, allocations: 0.9688 kB / 332.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.79e-05/0.01516, allocations: 9.75 kB / 332.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.01517, allocations: 5.094 kB / 332.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.158e-05/0.01524, allocations: 12.48 kB / 332.3 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.01525, allocations: 2.656 kB / 332.3 MB, free: 11.33 MB / 302.1 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.0001431/0.0154, allocations: 145.8 kB / 332.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.0155, allocations: 75.88 kB / 332.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.01575, allocations: 114.7 kB / 332.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.01576, allocations: 1.312 kB / 332.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.01576, allocations: 2.469 kB / 332.7 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01576, allocations: 192 / 332.7 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.01598, allocations: 168.4 kB / 332.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01598, allocations: 5.281 kB / 332.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.01602, allocations: 9.812 kB / 332.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.01602, allocations: 18.28 kB / 332.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.01604, allocations: 6.391 kB / 332.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.01604, allocations: 1.188 kB / 332.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.01604, allocations: 1.125 kB / 332.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.01635, allocations: 178.3 kB / 333 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.05e-05/0.01644, allocations: 34.36 kB / 333.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.01648, allocations: 6.375 kB / 333.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.139e-05/0.01655, allocations: 7.234 kB / 333.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.0166, allocations: 8.562 kB / 333.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.01662, allocations: 11.67 kB / 333.1 MB, free: 10.69 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002257/0.01684, allocations: 208.9 kB / 333.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01684, allocations: 0 / 333.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.01713, allocations: 26.72 kB / 333.3 MB, free: 10.55 MB / 302.1 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.001713/0.01884, allocations: 439.3 kB / 333.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.01907, allocations: 69 kB / 333.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01907, allocations: 1.344 kB / 333.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.938e-05/0.01916, allocations: 33.3 kB / 333.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.0196, allocations: 67.36 kB / 333.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006668/0.02026, allocations: 349.3 kB / 334.3 MB, free: 9.969 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.02044, allocations: 123.1 kB / 334.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.404e-05/0.02052, allocations: 30.66 kB / 334.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.467e-05/0.02058, allocations: 19.91 kB / 334.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of SimCode: time 5.71e-07/0.02058, allocations: 0 / 334.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of Templates: time 0.006886/0.02746, allocations: 2.666 MB / 337.1 MB, free: 8.488 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.416355490684509]