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.001302/0.001302, allocations: 78.19 kB / 21.42 MB, free: 3.082 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.004343/0.004343, allocations: 154 kB / 24.81 MB, free: 9.297 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.9832/0.9832, allocations: 173.4 MB / 201.4 MB, free: 9.215 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.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 1.422e-06/1.422e-06, allocations: 0 / 268.4 MB, free: 6.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.683e-05/1.825e-05, allocations: 6.25 kB / 268.4 MB, free: 6.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.00269/0.002708, allocations: 1.639 MB / 270.1 MB, free: 4.531 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008099/0.003518, allocations: 498.4 kB / 270.5 MB, free: 4.039 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.897e-05/0.003597, allocations: 4 kB / 270.6 MB, free: 4.035 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.741e-05/0.003634, allocations: 11.88 kB / 270.6 MB, free: 4.023 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.003742, allocations: 19.84 kB / 270.6 MB, free: 4.004 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.003925, allocations: 51.77 kB / 270.6 MB, free: 3.953 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.066e-05/0.004005, allocations: 47.8 kB / 270.7 MB, free: 3.906 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.942e-05/0.004075, allocations: 19.97 kB / 270.7 MB, free: 3.887 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.851e-05/0.004143, allocations: 35.84 kB / 270.7 MB, free: 3.852 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.194e-05/0.004185, allocations: 11.98 kB / 270.7 MB, free: 3.84 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.004199, allocations: 4 kB / 270.8 MB, free: 3.836 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-06/0.004209, allocations: 4 kB / 270.8 MB, free: 3.832 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.485e-05/0.004243, allocations: 19.91 kB / 270.8 MB, free: 3.812 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.004262, allocations: 19.94 kB / 270.8 MB, free: 3.793 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.359e-05/0.004346, allocations: 51.7 kB / 270.8 MB, free: 3.742 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.004347, allocations: 0 / 270.8 MB, free: 3.742 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.7e-07/0.004348, allocations: 0 / 270.8 MB, free: 3.742 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.004351, allocations: 0 / 270.8 MB, free: 3.742 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.0003248/0.004676, allocations: 416.2 kB / 271.3 MB, free: 3.301 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.004712, allocations: 8.922 kB / 271.3 MB, free: 3.293 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.004741, allocations: 16.83 kB / 271.3 MB, free: 3.277 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.004876, allocations: 148.1 kB / 271.4 MB, free: 3.109 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-06/0.004883, allocations: 4.375 kB / 271.4 MB, free: 3.105 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-06/0.004891, allocations: 4.375 kB / 271.4 MB, free: 3.102 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.005057, allocations: 148.8 kB / 271.6 MB, free: 2.922 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.005063, allocations: 3.938 kB / 271.6 MB, free: 2.918 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.501e-06/0.005068, allocations: 0 / 271.6 MB, free: 2.918 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.005073, allocations: 3.938 kB / 271.6 MB, free: 2.914 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.951e-05/0.005092, allocations: 19.92 kB / 271.6 MB, free: 2.895 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.005302, allocations: 283.4 kB / 271.9 MB, free: 2.578 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.901e-05/0.005371, allocations: 112.2 kB / 272 MB, free: 2.418 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.278e-05/0.005404, allocations: 46.86 kB / 272 MB, free: 2.355 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.005422, allocations: 4 kB / 272 MB, free: 2.352 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.005444, allocations: 45.33 kB / 272.1 MB, free: 2.297 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.005445, allocations: 0 / 272.1 MB, free: 2.297 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001307/0.005576, allocations: 73.52 kB / 272.2 MB, free: 2.219 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.005627, allocations: 136.5 kB / 272.3 MB, free: 2.055 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.194e-05/0.005709, allocations: 197.9 kB / 272.5 MB, free: 1.844 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.005719, allocations: 25.7 kB / 272.5 MB, free: 1.812 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.005764, allocations: 138.9 kB / 272.6 MB, free: 1.672 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.00578, allocations: 3.953 kB / 272.6 MB, free: 1.668 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.005807, allocations: 23.38 kB / 272.7 MB, free: 1.637 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.005913, allocations: 0.4922 MB / 273.2 MB, free: 1.133 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.205e-06/0.005921, allocations: 4.5 kB / 273.2 MB, free: 1.129 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.409e-05/0.005935, allocations: 19.38 kB / 273.2 MB, free: 1.102 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.529e-05/0.00596, allocations: 19.38 kB / 273.2 MB, free: 1.074 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.005962, allocations: 3.938 kB / 273.2 MB, free: 1.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.875e-05/0.006011, allocations: 57.56 kB / 273.3 MB, free: 1.008 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.466e-06/0.00602, allocations: 4 kB / 273.3 MB, free: 1.004 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.006024, allocations: 4 kB / 273.3 MB, free: 1 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.687e-06/0.006033, allocations: 0 / 273.3 MB, free: 1 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.963e-05/0.006072, allocations: 8.125 kB / 273.3 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.006075, allocations: 4 kB / 273.3 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.512e-05/0.00609, allocations: 0 / 273.3 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.006095, allocations: 4 kB / 273.3 MB, free: 0.9844 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.464e-05/0.00616, allocations: 164.5 kB / 273.4 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.006203, allocations: 53.59 kB / 273.5 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.683e-05/0.006229, allocations: 15.95 kB / 273.5 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.00623, allocations: 0 / 273.5 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.006232, allocations: 4 kB / 273.5 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.006235, allocations: 0 / 273.5 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.006341, allocations: 113.3 kB / 273.6 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.006342, allocations: 3.938 kB / 273.6 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.923e-05/0.006371, allocations: 15.92 kB / 273.6 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.006375, allocations: 7.938 kB / 273.7 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.179e-06/0.00638, allocations: 4 kB / 273.7 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.006381, allocations: 0 / 273.7 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.006383, allocations: 4 kB / 273.7 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.432e-05/0.006467, allocations: 211 kB / 273.9 MB, free: 328 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.86e-05/0.006496, allocations: 23.83 kB / 273.9 MB, free: 304 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.187e-06/0.006505, allocations: 4.016 kB / 273.9 MB, free: 300 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.322e-05/0.006538, allocations: 8 kB / 273.9 MB, free: 292 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.006556, allocations: 3.938 kB / 273.9 MB, free: 288 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.00656, allocations: 8 kB / 273.9 MB, free: 280 kB / 250.7 MB Notification: Performance of sorting global known variables: time 5.977e-05/0.006619, allocations: 146.1 kB / 274.1 MB, free: 136 kB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006619, allocations: 0 / 274.1 MB, free: 136 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.000146/0.006765, allocations: 11.95 kB / 274.1 MB, free: 124 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 5.775e-05/0.006823, allocations: 101.2 kB / 274.2 MB, free: 16 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.539e-05/0.006888, allocations: 23.73 kB / 274.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.00689, allocations: 4.062 kB / 274.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.336e-05/0.006903, allocations: 11.69 kB / 274.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.00712, allocations: 36.81 kB / 274.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003399/0.00746, allocations: 203.8 kB / 274.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.598e-05/0.007496, allocations: 63.34 kB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.05e-05/0.007516, allocations: 8.312 kB / 274.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.258e-05/0.007569, allocations: 78.19 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.00757, allocations: 0 / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of Templates: time 0.002043/0.009612, allocations: 0.8203 MB / 275.4 MB, free: 14.73 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","",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.6920688981190324]