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.001064/0.001064, allocations: 79.91 kB / 21.18 MB, free: 3.387 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.001362/0.001362, allocations: 141.1 kB / 24.54 MB, free: 32 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.028/1.028, allocations: 173.4 MB / 201.1 MB, free: 9.312 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.863e-06/1.863e-06, allocations: 0 / 268 MB, free: 6.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.856e-05, allocations: 2.312 kB / 268 MB, free: 6.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002524/0.002552, allocations: 1.876 MB / 269.9 MB, free: 4.504 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009514/0.003504, allocations: 0.6231 MB / 270.5 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.003633, allocations: 7.938 kB / 270.5 MB, free: 3.871 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.003795, allocations: 19.8 kB / 270.5 MB, free: 3.852 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.003919, allocations: 27.78 kB / 270.6 MB, free: 3.824 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.00423, allocations: 99.59 kB / 270.7 MB, free: 3.727 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.004386, allocations: 143.5 kB / 270.8 MB, free: 3.586 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.004528, allocations: 41.97 kB / 270.8 MB, free: 3.543 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.004635, allocations: 79.75 kB / 270.9 MB, free: 3.465 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.984e-05/0.004705, allocations: 39.83 kB / 271 MB, free: 3.426 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.004734, allocations: 12 kB / 271 MB, free: 3.414 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.216e-05/0.004756, allocations: 8 kB / 271 MB, free: 3.406 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.365e-05/0.004829, allocations: 31.91 kB / 271 MB, free: 3.375 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.859e-05/0.004868, allocations: 35.86 kB / 271 MB, free: 3.34 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.005019, allocations: 95.58 kB / 271.1 MB, free: 3.246 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.005022, allocations: 4 kB / 271.1 MB, free: 3.242 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005023, allocations: 0 / 271.1 MB, free: 3.242 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.005028, allocations: 0 / 271.1 MB, free: 3.242 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.0004587/0.005487, allocations: 479.9 kB / 271.6 MB, free: 2.738 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.005526, allocations: 12.03 kB / 271.6 MB, free: 2.727 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.929e-05/0.005575, allocations: 28.8 kB / 271.6 MB, free: 2.699 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.005789, allocations: 185.3 kB / 271.8 MB, free: 2.488 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.005809, allocations: 8.562 kB / 271.8 MB, free: 2.48 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.005826, allocations: 12.38 kB / 271.8 MB, free: 2.469 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003913/0.006217, allocations: 289 kB / 272.1 MB, free: 2.137 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.00623, allocations: 4 kB / 272.1 MB, free: 2.133 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.006246, allocations: 4 kB / 272.1 MB, free: 2.129 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.006256, allocations: 4 kB / 272.1 MB, free: 2.125 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.975e-05/0.006315, allocations: 27.91 kB / 272.2 MB, free: 2.098 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.006745, allocations: 473.5 kB / 272.6 MB, free: 1.582 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.006992, allocations: 195.5 kB / 272.8 MB, free: 1.328 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.481e-05/0.007077, allocations: 86.45 kB / 272.9 MB, free: 1.223 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.007101, allocations: 4 kB / 272.9 MB, free: 1.219 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.007133, allocations: 49.31 kB / 273 MB, free: 1.16 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.007135, allocations: 0 / 273 MB, free: 1.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002833/0.007418, allocations: 145.4 kB / 273.1 MB, free: 1.012 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.656e-05/0.007504, allocations: 199.8 kB / 273.3 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.007634, allocations: 223.1 kB / 273.5 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.00765, allocations: 37.7 kB / 273.6 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.175e-05/0.007711, allocations: 151.2 kB / 273.7 MB, free: 348 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.007728, allocations: 11.89 kB / 273.7 MB, free: 336 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.007762, allocations: 31.36 kB / 273.7 MB, free: 296 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.0079, allocations: 0.4922 MB / 274.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.712e-05/0.007917, allocations: 4 kB / 274.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.16e-05/0.007959, allocations: 72.61 kB / 274.3 MB, free: 15.69 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.467e-05/0.008004, allocations: 39 kB / 274.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.008006, allocations: 4.031 kB / 274.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.122e-05/0.008078, allocations: 61.58 kB / 274.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.008095, allocations: 4 kB / 274.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.008102, allocations: 4 kB / 274.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.008119, allocations: 0 / 274.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.193e-05/0.008181, allocations: 4 kB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.008187, allocations: 4 kB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.549e-05/0.008222, allocations: 11.94 kB / 274.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.008228, allocations: 0 / 274.4 MB, free: 15.54 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 8.818e-05/0.008316, allocations: 168.6 kB / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.008444, allocations: 121.4 kB / 274.7 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.773e-05/0.008492, allocations: 17.47 kB / 274.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.008496, allocations: 4 kB / 274.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.008504, allocations: 3.984 kB / 274.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.008509, allocations: 0 / 274.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.008675, allocations: 168.5 kB / 274.9 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.008677, allocations: 0 / 274.9 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.76e-05/0.008744, allocations: 31.98 kB / 274.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.008747, allocations: 4.031 kB / 274.9 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.008759, allocations: 8 kB / 275 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.008762, allocations: 3.938 kB / 275 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.008764, allocations: 7.984 kB / 275 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.008975, allocations: 416.9 kB / 275.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.009023, allocations: 31.89 kB / 275.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.009046, allocations: 7.984 kB / 275.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.018e-05/0.009116, allocations: 8 kB / 275.4 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.009155, allocations: 7.938 kB / 275.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.009163, allocations: 7.984 kB / 275.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.555e-05/0.009238, allocations: 173.1 kB / 275.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.009239, allocations: 0 / 275.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001817/0.00942, allocations: 12 kB / 275.6 MB, free: 14.27 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.0001587/0.009579, allocations: 103.2 kB / 275.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.0097, allocations: 51.5 kB / 275.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.009702, allocations: 3.938 kB / 275.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.815e-05/0.00972, allocations: 15.62 kB / 275.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.01012, allocations: 97.56 kB / 275.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00059/0.01071, allocations: 310.9 kB / 276.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.73e-05/0.01076, allocations: 83.81 kB / 276.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.286e-05/0.0108, allocations: 13.42 kB / 276.3 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.01083, allocations: 12.5 kB / 276.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01083, allocations: 0 / 276.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of Templates: time 0.003377/0.01421, allocations: 1.813 MB / 278.1 MB, free: 11.75 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: 3.0970170539803803]