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.001999/0.001999, allocations: 89.14 kB / 20.68 MB, free: 1.023 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.002191/0.002191, allocations: 158.8 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.511/1.511, allocations: 177 MB / 204.1 MB, free: 9.152 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.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.954e-06/1.954e-06, allocations: 0 / 325 MB, free: 488 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.767e-05/2.963e-05, allocations: 2.281 kB / 325 MB, free: 484 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.005112/0.005142, allocations: 1.84 MB / 326.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002126/0.007268, allocations: 0.6629 MB / 327.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.007433, allocations: 11.75 kB / 327.5 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.00761, allocations: 16.84 kB / 327.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001866/0.007797, allocations: 25.88 kB / 327.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006256/0.008423, allocations: 115.1 kB / 327.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003295/0.008752, allocations: 158 kB / 327.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.008945, allocations: 37.61 kB / 327.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002703/0.009215, allocations: 84.95 kB / 328 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.00933, allocations: 36.56 kB / 328 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.032e-05/0.00937, allocations: 13.88 kB / 328 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.815e-05/0.009449, allocations: 12.38 kB / 328 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.009556, allocations: 31.98 kB / 328.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.108e-05/0.009627, allocations: 37.02 kB / 328.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003683/0.009996, allocations: 148.1 kB / 328.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.01, allocations: 0 / 328.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.01, allocations: 7.906 kB / 328.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.01002, allocations: 0 / 328.2 MB, free: 14.41 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009334/0.01095, allocations: 376.5 kB / 328.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.517e-05/0.01102, allocations: 14.42 kB / 328.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002514/0.01127, allocations: 25.39 kB / 328.7 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006023/0.01187, allocations: 198.1 kB / 328.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.0119, allocations: 8.875 kB / 328.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/0.01193, allocations: 6.25 kB / 328.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.01303, allocations: 319.4 kB / 329.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.01305, allocations: 0.5625 kB / 329.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.01308, allocations: 9.281 kB / 329.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.01309, allocations: 3.031 kB / 329.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003704/0.01346, allocations: 73.38 kB / 329.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007307/0.01419, allocations: 353.5 kB / 329.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006872/0.01488, allocations: 211.5 kB / 329.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/0.01519, allocations: 114.2 kB / 329.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.01522, allocations: 5.016 kB / 329.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.064e-05/0.01528, allocations: 43.19 kB / 330 MB, free: 13.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 2.415e-06/0.01528, allocations: 0 / 330 MB, free: 13.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0009688/0.01625, allocations: 221.9 kB / 330.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002044/0.01646, allocations: 196.5 kB / 330.4 MB, free: 12.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/0.01677, allocations: 185.5 kB / 330.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.941e-05/0.01682, allocations: 30.77 kB / 330.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.01694, allocations: 108.9 kB / 330.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.01697, allocations: 7.25 kB / 330.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.811e-05/0.01704, allocations: 24.92 kB / 330.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000216/0.01726, allocations: 324.3 kB / 331 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.863e-05/0.01732, allocations: 9.953 kB / 331.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.01745, allocations: 67.33 kB / 331.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.01761, allocations: 45.95 kB / 331.2 MB, free: 12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01761, allocations: 0 / 331.2 MB, free: 12 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002491/0.01786, allocations: 74.62 kB / 331.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.01788, allocations: 6.281 kB / 331.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.01789, allocations: 1.031 kB / 331.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.01791, allocations: 5.312 kB / 331.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.01801, allocations: 12.89 kB / 331.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.01802, allocations: 1.25 kB / 331.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.137e-05/0.01811, allocations: 5.297 kB / 331.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.01812, allocations: 1.766 kB / 331.3 MB, free: 11.94 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: 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 0.0001752/0.0183, allocations: 129.8 kB / 331.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00049/0.01879, allocations: 146.4 kB / 331.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.695e-05/0.01886, allocations: 21.72 kB / 331.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.01886, allocations: 7.141 kB / 331.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.01887, allocations: 1.656 kB / 331.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.01888, allocations: 2.438 kB / 331.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004223/0.0193, allocations: 157.8 kB / 331.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.01931, allocations: 0.9375 kB / 331.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.01954, allocations: 39.55 kB / 331.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.01955, allocations: 2.328 kB / 331.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.01957, allocations: 6.875 kB / 331.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.01957, allocations: 2.859 kB / 331.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.01958, allocations: 1.766 kB / 331.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007453/0.02032, allocations: 367.1 kB / 332.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.02045, allocations: 36.14 kB / 332.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.02049, allocations: 3.391 kB / 332.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/0.02074, allocations: 13.83 kB / 332.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.02079, allocations: 2.719 kB / 332.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.02081, allocations: 13.55 kB / 332.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001908/0.021, allocations: 135.8 kB / 332.3 MB, free: 11.15 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.021, allocations: 0 / 332.3 MB, free: 11.15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005082/0.02151, allocations: 22.09 kB / 332.4 MB, free: 11.14 MB / 302.1 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 0.0001727/0.02168, allocations: 103.3 kB / 332.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003931/0.02208, allocations: 70.67 kB / 332.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.02208, allocations: 0 / 332.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.131e-05/0.02215, allocations: 15.42 kB / 332.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009802/0.02313, allocations: 112.5 kB / 332.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009352/0.02407, allocations: 317 kB / 333 MB, free: 10.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.02425, allocations: 117 kB / 333.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.56e-05/0.02432, allocations: 19.19 kB / 333.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.426e-05/0.02439, allocations: 15.22 kB / 333.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of SimCode: time 6.31e-07/0.02439, allocations: 0 / 333.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of Templates: time 0.008464/0.03285, allocations: 1.776 MB / 334.9 MB, free: 9.695 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.554704442620277]