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.0008895/0.0008895, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.0009344/0.0009344, allocations: 170 kB / 24.91 MB, free: 9.191 MB / 18.57 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.9806/0.9806, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.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.573e-06/1.573e-06, allocations: 0 / 273.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.807e-05, allocations: 2.312 kB / 273.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002642/0.00267, allocations: 1.925 MB / 275.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.003757, allocations: 0.6971 MB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.003883, allocations: 11.88 kB / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.004004, allocations: 19.73 kB / 276.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.004113, allocations: 27.78 kB / 276.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.00444, allocations: 115.6 kB / 276.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.00461, allocations: 143.5 kB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.004725, allocations: 54.53 kB / 276.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.004904, allocations: 79.8 kB / 276.6 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.54e-05/0.004979, allocations: 35.84 kB / 276.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.005001, allocations: 15.98 kB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.173e-05/0.005063, allocations: 12 kB / 276.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.785e-05/0.005111, allocations: 27.92 kB / 276.7 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.602e-05/0.005147, allocations: 39.84 kB / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.005325, allocations: 107.5 kB / 276.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.005327, allocations: 0 / 276.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.005329, allocations: 0 / 276.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.005333, allocations: 0 / 276.8 MB, free: 13.94 MB / 266.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.0003894/0.005722, allocations: 352.3 kB / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.005753, allocations: 8.031 kB / 277.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.00588, allocations: 36.91 kB / 277.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.006084, allocations: 182.2 kB / 277.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.0061, allocations: 4.562 kB / 277.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.006111, allocations: 8.375 kB / 277.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.006364, allocations: 250.6 kB / 277.6 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.006371, allocations: 3.938 kB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.006383, allocations: 8 kB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.006387, allocations: 0 / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.686e-05/0.006424, allocations: 23.92 kB / 277.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002537/0.006678, allocations: 274.8 kB / 277.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.006834, allocations: 148.8 kB / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.344e-05/0.006888, allocations: 72.33 kB / 278.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.006906, allocations: 4 kB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.006928, allocations: 42.5 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.874e-06/0.00693, allocations: 0 / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001796/0.007109, allocations: 113.5 kB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/0.007181, allocations: 199.8 kB / 278.5 MB, free: 12.01 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.94e-05/0.00727, allocations: 167.3 kB / 278.7 MB, free: 11.83 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.007284, allocations: 30.08 kB / 278.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.728e-05/0.007322, allocations: 100.1 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.007336, allocations: 3.953 kB / 278.8 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.007366, allocations: 21.7 kB / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.424e-05/0.00744, allocations: 326.8 kB / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.232e-06/0.007446, allocations: 0 / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.609e-05/0.007472, allocations: 44.28 kB / 279.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.651e-05/0.007499, allocations: 21.7 kB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.007501, allocations: 0 / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.931e-05/0.00755, allocations: 45.72 kB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.007562, allocations: 8 kB / 279.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.269e-06/0.007566, allocations: 0 / 279.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.007576, allocations: 0 / 279.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.906e-05/0.007615, allocations: 4.188 kB / 279.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.007617, allocations: 0 / 279.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.643e-05/0.007644, allocations: 7.984 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.007649, allocations: 3.938 kB / 279.3 MB, free: 11.18 MB / 266.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.83e-05/0.007717, allocations: 124.6 kB / 279.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.007817, allocations: 86.02 kB / 279.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.285e-05/0.00785, allocations: 21.5 kB / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.007854, allocations: 4 kB / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.007857, allocations: 4 kB / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.007862, allocations: 3.984 kB / 279.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.008007, allocations: 101.7 kB / 279.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.008011, allocations: 4 kB / 279.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.692e-05/0.008078, allocations: 31.92 kB / 279.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.008082, allocations: 4 kB / 279.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.008089, allocations: 4 kB / 279.6 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.008092, allocations: 7.984 kB / 279.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.008095, allocations: 8 kB / 279.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.008203, allocations: 237.4 kB / 279.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.51e-05/0.008248, allocations: 31.83 kB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.008262, allocations: 4 kB / 279.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.64e-05/0.008328, allocations: 8 kB / 279.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.008355, allocations: 3.984 kB / 279.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.008361, allocations: 4 kB / 279.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.157e-05/0.008402, allocations: 49.86 kB / 280 MB, free: 10.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008402, allocations: 0 / 280 MB, free: 10.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000152/0.008554, allocations: 23.97 kB / 280 MB, free: 10.36 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: 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 8.649e-05/0.008641, allocations: 84.36 kB / 280.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.366e-05/0.008724, allocations: 40.72 kB / 280.1 MB, free: 10.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.008728, allocations: 0 / 280.1 MB, free: 10.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.287e-05/0.008741, allocations: 12.86 kB / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.009033, allocations: 79.75 kB / 280.2 MB, free: 10.13 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006222/0.009655, allocations: 360 kB / 280.6 MB, free: 9.738 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.731e-05/0.009712, allocations: 79.81 kB / 280.7 MB, free: 9.641 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.838e-05/0.009751, allocations: 13.16 kB / 280.7 MB, free: 9.629 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.575e-05/0.009836, allocations: 79.34 kB / 280.7 MB, free: 9.551 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.009837, allocations: 0 / 280.7 MB, free: 9.551 MB / 266.7 MB Notification: Performance of Templates: time 0.003358/0.01319, allocations: 1.866 MB / 282.6 MB, free: 7.738 MB / 266.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 -s gbode -gbm=radauIIA3 -emit_protected -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.670918762218207]