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.00169/0.00169, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001441/0.001441, allocations: 170.4 kB / 24.82 MB, free: 9.273 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.9924/0.9924, allocations: 177.1 MB / 205.3 MB, free: 5.516 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 2.044e-06/2.044e-06, allocations: 0 / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.764e-05/2.969e-05, allocations: 6.25 kB / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.00354/0.00357, allocations: 1.878 MB / 275.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.004924, allocations: 0.6738 MB / 276 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.005087, allocations: 11.88 kB / 276 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.005247, allocations: 23.73 kB / 276 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.005407, allocations: 31.78 kB / 276 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.005848, allocations: 111.6 kB / 276.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.006051, allocations: 135.6 kB / 276.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.006204, allocations: 53.88 kB / 276.3 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.006413, allocations: 87.73 kB / 276.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.883e-05/0.006492, allocations: 31.84 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.006517, allocations: 8 kB / 276.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.394e-05/0.006571, allocations: 19.98 kB / 276.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.851e-05/0.006629, allocations: 27.91 kB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.00667, allocations: 35.86 kB / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.006872, allocations: 107.5 kB / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.006875, allocations: 0 / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.006876, allocations: 0 / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.00688, allocations: 0 / 276.6 MB, free: 14.05 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.0005133/0.007394, allocations: 483.9 kB / 277.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.007437, allocations: 16.02 kB / 277.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.007589, allocations: 24.84 kB / 277.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.007835, allocations: 205 kB / 277.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.007859, allocations: 8.562 kB / 277.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.007873, allocations: 4.375 kB / 277.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003656/0.008239, allocations: 277.3 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.008247, allocations: 0 / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.008259, allocations: 8 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.008265, allocations: 0 / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.322e-05/0.008318, allocations: 27.91 kB / 277.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.008716, allocations: 438.2 kB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.008962, allocations: 195.3 kB / 278.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.361e-05/0.009046, allocations: 82.45 kB / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.009072, allocations: 7.984 kB / 278.4 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.009101, allocations: 49.38 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.009102, allocations: 0 / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002815/0.009383, allocations: 141.6 kB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001693/0.009553, allocations: 192 kB / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.009705, allocations: 234.5 kB / 279 MB, free: 11.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.009722, allocations: 25.7 kB / 279 MB, free: 11.37 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.205e-05/0.009794, allocations: 155.2 kB / 279.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.009813, allocations: 7.953 kB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.009857, allocations: 31.69 kB / 279.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.01007, allocations: 0.4962 MB / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.421e-05/0.01009, allocations: 0 / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.229e-05/0.01014, allocations: 72.42 kB / 279.8 MB, free: 10.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.458e-05/0.01018, allocations: 39 kB / 279.8 MB, free: 10.51 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.01019, allocations: 3.938 kB / 279.8 MB, free: 10.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.198e-05/0.01028, allocations: 57.58 kB / 279.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.01029, allocations: 4 kB / 279.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.0103, allocations: 8.125 kB / 279.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.01031, allocations: 0 / 279.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.222e-05/0.01037, allocations: 11.94 kB / 279.9 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.01038, allocations: 0 / 279.9 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.01051, allocations: 7.984 kB / 279.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.01052, allocations: 4 kB / 279.9 MB, free: 10.41 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 0.0001182/0.01064, allocations: 160.5 kB / 280 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.0108, allocations: 117.3 kB / 280.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.99e-05/0.01084, allocations: 21.47 kB / 280.2 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.01085, allocations: 8.031 kB / 280.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.01085, allocations: 0 / 280.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.01086, allocations: 7.984 kB / 280.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.01103, allocations: 129.1 kB / 280.3 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01104, allocations: 0 / 280.3 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.038e-05/0.01113, allocations: 35.92 kB / 280.4 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.01113, allocations: 7.938 kB / 280.4 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.01114, allocations: 4 kB / 280.4 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.01115, allocations: 7.984 kB / 280.4 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.01115, allocations: 3.984 kB / 280.4 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.01131, allocations: 342 kB / 280.7 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.952e-05/0.01138, allocations: 43.75 kB / 280.8 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.0114, allocations: 8 kB / 280.8 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.01152, allocations: 4 kB / 280.8 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.01155, allocations: 7.984 kB / 280.8 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.01155, allocations: 4 kB / 280.8 MB, free: 9.441 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.018e-05/0.01162, allocations: 164.2 kB / 280.9 MB, free: 9.281 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01162, allocations: 0 / 280.9 MB, free: 9.281 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001754/0.0118, allocations: 20 kB / 281 MB, free: 9.262 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 0.0001022/0.0119, allocations: 111.2 kB / 281.1 MB, free: 9.141 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.063e-05/0.01199, allocations: 43.88 kB / 281.1 MB, free: 9.094 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01199, allocations: 0 / 281.1 MB, free: 9.094 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.468e-05/0.01201, allocations: 15.67 kB / 281.1 MB, free: 9.074 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.01236, allocations: 91.83 kB / 281.2 MB, free: 8.984 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004993/0.01286, allocations: 313.1 kB / 281.5 MB, free: 8.637 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.873e-05/0.01291, allocations: 75.83 kB / 281.6 MB, free: 8.543 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.634e-05/0.01295, allocations: 13.14 kB / 281.6 MB, free: 8.531 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.059e-05/0.01304, allocations: 106.2 kB / 281.7 MB, free: 8.426 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01304, allocations: 0 / 281.7 MB, free: 8.426 MB / 266.7 MB Notification: Performance of Templates: time 0.003271/0.01631, allocations: 1.943 MB / 283.7 MB, free: 6.531 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.7586356131359935]