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.001079/0.001079, allocations: 78.28 kB / 21.42 MB, free: 3.078 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.001174/0.001174, allocations: 150.3 kB / 24.81 MB, free: 9.285 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.9717/0.9717, allocations: 173.3 MB / 201.4 MB, free: 9.191 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.793e-06/1.793e-06, allocations: 0 / 268.4 MB, free: 6.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3e-05/3.179e-05, allocations: 13.77 kB / 268.4 MB, free: 6.156 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003442/0.003474, allocations: 1.853 MB / 270.3 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.004752, allocations: 0.6304 MB / 270.9 MB, free: 3.656 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.004877, allocations: 7.938 kB / 270.9 MB, free: 3.648 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.005013, allocations: 19.73 kB / 270.9 MB, free: 3.629 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.005128, allocations: 19.86 kB / 271 MB, free: 3.609 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.00543, allocations: 103.6 kB / 271.1 MB, free: 3.508 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.005592, allocations: 151.5 kB / 271.2 MB, free: 3.359 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.005734, allocations: 33.98 kB / 271.2 MB, free: 3.324 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.005856, allocations: 79.8 kB / 271.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.842e-05/0.005925, allocations: 39.83 kB / 271.4 MB, free: 3.207 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.005947, allocations: 8 kB / 271.4 MB, free: 3.199 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.62e-05/0.005963, allocations: 12 kB / 271.4 MB, free: 3.188 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.929e-05/0.006012, allocations: 23.92 kB / 271.4 MB, free: 3.164 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.344e-05/0.006046, allocations: 43.84 kB / 271.4 MB, free: 3.121 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.006196, allocations: 99.52 kB / 271.5 MB, free: 3.023 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.006201, allocations: 0 / 271.5 MB, free: 3.023 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.006203, allocations: 0 / 271.5 MB, free: 3.023 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.006206, allocations: 0 / 271.5 MB, free: 3.023 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.0004407/0.006647, allocations: 476 kB / 272 MB, free: 2.523 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.006684, allocations: 8.031 kB / 272 MB, free: 2.516 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.006724, allocations: 32.8 kB / 272 MB, free: 2.484 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.006909, allocations: 197.2 kB / 272.2 MB, free: 2.262 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.006925, allocations: 4.562 kB / 272.2 MB, free: 2.258 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.006938, allocations: 8.375 kB / 272.2 MB, free: 2.25 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.007231, allocations: 274.8 kB / 272.5 MB, free: 1.938 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.007239, allocations: 3.938 kB / 272.5 MB, free: 1.934 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.00725, allocations: 8 kB / 272.5 MB, free: 1.926 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.007255, allocations: 0 / 272.5 MB, free: 1.926 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.23e-05/0.007297, allocations: 27.86 kB / 272.6 MB, free: 1.898 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.007613, allocations: 430.2 kB / 273 MB, free: 1.434 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.007801, allocations: 195.3 kB / 273.2 MB, free: 1.18 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.165e-05/0.007863, allocations: 86.47 kB / 273.2 MB, free: 1.074 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.007884, allocations: 7.984 kB / 273.3 MB, free: 1.066 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.007906, allocations: 41.39 kB / 273.3 MB, free: 1.016 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/0.007907, allocations: 0 / 273.3 MB, free: 1.016 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002092/0.008116, allocations: 133.4 kB / 273.4 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.856e-05/0.008195, allocations: 196 kB / 273.6 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.008319, allocations: 227 kB / 273.8 MB, free: 416 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.008335, allocations: 33.7 kB / 273.9 MB, free: 376 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.832e-05/0.008393, allocations: 146.8 kB / 274 MB, free: 224 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/0.008407, allocations: 7.953 kB / 274 MB, free: 216 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.008439, allocations: 31.34 kB / 274.1 MB, free: 176 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.008575, allocations: 0.5 MB / 274.6 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.052e-05/0.008586, allocations: 0 / 274.6 MB, free: 15.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.318e-05/0.008619, allocations: 52.77 kB / 274.6 MB, free: 15.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.827e-05/0.008647, allocations: 23.31 kB / 274.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.008649, allocations: 0 / 274.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.296e-05/0.008712, allocations: 61.67 kB / 274.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.008725, allocations: 4 kB / 274.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.00873, allocations: 4 kB / 274.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.008741, allocations: 3.938 kB / 274.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.477e-05/0.008795, allocations: 4 kB / 274.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-06/0.008798, allocations: 0 / 274.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.153e-05/0.008829, allocations: 15.86 kB / 274.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.008834, allocations: 0 / 274.7 MB, free: 15.46 MB / 266.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 7.337e-05/0.008907, allocations: 156.6 kB / 274.9 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.009016, allocations: 105.6 kB / 275 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.658e-05/0.009052, allocations: 17.47 kB / 275 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.009057, allocations: 4 kB / 275 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.00906, allocations: 7.938 kB / 275 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.009064, allocations: 3.984 kB / 275 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.009223, allocations: 137.1 kB / 275.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.009225, allocations: 0 / 275.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.566e-05/0.009301, allocations: 35.98 kB / 275.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.009304, allocations: 0 / 275.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.009309, allocations: 4 kB / 275.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.009312, allocations: 8.031 kB / 275.2 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.009313, allocations: 0 / 275.2 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.009458, allocations: 346 kB / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.009507, allocations: 39.81 kB / 275.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.009519, allocations: 0 / 275.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.406e-05/0.009593, allocations: 12 kB / 275.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/0.009615, allocations: 3.984 kB / 275.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.00962, allocations: 7.938 kB / 275.6 MB, free: 14.51 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.985e-05/0.00968, allocations: 169 kB / 275.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00968, allocations: 32 / 275.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001751/0.009855, allocations: 16 kB / 275.8 MB, free: 14.33 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 0.0001001/0.009955, allocations: 103.2 kB / 275.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.232e-05/0.01005, allocations: 47.53 kB / 275.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01005, allocations: 0 / 275.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.531e-05/0.01006, allocations: 11.69 kB / 275.9 MB, free: 14.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.01043, allocations: 77.97 kB / 276 MB, free: 14.08 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007082/0.01114, allocations: 377.9 kB / 276.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.874e-05/0.01119, allocations: 79.83 kB / 276.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.023e-05/0.01122, allocations: 8.844 kB / 276.5 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.57e-05/0.01131, allocations: 110.2 kB / 276.6 MB, free: 13.45 MB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01132, allocations: 0 / 276.6 MB, free: 13.45 MB / 266.7 MB Notification: Performance of Templates: time 0.003552/0.01487, allocations: 1.858 MB / 278.4 MB, free: 11.63 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 -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.7522157849743962]