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.0009997/0.0009997, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.0009085/0.0009085, allocations: 147.6 kB / 24.9 MB, free: 8.727 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.8842/0.8842, allocations: 173.4 MB / 201.5 MB, free: 8.746 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.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.192e-06/1.192e-06, allocations: 0 / 268.5 MB, free: 6.008 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.289e-05/1.409e-05, allocations: 2.312 kB / 268.5 MB, free: 6.004 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002079/0.002093, allocations: 1.88 MB / 270.4 MB, free: 4.105 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007529/0.002846, allocations: 0.6269 MB / 271 MB, free: 3.477 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.145e-05/0.002937, allocations: 7.938 kB / 271 MB, free: 3.469 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.003049, allocations: 15.8 kB / 271 MB, free: 3.453 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.702e-05/0.003146, allocations: 27.78 kB / 271 MB, free: 3.426 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.003374, allocations: 107.6 kB / 271.1 MB, free: 3.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.003504, allocations: 139.6 kB / 271.3 MB, free: 3.184 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.572e-05/0.0036, allocations: 46.61 kB / 271.3 MB, free: 3.137 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.499e-05/0.003695, allocations: 75.8 kB / 271.4 MB, free: 3.062 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.646e-05/0.003751, allocations: 35.84 kB / 271.4 MB, free: 3.027 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.003772, allocations: 12 kB / 271.5 MB, free: 3.016 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.378e-05/0.003785, allocations: 8 kB / 271.5 MB, free: 3.008 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.532e-05/0.003831, allocations: 31.84 kB / 271.5 MB, free: 2.977 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.051e-05/0.003861, allocations: 39.84 kB / 271.5 MB, free: 2.938 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.00398, allocations: 99.58 kB / 271.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.003982, allocations: 4 kB / 271.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.003982, allocations: 0 / 271.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.705e-06/0.003985, allocations: 0 / 271.6 MB, free: 2.836 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.0003125/0.004297, allocations: 340.3 kB / 272 MB, free: 2.48 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.761e-05/0.004325, allocations: 12.03 kB / 272 MB, free: 2.469 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.004357, allocations: 20.86 kB / 272 MB, free: 2.449 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.004517, allocations: 182.4 kB / 272.2 MB, free: 2.242 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.004531, allocations: 8.562 kB / 272.2 MB, free: 2.234 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.004544, allocations: 12.38 kB / 272.2 MB, free: 2.223 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.004786, allocations: 258.4 kB / 272.4 MB, free: 1.93 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/0.004792, allocations: 4 kB / 272.4 MB, free: 1.926 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.004801, allocations: 4 kB / 272.5 MB, free: 1.922 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.004806, allocations: 4 kB / 272.5 MB, free: 1.918 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000262/0.005068, allocations: 27.92 kB / 272.5 MB, free: 1.891 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002119/0.00528, allocations: 274.9 kB / 272.8 MB, free: 1.594 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.005421, allocations: 148.8 kB / 272.9 MB, free: 1.402 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.063e-05/0.005471, allocations: 72.25 kB / 273 MB, free: 1.316 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.005487, allocations: 4 kB / 273 MB, free: 1.312 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.005506, allocations: 38.56 kB / 273 MB, free: 1.266 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 1.032e-06/0.005507, allocations: 0 / 273 MB, free: 1.266 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001587/0.005666, allocations: 117.5 kB / 273.1 MB, free: 1.145 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.022e-05/0.005736, allocations: 199.9 kB / 273.3 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.721e-05/0.005813, allocations: 163.5 kB / 273.5 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.005826, allocations: 29.7 kB / 273.5 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.005857, allocations: 100.4 kB / 273.6 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.174e-05/0.005868, allocations: 7.953 kB / 273.6 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.005894, allocations: 25.69 kB / 273.6 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.472e-05/0.005959, allocations: 318.8 kB / 274 MB, free: 240 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.458e-06/0.005969, allocations: 8.312 kB / 274 MB, free: 232 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.677e-05/0.005995, allocations: 57.14 kB / 274 MB, free: 156 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.837e-05/0.006024, allocations: 26.56 kB / 274 MB, free: 120 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.006026, allocations: 0 / 274 MB, free: 120 kB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.767e-05/0.006073, allocations: 53.56 kB / 274.1 MB, free: 60 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.006084, allocations: 14.91 kB / 274.1 MB, free: 48 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.006088, allocations: 3.984 kB / 274.1 MB, free: 44 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.195e-06/0.006096, allocations: 0 / 274.1 MB, free: 44 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.031e-05/0.006137, allocations: 16.12 kB / 274.1 MB, free: 28 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.00614, allocations: 0 / 274.1 MB, free: 28 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.68e-05/0.006166, allocations: 7.953 kB / 274.1 MB, free: 20 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.00617, allocations: 0 / 274.1 MB, free: 20 kB / 250.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 7.055e-05/0.006241, allocations: 124.6 kB / 274.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-05/0.006321, allocations: 89.53 kB / 274.3 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.073e-05/0.006352, allocations: 17.47 kB / 274.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.006355, allocations: 4 kB / 274.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.006357, allocations: 0 / 274.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.006362, allocations: 7.984 kB / 274.4 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.006484, allocations: 97.83 kB / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.006485, allocations: 0 / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.183e-05/0.006547, allocations: 43.86 kB / 274.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.00655, allocations: 3.938 kB / 274.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.006557, allocations: 4 kB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.006558, allocations: 0 / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.006559, allocations: 4 kB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.198e-05/0.006641, allocations: 237.3 kB / 274.8 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.006682, allocations: 23.84 kB / 274.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.006701, allocations: 19.95 kB / 274.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.255e-05/0.006764, allocations: 4 kB / 274.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/0.006785, allocations: 4 kB / 274.8 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.006793, allocations: 11.98 kB / 274.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.177e-05/0.006825, allocations: 46.72 kB / 274.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006825, allocations: 0 / 274.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001532/0.006978, allocations: 16 kB / 274.9 MB, free: 15.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 6.03e-05/0.007039, allocations: 92.62 kB / 275 MB, free: 15.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.195e-05/0.007111, allocations: 44.89 kB / 275 MB, free: 15.06 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.007113, allocations: 0 / 275 MB, free: 15.06 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.118e-05/0.007124, allocations: 8.859 kB / 275 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.00739, allocations: 78.05 kB / 275.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004139/0.007804, allocations: 307.8 kB / 275.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.288e-05/0.007847, allocations: 79.77 kB / 275.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.151e-05/0.007879, allocations: 21.42 kB / 275.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.125e-05/0.00796, allocations: 79.34 kB / 275.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.007961, allocations: 0 / 275.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of Templates: time 0.003537/0.0115, allocations: 1.912 MB / 277.5 MB, free: 12.57 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","",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.611355286091566]