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.0008701/0.0008701, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0009769/0.0009769, allocations: 141.2 kB / 24.89 MB, free: 9.199 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.8812/0.8812, allocations: 173.3 MB / 201.5 MB, free: 9.199 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.112e-06/1.112e-06, allocations: 0 / 268.5 MB, free: 6.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.285e-05/1.397e-05, allocations: 6.25 kB / 268.5 MB, free: 6.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002022/0.002036, allocations: 1.88 MB / 270.4 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008064/0.002842, allocations: 0.623 MB / 271 MB, free: 3.664 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.002955, allocations: 11.94 kB / 271 MB, free: 3.652 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.003083, allocations: 23.73 kB / 271 MB, free: 3.629 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.003196, allocations: 27.78 kB / 271 MB, free: 3.602 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.00347, allocations: 103.6 kB / 271.1 MB, free: 3.5 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000388/0.003858, allocations: 135.6 kB / 271.3 MB, free: 3.367 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.00396, allocations: 46.61 kB / 271.3 MB, free: 3.32 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.004063, allocations: 71.81 kB / 271.4 MB, free: 3.25 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.99e-05/0.004123, allocations: 39.83 kB / 271.4 MB, free: 3.211 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.004145, allocations: 12 kB / 271.4 MB, free: 3.199 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.423e-05/0.004159, allocations: 11.94 kB / 271.5 MB, free: 3.188 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.681e-05/0.004206, allocations: 35.91 kB / 271.5 MB, free: 3.152 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.07e-05/0.004237, allocations: 31.86 kB / 271.5 MB, free: 3.121 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.004362, allocations: 91.59 kB / 271.6 MB, free: 3.031 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004364, allocations: 4 kB / 271.6 MB, free: 3.027 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004364, allocations: 0 / 271.6 MB, free: 3.027 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.004368, allocations: 4 kB / 271.6 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.0003264/0.004694, allocations: 344.3 kB / 272 MB, free: 2.664 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.626e-05/0.00472, allocations: 8.031 kB / 272 MB, free: 2.656 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.004751, allocations: 20.86 kB / 272 MB, free: 2.637 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.004922, allocations: 190.3 kB / 272.2 MB, free: 2.422 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.004938, allocations: 8.562 kB / 272.2 MB, free: 2.414 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.004953, allocations: 12.38 kB / 272.2 MB, free: 2.402 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.005194, allocations: 256.4 kB / 272.4 MB, free: 2.117 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.005201, allocations: 8 kB / 272.5 MB, free: 2.109 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.005209, allocations: 0 / 272.5 MB, free: 2.109 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.005214, allocations: 4 kB / 272.5 MB, free: 2.105 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.265e-05/0.005247, allocations: 19.92 kB / 272.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002219/0.005469, allocations: 278.9 kB / 272.7 MB, free: 1.785 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.005612, allocations: 144.7 kB / 272.9 MB, free: 1.598 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.68e-05/0.005659, allocations: 60.41 kB / 272.9 MB, free: 1.523 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.005675, allocations: 12 kB / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.005696, allocations: 42.48 kB / 273 MB, free: 1.461 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.333e-06/0.005697, allocations: 0 / 273 MB, free: 1.461 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001612/0.005858, allocations: 109.5 kB / 273.1 MB, free: 1.348 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/0.005925, allocations: 196 kB / 273.3 MB, free: 1.113 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.25e-05/0.006008, allocations: 167.4 kB / 273.5 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.006021, allocations: 29.7 kB / 273.5 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.351e-05/0.006054, allocations: 96.11 kB / 273.6 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.235e-05/0.006066, allocations: 8.266 kB / 273.6 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.006094, allocations: 29.59 kB / 273.6 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.724e-05/0.006161, allocations: 322.8 kB / 273.9 MB, free: 448 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.414e-06/0.006168, allocations: 3.984 kB / 273.9 MB, free: 444 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.837e-05/0.006197, allocations: 44.28 kB / 274 MB, free: 384 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.449e-05/0.006221, allocations: 21.66 kB / 274 MB, free: 356 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.006224, allocations: 4 kB / 274 MB, free: 352 kB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.259e-05/0.006267, allocations: 41.62 kB / 274 MB, free: 304 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.006279, allocations: 4 kB / 274.1 MB, free: 300 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.006284, allocations: 12.14 kB / 274.1 MB, free: 288 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.006295, allocations: 3.984 kB / 274.1 MB, free: 284 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.614e-05/0.006331, allocations: 4 kB / 274.1 MB, free: 280 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.006334, allocations: 0 / 274.1 MB, free: 280 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.513e-05/0.006359, allocations: 4 kB / 274.1 MB, free: 276 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.006363, allocations: 3.938 kB / 274.1 MB, free: 272 kB / 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 5.661e-05/0.00642, allocations: 120.7 kB / 274.2 MB, free: 140 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.581e-05/0.006495, allocations: 77.59 kB / 274.3 MB, free: 56 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.966e-05/0.006525, allocations: 25.45 kB / 274.3 MB, free: 24 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.006528, allocations: 11.97 kB / 274.3 MB, free: 12 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.006531, allocations: 4 kB / 274.3 MB, free: 8 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.006535, allocations: 4 kB / 274.3 MB, free: 4 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.006668, allocations: 93.8 kB / 274.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.006669, allocations: 0 / 274.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.927e-05/0.006729, allocations: 35.97 kB / 274.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.00673, allocations: 0 / 274.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.006736, allocations: 4 kB / 274.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.006738, allocations: 0 / 274.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.00674, allocations: 4 kB / 274.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.676e-05/0.006827, allocations: 241.3 kB / 274.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.006867, allocations: 31.78 kB / 274.7 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.00688, allocations: 8 kB / 274.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.304e-05/0.006943, allocations: 7.984 kB / 274.7 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.935e-05/0.006963, allocations: 4 kB / 274.7 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.006968, allocations: 8 kB / 274.7 MB, free: 15.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.14e-05/0.007, allocations: 42.72 kB / 274.8 MB, free: 15.49 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007, allocations: 0 / 274.8 MB, free: 15.49 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001454/0.007145, allocations: 20 kB / 274.8 MB, free: 15.47 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 7.672e-05/0.007222, allocations: 96.31 kB / 274.9 MB, free: 15.37 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.375e-05/0.007285, allocations: 28.8 kB / 274.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.007288, allocations: 0 / 274.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.167e-05/0.0073, allocations: 12.84 kB / 274.9 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.007567, allocations: 84.67 kB / 275 MB, free: 15.24 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005622/0.008129, allocations: 371.8 kB / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.371e-05/0.008173, allocations: 75.83 kB / 275.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.375e-05/0.008206, allocations: 8.641 kB / 275.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.05e-05/0.008287, allocations: 79.34 kB / 275.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.008287, allocations: 7.938 kB / 275.6 MB, free: 14.65 MB / 266.7 MB Notification: Performance of Templates: time 0.002989/0.01128, allocations: 1.823 MB / 277.4 MB, free: 12.86 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.4620471871457994]