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.001558/0.001558, allocations: 113 kB / 19.04 MB, free: 3.254 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.001417/0.001417, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.533/1.533, allocations: 225.6 MB / 250.8 MB, free: 13.32 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.001593/0.001593, allocations: 51.92 kB / 368.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3761, allocations: 52.14 MB / 420.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.00378/0.3799, allocations: 1.892 MB / 422.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.3812, allocations: 0.6273 MB / 423.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.3814, allocations: 7.938 kB / 423.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.3815, allocations: 23.73 kB / 423.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.3817, allocations: 31.72 kB / 423.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004866/0.3822, allocations: 99.72 kB / 423.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.3824, allocations: 139.6 kB / 423.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.3826, allocations: 41.73 kB / 423.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.3827, allocations: 55.72 kB / 423.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.3828, allocations: 59.69 kB / 423.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.3828, allocations: 12 kB / 423.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.976e-05/0.3828, allocations: 8 kB / 423.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.631e-05/0.3829, allocations: 35.86 kB / 423.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.724e-05/0.383, allocations: 63.55 kB / 424 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.3832, allocations: 144.6 kB / 424.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3832, allocations: 0 / 424.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3832, allocations: 3.938 kB / 424.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3832, allocations: 0 / 424.1 MB, free: 11.83 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.0006793/0.3839, allocations: 458.8 kB / 424.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3839, allocations: 11.89 kB / 424.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.694e-05/0.384, allocations: 20.8 kB / 424.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.3844, allocations: 245.8 kB / 424.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.3844, allocations: 12.12 kB / 424.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.3844, allocations: 12 kB / 424.9 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006228/0.385, allocations: 276.2 kB / 425.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3851, allocations: 0 / 425.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.3851, allocations: 4 kB / 425.1 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.3851, allocations: 4 kB / 425.1 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.3853, allocations: 67.89 kB / 425.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005794/0.3859, allocations: 431.4 kB / 425.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005184/0.3864, allocations: 286.1 kB / 425.9 MB, free: 9.793 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.3866, allocations: 104.4 kB / 426 MB, free: 9.676 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/0.3866, allocations: 15.97 kB / 426 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.3866, allocations: 38.5 kB / 426.1 MB, free: 9.613 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.3866, allocations: 0 / 426.1 MB, free: 9.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005677/0.3872, allocations: 221.8 kB / 426.3 MB, free: 9.391 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.3873, allocations: 200.2 kB / 426.5 MB, free: 9.152 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.3875, allocations: 179.1 kB / 426.6 MB, free: 8.969 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.3875, allocations: 29.64 kB / 426.7 MB, free: 8.934 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.232e-05/0.3876, allocations: 104.1 kB / 426.8 MB, free: 8.828 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.3876, allocations: 15.94 kB / 426.8 MB, free: 8.812 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-05/0.3877, allocations: 33.7 kB / 426.8 MB, free: 8.773 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3879, allocations: 330.8 kB / 427.1 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.724e-05/0.3879, allocations: 23.98 kB / 427.2 MB, free: 8.418 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.3881, allocations: 130.5 kB / 427.3 MB, free: 8.238 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.3883, allocations: 157.6 kB / 427.4 MB, free: 8.035 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.3883, allocations: 4 kB / 427.4 MB, free: 8.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002801/0.3886, allocations: 169.4 kB / 427.6 MB, free: 7.859 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.3886, allocations: 14.75 kB / 427.6 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.3886, allocations: 4 kB / 427.6 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.3886, allocations: 4 kB / 427.6 MB, free: 7.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.3888, allocations: 27.98 kB / 427.7 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/0.3888, allocations: 11.94 kB / 427.7 MB, free: 7.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.781e-05/0.3889, allocations: 19.88 kB / 427.7 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.3889, allocations: 8.312 kB / 427.7 MB, free: 7.773 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.00012/0.389, allocations: 141.7 kB / 427.8 MB, free: 7.625 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002818/0.3893, allocations: 141.4 kB / 428 MB, free: 7.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.195e-05/0.3893, allocations: 21.41 kB / 428 MB, free: 7.453 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.3893, allocations: 4 kB / 428 MB, free: 7.449 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3893, allocations: 0 / 428 MB, free: 7.449 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.3894, allocations: 3.984 kB / 428 MB, free: 7.445 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.3897, allocations: 217.5 kB / 428.2 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3897, allocations: 4.031 kB / 428.2 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.3898, allocations: 43.91 kB / 428.3 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.3898, allocations: 7.938 kB / 428.3 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.3898, allocations: 0 / 428.3 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.3898, allocations: 4 kB / 428.3 MB, free: 7.125 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3898, allocations: 0 / 428.3 MB, free: 7.125 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004665/0.3903, allocations: 361.1 kB / 428.6 MB, free: 6.746 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.3904, allocations: 108.9 kB / 428.7 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.3904, allocations: 11.92 kB / 428.7 MB, free: 6.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.3906, allocations: 8 kB / 428.8 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.3906, allocations: 8.078 kB / 428.8 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.3906, allocations: 11.94 kB / 428.8 MB, free: 6.582 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001203/0.3907, allocations: 129.2 kB / 428.9 MB, free: 6.457 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3907, allocations: 0 / 428.9 MB, free: 6.457 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003192/0.3911, allocations: 24 kB / 428.9 MB, free: 6.434 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.0001549/0.3912, allocations: 107.2 kB / 429 MB, free: 6.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003098/0.3915, allocations: 116 kB / 429.1 MB, free: 6.207 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3915, allocations: 0 / 429.1 MB, free: 6.207 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.869e-05/0.3916, allocations: 11.98 kB / 429.2 MB, free: 6.195 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000665/0.3922, allocations: 99.92 kB / 429.3 MB, free: 6.098 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008921/0.3931, allocations: 360.1 kB / 429.6 MB, free: 5.707 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.3935, allocations: 0.7357 MB / 430.3 MB, free: 4.945 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.579e-05/0.3936, allocations: 17.72 kB / 430.4 MB, free: 4.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.3936, allocations: 15.44 kB / 430.4 MB, free: 4.914 MB / 334.1 MB Notification: Performance of SimCode: time 4.9e-07/0.3936, allocations: 0 / 430.4 MB, free: 4.914 MB / 334.1 MB Notification: Performance of Templates: time 0.005243/0.3989, allocations: 1.76 MB / 432.1 MB, free: 3.176 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/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: 4.9240651316940784]