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.001221/0.001221, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.00112/0.00112, allocations: 147 kB / 24.89 MB, free: 8.793 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.938/0.938, allocations: 173.4 MB / 201.5 MB, free: 8.758 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 2.043e-06/2.043e-06, allocations: 0 / 268.5 MB, free: 5.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.84e-05, allocations: 2.312 kB / 268.5 MB, free: 5.973 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002802/0.00283, allocations: 1.914 MB / 270.4 MB, free: 4.043 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008682/0.003699, allocations: 0.6269 MB / 271.1 MB, free: 3.414 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.003809, allocations: 11.94 kB / 271.1 MB, free: 3.402 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.003938, allocations: 23.73 kB / 271.1 MB, free: 3.379 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.004052, allocations: 23.8 kB / 271.1 MB, free: 3.355 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.004314, allocations: 103.6 kB / 271.2 MB, free: 3.254 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.00447, allocations: 143.5 kB / 271.4 MB, free: 3.113 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.004584, allocations: 42.61 kB / 271.4 MB, free: 3.07 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.004696, allocations: 75.75 kB / 271.5 MB, free: 2.996 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.808e-05/0.004764, allocations: 39.83 kB / 271.5 MB, free: 2.957 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.004784, allocations: 12 kB / 271.5 MB, free: 2.945 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.563e-05/0.0048, allocations: 8 kB / 271.5 MB, free: 2.938 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.216e-05/0.004842, allocations: 35.91 kB / 271.6 MB, free: 2.902 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.004874, allocations: 35.86 kB / 271.6 MB, free: 2.867 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.005007, allocations: 87.66 kB / 271.7 MB, free: 2.781 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.00501, allocations: 7.938 kB / 271.7 MB, free: 2.773 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.005011, allocations: 0 / 271.7 MB, free: 2.773 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.005016, allocations: 0 / 271.7 MB, free: 2.773 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.0003582/0.005374, allocations: 348.3 kB / 272 MB, free: 2.41 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.005403, allocations: 8.031 kB / 272.1 MB, free: 2.402 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.005435, allocations: 16.92 kB / 272.1 MB, free: 2.387 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.005628, allocations: 190.3 kB / 272.3 MB, free: 2.172 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.005644, allocations: 8.562 kB / 272.3 MB, free: 2.164 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.005657, allocations: 12.38 kB / 272.3 MB, free: 2.152 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.005919, allocations: 258.4 kB / 272.5 MB, free: 1.859 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.005927, allocations: 8 kB / 272.5 MB, free: 1.852 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.005936, allocations: 4 kB / 272.5 MB, free: 1.848 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.005942, allocations: 4 kB / 272.5 MB, free: 1.844 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.804e-05/0.00598, allocations: 23.92 kB / 272.6 MB, free: 1.82 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002182/0.006198, allocations: 271 kB / 272.8 MB, free: 1.527 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.006355, allocations: 144.8 kB / 273 MB, free: 1.34 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.526e-05/0.00641, allocations: 72.23 kB / 273 MB, free: 1.254 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.006427, allocations: 12 kB / 273.1 MB, free: 1.242 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.006453, allocations: 42.5 kB / 273.1 MB, free: 1.191 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 1.472e-06/0.006455, allocations: 0 / 273.1 MB, free: 1.191 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001963/0.006651, allocations: 113.5 kB / 273.2 MB, free: 1.074 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.922e-05/0.00675, allocations: 195.9 kB / 273.4 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.006856, allocations: 163.4 kB / 273.6 MB, free: 0.668 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.006874, allocations: 33.7 kB / 273.6 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.33e-05/0.006917, allocations: 92.48 kB / 273.7 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.006933, allocations: 12.2 kB / 273.7 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.00697, allocations: 29.7 kB / 273.7 MB, free: 500 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.954e-05/0.007069, allocations: 322.8 kB / 274 MB, free: 168 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.007079, allocations: 4 kB / 274 MB, free: 164 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.403e-05/0.007113, allocations: 49.14 kB / 274.1 MB, free: 96 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.785e-05/0.007151, allocations: 30.56 kB / 274.1 MB, free: 56 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.007154, allocations: 7.875 kB / 274.1 MB, free: 48 kB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.857e-05/0.007232, allocations: 57.56 kB / 274.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.007245, allocations: 8.125 kB / 274.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.00725, allocations: 4 kB / 274.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.007263, allocations: 0 / 274.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.02e-05/0.007323, allocations: 11.98 kB / 274.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.007326, allocations: 0 / 274.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.071e-05/0.007357, allocations: 7.953 kB / 274.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.007362, allocations: 0 / 274.2 MB, free: 15.95 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 6.919e-05/0.007431, allocations: 116.7 kB / 274.3 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.625e-05/0.007527, allocations: 89.53 kB / 274.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.563e-05/0.007563, allocations: 21.48 kB / 274.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.007567, allocations: 8 kB / 274.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.007569, allocations: 0 / 274.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.007574, allocations: 4 kB / 274.5 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.007704, allocations: 97.78 kB / 274.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.007706, allocations: 3.984 kB / 274.6 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.795e-05/0.007774, allocations: 35.92 kB / 274.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.007777, allocations: 7.938 kB / 274.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.007783, allocations: 4 kB / 274.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.007785, allocations: 4 kB / 274.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.007786, allocations: 0 / 274.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.249e-05/0.007879, allocations: 241.3 kB / 274.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.943e-05/0.007918, allocations: 27.86 kB / 274.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.007936, allocations: 11.92 kB / 274.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.008002, allocations: 8 kB / 274.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.076e-05/0.008023, allocations: 0 / 274.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.008028, allocations: 4 kB / 274.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.647e-05/0.008065, allocations: 58.69 kB / 274.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008065, allocations: 0 / 274.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001477/0.008213, allocations: 20 kB / 275 MB, free: 15.14 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 7.921e-05/0.008292, allocations: 88.66 kB / 275.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.496e-05/0.008367, allocations: 40.78 kB / 275.1 MB, free: 15 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.008369, allocations: 0 / 275.1 MB, free: 15 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-05/0.00838, allocations: 8.859 kB / 275.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.008678, allocations: 92.31 kB / 275.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004502/0.009128, allocations: 304.2 kB / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.884e-05/0.009177, allocations: 83.83 kB / 275.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.983e-05/0.009207, allocations: 9.141 kB / 275.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.253e-05/0.009289, allocations: 79.34 kB / 275.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.00929, allocations: 0 / 275.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of Templates: time 0.003218/0.01251, allocations: 1.913 MB / 277.6 MB, free: 12.51 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 -s gbode -gbm=radauIIA3 -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.7041217340156436]