Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.002359/0.002359, allocations: 95.86 kB / 20.96 MB, free: 3.461 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.002669/0.002669, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 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 1.623/1.623, allocations: 173.4 MB / 200.8 MB, free: 9.32 MB / 186.7 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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.25e-06/5.25e-06, allocations: 4 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.082e-05/3.607e-05, allocations: 6.25 kB / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003234/0.003271, allocations: 1.616 MB / 268.9 MB, free: 5.094 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.004337, allocations: 490.4 kB / 269.4 MB, free: 4.609 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.908e-05/0.004416, allocations: 3.938 kB / 269.4 MB, free: 4.605 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.592e-05/0.004472, allocations: 11.92 kB / 269.4 MB, free: 4.594 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.004607, allocations: 11.88 kB / 269.5 MB, free: 4.582 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.004889, allocations: 55.77 kB / 269.5 MB, free: 4.527 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.005027, allocations: 55.77 kB / 269.6 MB, free: 4.473 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.736e-05/0.005124, allocations: 11.98 kB / 269.6 MB, free: 4.461 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.005234, allocations: 39.91 kB / 269.6 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.787e-05/0.005291, allocations: 15.91 kB / 269.6 MB, free: 4.406 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.005315, allocations: 4 kB / 269.6 MB, free: 4.402 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.512e-05/0.00533, allocations: 4 kB / 269.6 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.937e-05/0.005379, allocations: 11.94 kB / 269.6 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.055e-05/0.00542, allocations: 19.92 kB / 269.7 MB, free: 4.367 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.005568, allocations: 63.72 kB / 269.7 MB, free: 4.305 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.005571, allocations: 0 / 269.7 MB, free: 4.305 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005572, allocations: 4 kB / 269.7 MB, free: 4.301 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.005577, allocations: 0 / 269.7 MB, free: 4.301 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005925/0.006169, allocations: 419.8 kB / 270.1 MB, free: 3.855 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.006207, allocations: 8.922 kB / 270.2 MB, free: 3.848 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.637e-05/0.006263, allocations: 20.83 kB / 270.2 MB, free: 3.828 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.006498, allocations: 147.8 kB / 270.3 MB, free: 3.66 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.006511, allocations: 4.312 kB / 270.3 MB, free: 3.656 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.006521, allocations: 4.375 kB / 270.3 MB, free: 3.652 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000357/0.006878, allocations: 160.2 kB / 270.5 MB, free: 3.465 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.00689, allocations: 3.938 kB / 270.5 MB, free: 3.461 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.006899, allocations: 0 / 270.5 MB, free: 3.461 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.006904, allocations: 0 / 270.5 MB, free: 3.461 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.066e-05/0.006984, allocations: 23.92 kB / 270.5 MB, free: 3.438 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/0.007421, allocations: 310.8 kB / 270.8 MB, free: 3.086 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.007605, allocations: 128.4 kB / 270.9 MB, free: 2.91 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.146e-05/0.007697, allocations: 54.73 kB / 271 MB, free: 2.84 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.007722, allocations: 4 kB / 271 MB, free: 2.836 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/0.007768, allocations: 41.33 kB / 271 MB, free: 2.785 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.007769, allocations: 0 / 271 MB, free: 2.785 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.000306/0.008075, allocations: 97.52 kB / 271.1 MB, free: 2.684 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.008182, allocations: 144.9 kB / 271.3 MB, free: 2.512 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.008363, allocations: 205.9 kB / 271.5 MB, free: 2.293 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.008382, allocations: 25.7 kB / 271.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.313e-05/0.008475, allocations: 142.9 kB / 271.6 MB, free: 2.117 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.008493, allocations: 7.938 kB / 271.6 MB, free: 2.109 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.00854, allocations: 23.38 kB / 271.7 MB, free: 2.078 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002595/0.0088, allocations: 0.4922 MB / 272.2 MB, free: 1.574 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.891e-05/0.008839, allocations: 7.984 kB / 272.2 MB, free: 1.566 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.447e-05/0.008883, allocations: 23.38 kB / 272.2 MB, free: 1.535 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.444e-05/0.008968, allocations: 43.36 kB / 272.2 MB, free: 1.484 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.008969, allocations: 0 / 272.2 MB, free: 1.484 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001171/0.009086, allocations: 57.58 kB / 272.3 MB, free: 1.422 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.0091, allocations: 4 kB / 272.3 MB, free: 1.418 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.009105, allocations: 0 / 272.3 MB, free: 1.418 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.009119, allocations: 4 kB / 272.3 MB, free: 1.414 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.663e-05/0.009185, allocations: 7.938 kB / 272.3 MB, free: 1.406 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.00919, allocations: 0 / 272.3 MB, free: 1.406 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.137e-05/0.009222, allocations: 0 / 272.3 MB, free: 1.406 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.009234, allocations: 12.05 kB / 272.3 MB, free: 1.395 MB / 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 0.0001183/0.009353, allocations: 160.5 kB / 272.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.729e-05/0.00945, allocations: 57.59 kB / 272.5 MB, free: 1.164 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.781e-05/0.009498, allocations: 19.91 kB / 272.6 MB, free: 1.141 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.0095, allocations: 0 / 272.6 MB, free: 1.141 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.009507, allocations: 4 kB / 272.6 MB, free: 1.137 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.00951, allocations: 0 / 272.6 MB, free: 1.137 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.009718, allocations: 144.5 kB / 272.7 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.009719, allocations: 0 / 272.7 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.907e-05/0.009788, allocations: 12.06 kB / 272.7 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.009792, allocations: 8 kB / 272.7 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.0098, allocations: 0 / 272.7 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.009806, allocations: 7.984 kB / 272.7 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.009807, allocations: 0 / 272.7 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.01008, allocations: 254.8 kB / 273 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.561e-05/0.01012, allocations: 19.89 kB / 273 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.01014, allocations: 4 kB / 273 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.01021, allocations: 4 kB / 273 MB, free: 0.625 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.01025, allocations: 3.984 kB / 273 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.01025, allocations: 8 kB / 273 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001144/0.01037, allocations: 150.4 kB / 273.2 MB, free: 480 kB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01037, allocations: 0 / 273.2 MB, free: 480 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002292/0.0106, allocations: 12 kB / 273.2 MB, free: 468 kB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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.0001333/0.01073, allocations: 103.2 kB / 273.3 MB, free: 356 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001589/0.01089, allocations: 39.55 kB / 273.3 MB, free: 312 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01089, allocations: 0 / 273.3 MB, free: 312 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.506e-05/0.01095, allocations: 27.81 kB / 273.3 MB, free: 280 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.01135, allocations: 32.11 kB / 273.4 MB, free: 248 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004379/0.01178, allocations: 206.8 kB / 273.6 MB, free: 4 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.0119, allocations: 91.25 kB / 273.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.475e-05/0.01194, allocations: 3.984 kB / 273.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.611e-05/0.01197, allocations: 12.5 kB / 273.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01197, allocations: 4.25 kB / 273.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of Templates: time 0.003938/0.01591, allocations: 0.7483 MB / 274.4 MB, free: 15.14 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.567058257991448]