Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009742/0.0009742, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 147.1 kB / 24.9 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.978/0.978, allocations: 173.4 MB / 201.5 MB, free: 8.75 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 268.5 MB, free: 5.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.721e-05, allocations: 2.312 kB / 268.5 MB, free: 5.965 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002551/0.002578, allocations: 1.923 MB / 270.5 MB, free: 4.027 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009142/0.003492, allocations: 0.6192 MB / 271.1 MB, free: 3.406 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.003609, allocations: 7.938 kB / 271.1 MB, free: 3.398 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.003719, allocations: 23.73 kB / 271.1 MB, free: 3.375 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.894e-05/0.003818, allocations: 31.72 kB / 271.1 MB, free: 3.344 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.004089, allocations: 103.6 kB / 271.2 MB, free: 3.242 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.004228, allocations: 139.6 kB / 271.4 MB, free: 3.105 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.004336, allocations: 46.61 kB / 271.4 MB, free: 3.059 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.004455, allocations: 75.8 kB / 271.5 MB, free: 2.984 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.545e-05/0.00452, allocations: 35.84 kB / 271.5 MB, free: 2.949 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.004542, allocations: 12 kB / 271.5 MB, free: 2.938 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.53e-05/0.004558, allocations: 8 kB / 271.5 MB, free: 2.93 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.502e-05/0.004603, allocations: 35.84 kB / 271.6 MB, free: 2.895 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.004635, allocations: 39.84 kB / 271.6 MB, free: 2.855 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.004771, allocations: 91.59 kB / 271.7 MB, free: 2.766 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.004775, allocations: 0 / 271.7 MB, free: 2.766 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.004777, allocations: 0 / 271.7 MB, free: 2.766 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.004783, allocations: 4 kB / 271.7 MB, free: 2.762 MB / 250.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.0003349/0.005118, allocations: 344.3 kB / 272.1 MB, free: 2.402 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.742e-05/0.005145, allocations: 8.031 kB / 272.1 MB, free: 2.395 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/0.005181, allocations: 20.92 kB / 272.1 MB, free: 2.375 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.00536, allocations: 190.3 kB / 272.3 MB, free: 2.16 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.005375, allocations: 8.562 kB / 272.3 MB, free: 2.152 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.005386, allocations: 12.38 kB / 272.3 MB, free: 2.141 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.005641, allocations: 253.4 kB / 272.5 MB, free: 1.855 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.005648, allocations: 4 kB / 272.5 MB, free: 1.852 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.005656, allocations: 7.938 kB / 272.5 MB, free: 1.844 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.005661, allocations: 4 kB / 272.5 MB, free: 1.84 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.522e-05/0.005696, allocations: 19.92 kB / 272.6 MB, free: 1.82 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002331/0.005929, allocations: 278.9 kB / 272.8 MB, free: 1.52 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.006083, allocations: 140.8 kB / 273 MB, free: 1.336 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.902e-05/0.006133, allocations: 68.33 kB / 273 MB, free: 1.254 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.006149, allocations: 4 kB / 273 MB, free: 1.25 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.006168, allocations: 42.56 kB / 273.1 MB, free: 1.199 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.713e-06/0.00617, allocations: 0 / 273.1 MB, free: 1.199 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001626/0.006333, allocations: 113.5 kB / 273.2 MB, free: 1.082 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/0.006402, allocations: 195.9 kB / 273.4 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.793e-05/0.00649, allocations: 167.4 kB / 273.6 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.006503, allocations: 25.7 kB / 273.6 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/0.006538, allocations: 96.11 kB / 273.7 MB, free: 0.543 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.327e-05/0.006551, allocations: 11.89 kB / 273.7 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.006578, allocations: 22.03 kB / 273.7 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.177e-05/0.006649, allocations: 330.8 kB / 274 MB, free: 176 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-06/0.006658, allocations: 3.984 kB / 274 MB, free: 172 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.728e-05/0.006685, allocations: 48.28 kB / 274.1 MB, free: 108 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.689e-05/0.006712, allocations: 17.66 kB / 274.1 MB, free: 84 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/0.00672, allocations: 4 kB / 274.1 MB, free: 80 kB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.973e-05/0.00677, allocations: 41.69 kB / 274.1 MB, free: 32 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.00678, allocations: 4 kB / 274.1 MB, free: 28 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.006786, allocations: 4.156 kB / 274.2 MB, free: 24 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.006796, allocations: 7.984 kB / 274.2 MB, free: 16 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.68e-05/0.006843, allocations: 4 kB / 274.2 MB, free: 12 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.006846, allocations: 3.938 kB / 274.2 MB, free: 8 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.531e-05/0.006871, allocations: 4 kB / 274.2 MB, free: 4 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.006876, allocations: 3.938 kB / 274.2 MB, free: 0 / 250.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 6.871e-05/0.006945, allocations: 116.7 kB / 274.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.517e-05/0.00703, allocations: 81.78 kB / 274.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.383e-05/0.007064, allocations: 21.45 kB / 274.4 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.007067, allocations: 4 kB / 274.4 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.007069, allocations: 4.031 kB / 274.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.007074, allocations: 4 kB / 274.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.007204, allocations: 97.78 kB / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.007206, allocations: 3.938 kB / 274.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.077e-05/0.007277, allocations: 43.91 kB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.00728, allocations: 4 kB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.007285, allocations: 0 / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.007287, allocations: 4 kB / 274.6 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.007288, allocations: 0 / 274.6 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.007391, allocations: 245.3 kB / 274.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/0.007432, allocations: 27.8 kB / 274.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.007444, allocations: 4 kB / 274.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.677e-05/0.007511, allocations: 11.98 kB / 274.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.007531, allocations: 0 / 274.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.007537, allocations: 8 kB / 274.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.31e-05/0.00757, allocations: 46.72 kB / 274.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00757, allocations: 0 / 274.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000147/0.007717, allocations: 16 kB / 274.9 MB, free: 15.2 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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 8.011e-05/0.007797, allocations: 92.36 kB / 275 MB, free: 15.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.867e-05/0.007866, allocations: 36.78 kB / 275 MB, free: 15.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.007869, allocations: 4 kB / 275 MB, free: 15.06 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-05/0.00788, allocations: 8.859 kB / 275 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.008171, allocations: 77.98 kB / 275.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000619/0.00879, allocations: 363.8 kB / 275.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.313e-05/0.008843, allocations: 79.83 kB / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.539e-05/0.008878, allocations: 12.64 kB / 275.6 MB, free: 14.47 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.446e-05/0.008963, allocations: 75.34 kB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.008963, allocations: 4 kB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of Templates: time 0.003293/0.01226, allocations: 1.841 MB / 277.5 MB, free: 12.59 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.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.643713711295277]