Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007392/0.0007392, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009627/0.001702, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007549/0.0007549, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008671/0.001622, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9274/0.9274, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08573/1.013, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.169e-05, allocations: 4.984 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.00359/0.003611, allocations: 1.958 MB / 246.5 MB, free: 12.34 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.004704, allocations: 0.6815 MB / 247.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.004818, allocations: 15.81 kB / 247.2 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.509e-05/0.004913, allocations: 23.78 kB / 247.2 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.403e-05/0.004997, allocations: 23.8 kB / 247.2 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.005297, allocations: 115.6 kB / 247.3 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.005478, allocations: 139.5 kB / 247.5 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.005603, allocations: 46.61 kB / 247.5 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.005798, allocations: 103.7 kB / 247.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.363e-05/0.005871, allocations: 35.89 kB / 247.7 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.005894, allocations: 12 kB / 247.7 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.053e-05/0.005954, allocations: 12 kB / 247.7 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.253e-05/0.005997, allocations: 23.88 kB / 247.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.552e-05/0.006032, allocations: 31.88 kB / 247.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.006202, allocations: 83.62 kB / 247.8 MB, free: 11 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.668e-05/0.006219, allocations: 7.984 kB / 247.8 MB, free: 10.99 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.00622, allocations: 0 / 247.8 MB, free: 10.99 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.006235, allocations: 4 kB / 247.8 MB, free: 10.99 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.00661/0.01284, allocations: 375.9 kB / 248.2 MB, free: 10.6 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.01288, allocations: 8.031 kB / 248.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.01306, allocations: 106 kB / 248.3 MB, free: 10.47 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.01331, allocations: 187 kB / 248.5 MB, free: 10.26 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.01333, allocations: 8.562 kB / 248.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.01334, allocations: 8.375 kB / 248.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.01366, allocations: 257.3 kB / 248.8 MB, free: 9.957 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.01367, allocations: 0 / 248.8 MB, free: 9.957 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.01368, allocations: 4 kB / 248.8 MB, free: 9.953 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.01369, allocations: 11.98 kB / 248.8 MB, free: 9.941 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.703e-05/0.01373, allocations: 19.94 kB / 248.8 MB, free: 9.922 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002798/0.01401, allocations: 282.9 kB / 249.1 MB, free: 9.617 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.01419, allocations: 136.9 kB / 249.2 MB, free: 9.438 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.238e-05/0.01426, allocations: 64.27 kB / 249.3 MB, free: 9.359 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.01428, allocations: 11.98 kB / 249.3 MB, free: 9.348 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.01431, allocations: 38.56 kB / 249.3 MB, free: 9.301 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.122e-06/0.01431, allocations: 4 kB / 249.3 MB, free: 9.297 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002148/0.01452, allocations: 113.5 kB / 249.4 MB, free: 9.18 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.151e-05/0.01459, allocations: 166.2 kB / 249.6 MB, free: 8.98 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.0147, allocations: 174.5 kB / 249.8 MB, free: 8.797 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.01471, allocations: 25.7 kB / 249.8 MB, free: 8.766 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/0.01475, allocations: 96.05 kB / 249.9 MB, free: 8.668 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.01477, allocations: 7.953 kB / 249.9 MB, free: 8.66 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.0148, allocations: 17.72 kB / 249.9 MB, free: 8.637 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.247e-05/0.01488, allocations: 331.1 kB / 250.2 MB, free: 8.305 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.717e-06/0.01489, allocations: 4 kB / 250.2 MB, free: 8.301 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.163e-05/0.01492, allocations: 48.27 kB / 250.3 MB, free: 8.238 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.819e-05/0.01495, allocations: 17.66 kB / 250.3 MB, free: 8.215 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01495, allocations: 0 / 250.3 MB, free: 8.215 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.044e-05/0.01501, allocations: 41.69 kB / 250.3 MB, free: 8.168 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.01503, allocations: 4 kB / 250.3 MB, free: 8.164 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.01503, allocations: 0 / 250.3 MB, free: 8.164 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.01504, allocations: 8 kB / 250.4 MB, free: 8.156 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.422e-05/0.0151, allocations: 12.14 kB / 250.4 MB, free: 8.145 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.0151, allocations: 7.875 kB / 250.4 MB, free: 8.137 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.378e-05/0.01513, allocations: 8 kB / 250.4 MB, free: 8.129 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.01514, allocations: 3.938 kB / 250.4 MB, free: 8.125 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 6.329e-05/0.0152, allocations: 112.7 kB / 250.5 MB, free: 8.004 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.01531, allocations: 81.59 kB / 250.6 MB, free: 7.918 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003062/0.01837, allocations: 21.45 kB / 250.6 MB, free: 7.902 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.01838, allocations: 4 kB / 250.6 MB, free: 7.898 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.01838, allocations: 0 / 250.6 MB, free: 7.898 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.01839, allocations: 4 kB / 250.6 MB, free: 7.895 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.01859, allocations: 109.9 kB / 250.7 MB, free: 7.77 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.0186, allocations: 0 / 250.7 MB, free: 7.77 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.01871, allocations: 47.91 kB / 250.8 MB, free: 7.723 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/0.01876, allocations: 19.89 kB / 250.8 MB, free: 7.703 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.01876, allocations: 4 kB / 250.8 MB, free: 7.699 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.01877, allocations: 7.984 kB / 250.8 MB, free: 7.691 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01878, allocations: 0 / 250.8 MB, free: 7.691 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.01878, allocations: 0 / 250.8 MB, free: 7.691 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.01891, allocations: 237.8 kB / 251 MB, free: 7.434 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.01893, allocations: 8.031 kB / 251 MB, free: 7.426 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.01904, allocations: 11.98 kB / 251 MB, free: 7.414 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/0.01906, allocations: 4 kB / 251 MB, free: 7.41 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.01907, allocations: 4 kB / 251 MB, free: 7.406 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.788e-05/0.01912, allocations: 53.84 kB / 251.1 MB, free: 7.352 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01912, allocations: 0 / 251.1 MB, free: 7.352 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002255/0.01934, allocations: 16 kB / 251.1 MB, free: 7.336 MB / 250.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 9.988e-05/0.01944, allocations: 84.34 kB / 251.2 MB, free: 7.242 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.112e-05/0.01953, allocations: 36.8 kB / 251.2 MB, free: 7.203 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.01954, allocations: 4 kB / 251.2 MB, free: 7.199 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.62e-05/0.01956, allocations: 12.84 kB / 251.2 MB, free: 7.184 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.01997, allocations: 94.45 kB / 251.3 MB, free: 7.094 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.0211, allocations: 375.8 kB / 251.7 MB, free: 6.684 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.127e-05/0.02116, allocations: 87.77 kB / 251.8 MB, free: 6.578 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.003071/0.02423, allocations: 9.141 kB / 251.8 MB, free: 6.57 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.02436, allocations: 83.33 kB / 251.9 MB, free: 6.488 MB / 250.7 MB Notification: Performance of SimCode: time 1.042e-06/0.02436, allocations: 0 / 251.9 MB, free: 6.488 MB / 250.7 MB Notification: Performance of Templates: time 0.004137/0.0285, allocations: 1.928 MB / 253.8 MB, free: 4.613 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.5291970409452915]