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.001408/0.001408, allocations: 96.02 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001431/0.001431, allocations: 181.8 kB / 24.45 MB, free: 3.977 MB / 14.72 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 1.461/1.461, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001626/0.001626, allocations: 51.91 kB / 371.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2449, allocations: 52.17 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003293/0.2482, allocations: 1.842 MB / 425.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.2494, allocations: 0.5806 MB / 426.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.2495, allocations: 7.938 kB / 426.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.2497, allocations: 19.78 kB / 426.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.2498, allocations: 19.81 kB / 426.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.2502, allocations: 114.7 kB / 426.4 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.2504, allocations: 135.6 kB / 426.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.2505, allocations: 48.8 kB / 426.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.2506, allocations: 55.78 kB / 426.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.775e-05/0.2507, allocations: 51.64 kB / 426.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.2507, allocations: 8 kB / 426.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.58e-05/0.2508, allocations: 12 kB / 426.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.917e-05/0.2508, allocations: 23.92 kB / 426.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.903e-05/0.2509, allocations: 55.66 kB / 426.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.2511, allocations: 139 kB / 426.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2511, allocations: 7.938 kB / 426.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2511, allocations: 0 / 426.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.2511, allocations: 0 / 426.9 MB, free: 11.38 MB / 334.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.0006764/0.2518, allocations: 381.7 kB / 427.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.2518, allocations: 8.031 kB / 427.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.362e-05/0.2519, allocations: 20.8 kB / 427.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.2522, allocations: 188 kB / 427.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.2522, allocations: 12.12 kB / 427.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.2523, allocations: 12 kB / 427.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006252/0.2529, allocations: 303.8 kB / 427.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.2529, allocations: 7.938 kB / 427.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.2529, allocations: 4 kB / 427.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.2529, allocations: 0 / 427.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.2531, allocations: 71.89 kB / 427.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000497/0.2536, allocations: 355.1 kB / 428.3 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004603/0.2541, allocations: 205 kB / 428.5 MB, free: 9.664 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.2543, allocations: 112.2 kB / 428.6 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.2543, allocations: 4 kB / 428.6 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.2543, allocations: 42.55 kB / 428.6 MB, free: 9.484 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.333e-06/0.2543, allocations: 0 / 428.6 MB, free: 9.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005637/0.2549, allocations: 225.7 kB / 428.8 MB, free: 9.258 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/0.255, allocations: 195.9 kB / 429 MB, free: 9.023 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.2552, allocations: 183.2 kB / 429.2 MB, free: 8.836 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.2553, allocations: 29.7 kB / 429.2 MB, free: 8.801 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.305e-05/0.2553, allocations: 100.1 kB / 429.3 MB, free: 8.699 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.2554, allocations: 15.94 kB / 429.4 MB, free: 8.684 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.297e-05/0.2554, allocations: 29.7 kB / 429.4 MB, free: 8.648 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.2556, allocations: 322.8 kB / 429.7 MB, free: 8.324 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.137e-05/0.2556, allocations: 31.92 kB / 429.7 MB, free: 8.293 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.2559, allocations: 159.7 kB / 429.9 MB, free: 8.082 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.2561, allocations: 161.6 kB / 430 MB, free: 7.875 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2561, allocations: 0 / 430 MB, free: 7.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002915/0.2564, allocations: 165.4 kB / 430.2 MB, free: 7.707 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2564, allocations: 8 kB / 430.2 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.2564, allocations: 4 kB / 430.2 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.2564, allocations: 7.938 kB / 430.2 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.2566, allocations: 35.92 kB / 430.3 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.2566, allocations: 7.938 kB / 430.3 MB, free: 7.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.2567, allocations: 23.88 kB / 430.3 MB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.2567, allocations: 8.344 kB / 430.3 MB, free: 7.613 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (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 prepare postOptimizeDAE: time 0.0001173/0.2568, allocations: 129.8 kB / 430.4 MB, free: 7.477 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003287/0.2571, allocations: 149.7 kB / 430.6 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.064e-05/0.2572, allocations: 21.34 kB / 430.6 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.2572, allocations: 4 kB / 430.6 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2572, allocations: 0 / 430.6 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.2572, allocations: 7.984 kB / 430.6 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.2575, allocations: 145.2 kB / 430.7 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.2575, allocations: 0 / 430.7 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.2576, allocations: 43.94 kB / 430.8 MB, free: 7.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2576, allocations: 0 / 430.8 MB, free: 7.074 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.2576, allocations: 4 kB / 430.8 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.2576, allocations: 7.938 kB / 430.8 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2576, allocations: 0 / 430.8 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004368/0.2581, allocations: 357.1 kB / 431.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.991e-05/0.2581, allocations: 39.81 kB / 431.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.2582, allocations: 4 kB / 431.2 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.2583, allocations: 15.94 kB / 431.2 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.2583, allocations: 7.984 kB / 431.2 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.2584, allocations: 8 kB / 431.2 MB, free: 6.613 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.2585, allocations: 133.1 kB / 431.4 MB, free: 6.484 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2585, allocations: 0 / 431.4 MB, free: 6.484 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003239/0.2588, allocations: 20 kB / 431.4 MB, free: 6.465 MB / 334.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: 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 0.0001065/0.2589, allocations: 102.8 kB / 431.5 MB, free: 6.359 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000294/0.2592, allocations: 115.8 kB / 431.6 MB, free: 6.246 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2592, allocations: 3.938 kB / 431.6 MB, free: 6.242 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.563e-05/0.2592, allocations: 15.94 kB / 431.6 MB, free: 6.227 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006199/0.2599, allocations: 105.4 kB / 431.7 MB, free: 6.125 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.2612, allocations: 473 kB / 432.2 MB, free: 5.617 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.2613, allocations: 110.6 kB / 432.3 MB, free: 5.488 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.2614, allocations: 15.44 kB / 432.3 MB, free: 5.477 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2614, allocations: 0 / 432.3 MB, free: 5.477 MB / 334.1 MB Notification: Performance of Templates: time 0.003757/0.2651, allocations: 1.822 MB / 434.1 MB, free: 3.664 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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: 6.862304713577032]