Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.001416/0.001416, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001643/0.001643, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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.9728/0.9728, allocations: 177 MB / 204.8 MB, free: 5.578 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.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.762e-05, allocations: 2.312 kB / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002416/0.002444, allocations: 1.658 MB / 274.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008369/0.003281, allocations: 0.5685 MB / 275.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.28e-05/0.003373, allocations: 4 kB / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.034e-05/0.003434, allocations: 7.875 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.003593, allocations: 11.86 kB / 275.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.003913, allocations: 63.7 kB / 275.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.004024, allocations: 59.77 kB / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.004125, allocations: 15.98 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.004267, allocations: 43.89 kB / 275.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.758e-05/0.004315, allocations: 15.92 kB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.004333, allocations: 4 kB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.144e-05/0.004374, allocations: 11.94 kB / 275.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.594e-05/0.00442, allocations: 15.92 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.421e-05/0.004444, allocations: 15.92 kB / 275.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.004575, allocations: 51.77 kB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.004578, allocations: 4 kB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.00458, allocations: 0 / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.349e-06/0.004584, allocations: 0 / 275.5 MB, free: 14.86 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004142/0.004998, allocations: 416.2 kB / 275.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.005042, allocations: 11.98 kB / 275.9 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.005187, allocations: 24.88 kB / 275.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.005382, allocations: 164.8 kB / 276.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.005392, allocations: 384 / 276.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.005401, allocations: 4.375 kB / 276.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.005648, allocations: 149 kB / 276.2 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.005655, allocations: 3.938 kB / 276.2 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.005665, allocations: 0 / 276.2 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.005672, allocations: 4 kB / 276.2 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.071e-05/0.005703, allocations: 15.92 kB / 276.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.006003, allocations: 290.9 kB / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.211e-05/0.006095, allocations: 116.3 kB / 276.6 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.032e-05/0.006135, allocations: 50.81 kB / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.006157, allocations: 11.97 kB / 276.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.006179, allocations: 37.33 kB / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.00618, allocations: 4 kB / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001777/0.006358, allocations: 77.52 kB / 276.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.006409, allocations: 128.5 kB / 276.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.006512, allocations: 209.3 kB / 277.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.006522, allocations: 26.2 kB / 277.2 MB, free: 12.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.677e-05/0.006569, allocations: 134.9 kB / 277.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.006587, allocations: 19.88 kB / 277.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.006614, allocations: 23.33 kB / 277.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.006718, allocations: 0.4883 MB / 277.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.006732, allocations: 3.984 kB / 277.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.724e-05/0.006749, allocations: 19.38 kB / 277.9 MB, free: 12.15 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.199e-05/0.006781, allocations: 23.31 kB / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.006783, allocations: 0 / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.882e-05/0.006842, allocations: 53.69 kB / 277.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.006863, allocations: 4 kB / 277.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.006868, allocations: 7.938 kB / 277.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.006883, allocations: 0 / 277.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.426e-05/0.006948, allocations: 4 kB / 278 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.006952, allocations: 0 / 278 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.879e-05/0.006971, allocations: 3.953 kB / 278 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.006978, allocations: 4 kB / 278 MB, free: 12.04 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.033e-05/0.007048, allocations: 164.5 kB / 278.1 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-05/0.007102, allocations: 57.66 kB / 278.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.617e-05/0.007128, allocations: 15.95 kB / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.062e-05/0.007208, allocations: 4 kB / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.007213, allocations: 0 / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.007215, allocations: 0 / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.00733, allocations: 136.5 kB / 278.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.007333, allocations: 4 kB / 278.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.691e-05/0.00737, allocations: 12 kB / 278.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.007373, allocations: 4 kB / 278.3 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.007379, allocations: 0 / 278.3 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.007381, allocations: 0 / 278.3 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.007384, allocations: 15.98 kB / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.007504, allocations: 234.9 kB / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.08e-05/0.007535, allocations: 19.94 kB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.007547, allocations: 0 / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.629e-05/0.007583, allocations: 4 kB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.857e-05/0.007612, allocations: 4 kB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.007616, allocations: 4 kB / 278.6 MB, free: 11.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.024e-05/0.007666, allocations: 147.2 kB / 278.8 MB, free: 11.15 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007666, allocations: 0 / 278.8 MB, free: 11.15 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001485/0.007815, allocations: 7.953 kB / 278.8 MB, free: 11.14 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 7.288e-05/0.007888, allocations: 107.2 kB / 278.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.37e-05/0.007971, allocations: 27.61 kB / 278.9 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.007974, allocations: 4 kB / 278.9 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.45e-05/0.007988, allocations: 15.62 kB / 278.9 MB, free: 10.97 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.008252, allocations: 29.75 kB / 279 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004537/0.008706, allocations: 212.1 kB / 279.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.931e-05/0.008745, allocations: 63.34 kB / 279.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.005e-05/0.008775, allocations: 4 kB / 279.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.008803, allocations: 12.44 kB / 279.2 MB, free: 10.59 MB / 266.7 MB Notification: Performance of SimCode: time 1.152e-06/0.008804, allocations: 4 kB / 279.2 MB, free: 10.59 MB / 266.7 MB Notification: Performance of Templates: time 0.002713/0.01152, allocations: 0.802 MB / 280 MB, free: 9.801 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/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.59883454721421]