Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.001739/0.001739, allocations: 84.92 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001938/0.001938, allocations: 165.1 kB / 23.96 MB, free: 4.164 MB / 14.72 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 1.506/1.506, allocations: 177.2 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.929e-05/3.144e-05, allocations: 2.281 kB / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003685/0.003717, allocations: 1.854 MB / 326.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.005334, allocations: 0.6619 MB / 327.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.005476, allocations: 8.469 kB / 327.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.005648, allocations: 25 kB / 327.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.005796, allocations: 30.98 kB / 327.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004535/0.006249, allocations: 113 kB / 327.8 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.00652, allocations: 149.7 kB / 327.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.006681, allocations: 44.53 kB / 328 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.006876, allocations: 80.44 kB / 328 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.21e-05/0.006968, allocations: 34.92 kB / 328.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.006994, allocations: 9.75 kB / 328.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.113e-05/0.007045, allocations: 11.92 kB / 328.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.021e-05/0.007115, allocations: 30.64 kB / 328.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.654e-05/0.007172, allocations: 41.03 kB / 328.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003426/0.007514, allocations: 152.1 kB / 328.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.007519, allocations: 0.7031 kB / 328.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.007521, allocations: 1.281 kB / 328.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.007526, allocations: 0 / 328.3 MB, free: 14.48 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.0006433/0.008169, allocations: 379 kB / 328.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.008204, allocations: 13.22 kB / 328.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.008381, allocations: 26.41 kB / 328.7 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.008736, allocations: 193.7 kB / 328.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.008759, allocations: 8.5 kB / 328.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.008783, allocations: 10.59 kB / 328.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007058/0.009489, allocations: 307.5 kB / 329.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.009501, allocations: 3.938 kB / 329.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.009522, allocations: 6.5 kB / 329.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.009529, allocations: 1.281 kB / 329.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/0.009754, allocations: 70.36 kB / 329.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005597/0.01031, allocations: 356.1 kB / 329.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005592/0.01087, allocations: 215 kB / 329.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.01109, allocations: 105.9 kB / 330 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.589e-05/0.01113, allocations: 4.938 kB / 330 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.01117, allocations: 39.95 kB / 330 MB, free: 13.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.01117, allocations: 0 / 330 MB, free: 13.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006587/0.01183, allocations: 218.6 kB / 330.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001701/0.012, allocations: 194.5 kB / 330.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.01225, allocations: 190.5 kB / 330.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.01228, allocations: 31.33 kB / 330.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.01239, allocations: 107.5 kB / 330.7 MB, free: 12.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.01241, allocations: 2.891 kB / 330.7 MB, free: 12.53 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.278e-05/0.01246, allocations: 19.62 kB / 330.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002754/0.01273, allocations: 325.3 kB / 331.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.515e-05/0.01278, allocations: 11.31 kB / 331.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.4e-05/0.01286, allocations: 55.53 kB / 331.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.01298, allocations: 33.58 kB / 331.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01298, allocations: 0.7031 kB / 331.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001433/0.01313, allocations: 58.08 kB / 331.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.01315, allocations: 6.188 kB / 331.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.01316, allocations: 5.281 kB / 331.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.01317, allocations: 0.5156 kB / 331.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.439e-05/0.01325, allocations: 15.53 kB / 331.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.01326, allocations: 3.938 kB / 331.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.584e-05/0.01331, allocations: 3.906 kB / 331.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.01332, allocations: 1.797 kB / 331.3 MB, free: 12.05 MB / 302.1 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 0.0001336/0.01345, allocations: 124.7 kB / 331.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003265/0.01378, allocations: 140.7 kB / 331.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.36e-05/0.01383, allocations: 25.72 kB / 331.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.01384, allocations: 7.938 kB / 331.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.01385, allocations: 1.406 kB / 331.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.01386, allocations: 6.641 kB / 331.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.01412, allocations: 145.4 kB / 331.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.01413, allocations: 1.469 kB / 331.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.01427, allocations: 37.66 kB / 331.7 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.01427, allocations: 1.562 kB / 331.7 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.01429, allocations: 7.531 kB / 331.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.01429, allocations: 2.016 kB / 331.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.0143, allocations: 6.75 kB / 331.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005131/0.01481, allocations: 358 kB / 332.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.755e-05/0.0149, allocations: 36.61 kB / 332.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.01493, allocations: 2.516 kB / 332.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.01508, allocations: 13.88 kB / 332.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.01512, allocations: 3.156 kB / 332.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.01513, allocations: 8.844 kB / 332.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001368/0.01527, allocations: 142.9 kB / 332.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01527, allocations: 0 / 332.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002921/0.01556, allocations: 16.44 kB / 332.3 MB, free: 11.28 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: 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.0001511/0.01571, allocations: 109.6 kB / 332.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002626/0.01597, allocations: 64.61 kB / 332.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01598, allocations: 1 kB / 332.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.081e-05/0.01603, allocations: 12.89 kB / 332.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007209/0.01675, allocations: 109.5 kB / 332.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.01812, allocations: 436.2 kB / 333.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.01827, allocations: 117.5 kB / 333.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.401e-05/0.01832, allocations: 11.66 kB / 333.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/0.01836, allocations: 15.25 kB / 333.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.01836, allocations: 0 / 333.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of Templates: time 0.005428/0.02379, allocations: 1.719 MB / 334.9 MB, free: 9.816 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.4590163230896]