Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.001198/0.001198, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.001361/0.001361, allocations: 164.2 kB / 24.82 MB, free: 8.922 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.9855/0.9855, allocations: 177 MB / 205.1 MB, free: 5.461 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.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.693e-05/1.816e-05, allocations: 5.266 kB / 273.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.00218/0.002198, allocations: 1.887 MB / 275.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008536/0.003051, allocations: 0.6816 MB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.516e-05/0.003147, allocations: 15.88 kB / 275.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.003249, allocations: 19.8 kB / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.574e-05/0.003344, allocations: 27.73 kB / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.003599, allocations: 103.7 kB / 276.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.003727, allocations: 147.5 kB / 276.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.003827, allocations: 45.89 kB / 276.3 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.003961, allocations: 79.75 kB / 276.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.494e-05/0.004016, allocations: 43.81 kB / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.004034, allocations: 12 kB / 276.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.498e-05/0.004069, allocations: 12 kB / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.671e-05/0.004106, allocations: 35.84 kB / 276.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.004135, allocations: 43.84 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.004259, allocations: 95.59 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004261, allocations: 0 / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004261, allocations: 0 / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.966e-06/0.004264, allocations: 0 / 276.6 MB, free: 13.95 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003491/0.004613, allocations: 479.9 kB / 277 MB, free: 13.44 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.849e-05/0.004642, allocations: 11.98 kB / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.501e-05/0.004737, allocations: 36.83 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.004902, allocations: 200.9 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.004915, allocations: 4.562 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.004927, allocations: 12.38 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004074/0.005334, allocations: 276.7 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.005341, allocations: 3.938 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.005352, allocations: 7.984 kB / 277.6 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.005357, allocations: 4 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.631e-05/0.005394, allocations: 23.92 kB / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.005822, allocations: 430.2 kB / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.006071, allocations: 195.3 kB / 278.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.041e-05/0.006131, allocations: 90.52 kB / 278.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.006149, allocations: 11.94 kB / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.006167, allocations: 37.39 kB / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.052e-06/0.006168, allocations: 0 / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001766/0.006345, allocations: 137.4 kB / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/0.006412, allocations: 203.8 kB / 278.7 MB, free: 11.53 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.006557, allocations: 230.4 kB / 278.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.006569, allocations: 25.7 kB / 278.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.058e-05/0.006619, allocations: 159.6 kB / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.123e-05/0.00663, allocations: 11.94 kB / 279.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.006659, allocations: 27.33 kB / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.549e-05/0.006754, allocations: 0.4923 MB / 279.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.677e-06/0.006763, allocations: 4 kB / 279.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.122e-05/0.006794, allocations: 64.44 kB / 279.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.209e-05/0.006826, allocations: 38.98 kB / 279.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.006828, allocations: 3.938 kB / 279.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.918e-05/0.006887, allocations: 61.61 kB / 279.8 MB, free: 10.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.006898, allocations: 11.12 kB / 279.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.006902, allocations: 0 / 279.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.00691, allocations: 0 / 279.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.965e-05/0.006949, allocations: 11.98 kB / 279.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.006952, allocations: 3.938 kB / 279.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.759e-05/0.00698, allocations: 4 kB / 279.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.006983, allocations: 3.938 kB / 279.8 MB, free: 10.3 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.561e-05/0.007049, allocations: 164.5 kB / 280 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.69e-05/0.007146, allocations: 114.3 kB / 280.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.237e-05/0.007178, allocations: 25.48 kB / 280.1 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.007181, allocations: 4 kB / 280.1 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.007184, allocations: 4 kB / 280.1 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.007187, allocations: 0 / 280.1 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.007325, allocations: 133.1 kB / 280.3 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.007329, allocations: 8 kB / 280.3 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.631e-05/0.007395, allocations: 35.91 kB / 280.3 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.007397, allocations: 7.938 kB / 280.3 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.007404, allocations: 4 kB / 280.3 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.007405, allocations: 4.031 kB / 280.3 MB, free: 9.766 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.007406, allocations: 0 / 280.3 MB, free: 9.766 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.007626, allocations: 354.1 kB / 280.7 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.007668, allocations: 35.77 kB / 280.7 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.007684, allocations: 7.938 kB / 280.7 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.007754, allocations: 11.98 kB / 280.7 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-05/0.007771, allocations: 4 kB / 280.7 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.007778, allocations: 4 kB / 280.7 MB, free: 9.324 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.287e-05/0.007831, allocations: 164.3 kB / 280.9 MB, free: 9.164 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007831, allocations: 0 / 280.9 MB, free: 9.164 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000172/0.008003, allocations: 20.03 kB / 280.9 MB, free: 9.145 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 5.606e-05/0.008059, allocations: 95.25 kB / 281 MB, free: 9.039 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.656e-05/0.008135, allocations: 51.58 kB / 281.1 MB, free: 8.984 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.008136, allocations: 0 / 281.1 MB, free: 8.984 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.313e-05/0.00815, allocations: 15.62 kB / 281.1 MB, free: 8.965 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.008463, allocations: 83.75 kB / 281.2 MB, free: 8.883 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/0.008882, allocations: 310.6 kB / 281.5 MB, free: 8.535 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.458e-05/0.008927, allocations: 79.81 kB / 281.5 MB, free: 8.438 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.838e-05/0.008955, allocations: 9.156 kB / 281.5 MB, free: 8.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.693e-05/0.009042, allocations: 106.2 kB / 281.7 MB, free: 8.324 MB / 266.7 MB Notification: Performance of SimCode: time 3.81e-07/0.009042, allocations: 0 / 281.7 MB, free: 8.324 MB / 266.7 MB Notification: Performance of Templates: time 0.003009/0.01205, allocations: 1.95 MB / 283.6 MB, free: 6.418 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.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.5433770064264536]