Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.002429/0.002429, allocations: 99.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.002783/0.002783, 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.3 MB / 200.8 MB, free: 9.336 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.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.919e-05/3.099e-05, allocations: 2.312 kB / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.004224/0.004255, allocations: 1.845 MB / 269.2 MB, free: 4.875 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.005711, allocations: 0.6153 MB / 269.8 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.005837, allocations: 11.94 kB / 269.8 MB, free: 4.246 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.005999, allocations: 19.73 kB / 269.8 MB, free: 4.227 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.006144, allocations: 23.8 kB / 269.9 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003839/0.006527, allocations: 103.6 kB / 270 MB, free: 4.102 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.006787, allocations: 151.5 kB / 270.1 MB, free: 3.953 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.006956, allocations: 33.98 kB / 270.1 MB, free: 3.918 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.007127, allocations: 83.73 kB / 270.2 MB, free: 3.836 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.613e-05/0.007223, allocations: 35.89 kB / 270.3 MB, free: 3.801 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.449e-05/0.007257, allocations: 11.94 kB / 270.3 MB, free: 3.789 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.264e-05/0.00729, allocations: 12 kB / 270.3 MB, free: 3.777 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.195e-05/0.007362, allocations: 27.92 kB / 270.3 MB, free: 3.75 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.865e-05/0.007431, allocations: 39.84 kB / 270.3 MB, free: 3.711 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.007745, allocations: 139.5 kB / 270.5 MB, free: 3.574 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.007751, allocations: 0 / 270.5 MB, free: 3.574 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.007753, allocations: 0 / 270.5 MB, free: 3.574 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.007761, allocations: 7.938 kB / 270.5 MB, free: 3.566 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.000957/0.008718, allocations: 479.7 kB / 271 MB, free: 3.062 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.00877, allocations: 12.03 kB / 271 MB, free: 3.051 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.794e-05/0.008858, allocations: 24.8 kB / 271 MB, free: 3.027 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004122/0.00927, allocations: 194.1 kB / 271.2 MB, free: 2.809 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.009298, allocations: 12.56 kB / 271.2 MB, free: 2.797 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.009333, allocations: 16.36 kB / 271.2 MB, free: 2.781 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007455/0.01008, allocations: 320.5 kB / 271.5 MB, free: 2.422 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.01009, allocations: 3.938 kB / 271.5 MB, free: 2.418 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.01011, allocations: 4 kB / 271.5 MB, free: 2.414 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.01012, allocations: 7.984 kB / 271.5 MB, free: 2.406 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.01032, allocations: 63.89 kB / 271.6 MB, free: 2.344 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006906/0.01101, allocations: 473.6 kB / 272.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005489/0.01156, allocations: 243.4 kB / 272.3 MB, free: 1.527 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.01178, allocations: 118.5 kB / 272.4 MB, free: 1.391 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.01181, allocations: 15.88 kB / 272.4 MB, free: 1.375 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.01185, allocations: 37.39 kB / 272.5 MB, free: 1.328 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 1.192e-06/0.01185, allocations: 4 kB / 272.5 MB, free: 1.324 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006084/0.01246, allocations: 201.4 kB / 272.7 MB, free: 1.121 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001903/0.01265, allocations: 200.2 kB / 272.9 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.01291, allocations: 254.7 kB / 273.1 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.01294, allocations: 33.7 kB / 273.1 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.01306, allocations: 147.2 kB / 273.3 MB, free: 436 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.01309, allocations: 15.91 kB / 273.3 MB, free: 420 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/0.01314, allocations: 27.36 kB / 273.3 MB, free: 384 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003072/0.01345, allocations: 0.5 MB / 273.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.774e-05/0.0135, allocations: 11.98 kB / 273.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.945e-05/0.0136, allocations: 76.44 kB / 273.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.0137, allocations: 51.03 kB / 274 MB, free: 15.69 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01371, allocations: 0 / 274 MB, free: 15.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001529/0.01386, allocations: 73.58 kB / 274 MB, free: 15.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.01388, allocations: 7.984 kB / 274 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01388, allocations: 0 / 274 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.0139, allocations: 0 / 274 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.216e-05/0.01397, allocations: 8 kB / 274.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.01398, allocations: 0 / 274.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.412e-05/0.01404, allocations: 12.03 kB / 274.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.01406, allocations: 7.938 kB / 274.1 MB, free: 15.58 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001742/0.01423, allocations: 172.5 kB / 274.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003225/0.01455, allocations: 141.5 kB / 274.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.549e-05/0.01463, allocations: 25.45 kB / 274.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.01463, allocations: 4 kB / 274.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.01464, allocations: 0 / 274.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.01464, allocations: 3.938 kB / 274.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.01495, allocations: 176.5 kB / 274.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01495, allocations: 4.031 kB / 274.6 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.01509, allocations: 39.91 kB / 274.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.01509, allocations: 0 / 274.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.01511, allocations: 8 kB / 274.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.01512, allocations: 4 kB / 274.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.01512, allocations: 0 / 274.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006097/0.01573, allocations: 464.8 kB / 275.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.592e-05/0.01581, allocations: 31.83 kB / 275.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.01585, allocations: 11.98 kB / 275.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.01598, allocations: 15.98 kB / 275.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.01603, allocations: 4 kB / 275.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.01604, allocations: 4 kB / 275.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001851/0.01623, allocations: 185 kB / 275.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01623, allocations: 0 / 275.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002703/0.0165, allocations: 16 kB / 275.4 MB, free: 14.21 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: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0001463/0.01664, allocations: 99.25 kB / 275.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002475/0.01689, allocations: 75.62 kB / 275.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.01689, allocations: 8.062 kB / 275.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.245e-05/0.01695, allocations: 19.61 kB / 275.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006694/0.01762, allocations: 110 kB / 275.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006938/0.01831, allocations: 333.9 kB / 276 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.01846, allocations: 115.6 kB / 276.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.421e-05/0.01851, allocations: 9.141 kB / 276.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.01856, allocations: 20.5 kB / 276.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01856, allocations: 0 / 276.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of Templates: time 0.005859/0.02442, allocations: 1.798 MB / 277.9 MB, free: 11.59 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.680164803052321]