Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.001441/0.001441, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009251/0.0009251, allocations: 173.9 kB / 24.92 MB, free: 8.723 MB / 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 0.9134/0.9134, allocations: 177.1 MB / 205.3 MB, free: 5.102 MB / 186.7 MB " [Timeout remaining time 179] 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.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 273.5 MB, free: 1.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.337e-05, allocations: 6.312 kB / 273.5 MB, free: 1.156 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.00298/0.003003, allocations: 1.883 MB / 275.3 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.004222, allocations: 0.697 MB / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.004347, allocations: 15.81 kB / 276.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.004482, allocations: 19.8 kB / 276.1 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.004612, allocations: 27.8 kB / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.005014, allocations: 107.6 kB / 276.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.005159, allocations: 143.5 kB / 276.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.005263, allocations: 50.55 kB / 276.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.005399, allocations: 83.73 kB / 276.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.922e-05/0.005458, allocations: 39.83 kB / 276.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.005477, allocations: 8 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.729e-05/0.005514, allocations: 16 kB / 276.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.211e-05/0.005556, allocations: 31.84 kB / 276.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.994e-05/0.005586, allocations: 31.92 kB / 276.6 MB, free: 14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.005724, allocations: 115.4 kB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.005726, allocations: 0 / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.005727, allocations: 4 kB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.855e-06/0.00573, allocations: 0 / 276.7 MB, free: 13.88 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.0003227/0.006053, allocations: 344.3 kB / 277.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.006082, allocations: 12.03 kB / 277.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.847e-05/0.006181, allocations: 28.91 kB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.006363, allocations: 182.2 kB / 277.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.006379, allocations: 8.562 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.006393, allocations: 8.375 kB / 277.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.006647, allocations: 254.5 kB / 277.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.006654, allocations: 7.938 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.006663, allocations: 8 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.006669, allocations: 7.984 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.52e-05/0.006704, allocations: 23.92 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002292/0.006934, allocations: 271 kB / 277.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.00708, allocations: 148.8 kB / 278 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.225e-05/0.007132, allocations: 64.31 kB / 278.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.007149, allocations: 8 kB / 278.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.889e-05/0.007168, allocations: 46.5 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.082e-06/0.007169, allocations: 0 / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001727/0.007341, allocations: 117.4 kB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.93e-05/0.007411, allocations: 195.9 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.141e-05/0.007492, allocations: 175.3 kB / 278.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.007503, allocations: 25.7 kB / 278.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.007552, allocations: 96.48 kB / 278.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.007568, allocations: 15.89 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.007593, allocations: 18.08 kB / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.556e-05/0.007659, allocations: 326.8 kB / 279.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.264e-06/0.007666, allocations: 0 / 279.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.032e-05/0.007696, allocations: 57.14 kB / 279.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.708e-05/0.007733, allocations: 34.48 kB / 279.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.007735, allocations: 0 / 279.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.422e-05/0.007789, allocations: 49.56 kB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.007799, allocations: 8 kB / 279.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.007803, allocations: 4.125 kB / 279.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.007815, allocations: 3.984 kB / 279.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.207e-05/0.007857, allocations: 8 kB / 279.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.007861, allocations: 3.984 kB / 279.2 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.862e-05/0.007889, allocations: 4 kB / 279.2 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.007894, allocations: 0 / 279.2 MB, free: 11.06 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 7.087e-05/0.007965, allocations: 128.5 kB / 279.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.743e-05/0.008052, allocations: 93.47 kB / 279.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/0.008082, allocations: 17.47 kB / 279.5 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.008085, allocations: 4 kB / 279.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.008087, allocations: 4.031 kB / 279.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.00809, allocations: 7.984 kB / 279.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.008257, allocations: 93.81 kB / 279.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.008261, allocations: 4 kB / 279.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.227e-05/0.008323, allocations: 31.98 kB / 279.6 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.008327, allocations: 7.938 kB / 279.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.008334, allocations: 4.328 kB / 279.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.008336, allocations: 7.938 kB / 279.6 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.008337, allocations: 0 / 279.6 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.91e-05/0.008426, allocations: 241.4 kB / 279.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.845e-05/0.008465, allocations: 27.83 kB / 279.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.008485, allocations: 15.92 kB / 279.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.363e-05/0.008548, allocations: 4 kB / 279.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.025e-05/0.008568, allocations: 3.938 kB / 279.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.008575, allocations: 11.98 kB / 279.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.468e-05/0.00861, allocations: 45.86 kB / 280 MB, free: 10.26 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00861, allocations: 0 / 280 MB, free: 10.26 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001561/0.008766, allocations: 20 kB / 280 MB, free: 10.24 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 6.719e-05/0.008833, allocations: 84.45 kB / 280.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.401e-05/0.008907, allocations: 40.77 kB / 280.1 MB, free: 10.1 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.008912, allocations: 11.94 kB / 280.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.258e-05/0.008924, allocations: 12.8 kB / 280.1 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.009197, allocations: 79.81 kB / 280.2 MB, free: 9.996 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004514/0.009648, allocations: 300.3 kB / 280.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.693e-05/0.009695, allocations: 83.83 kB / 280.6 MB, free: 9.562 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.358e-05/0.009729, allocations: 13.14 kB / 280.6 MB, free: 9.547 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.186e-05/0.009811, allocations: 79.34 kB / 280.7 MB, free: 9.469 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.009811, allocations: 0 / 280.7 MB, free: 9.469 MB / 266.7 MB Notification: Performance of Templates: time 0.003241/0.01305, allocations: 1.928 MB / 282.6 MB, free: 7.594 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.490601629950106]