Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.0007221/0.0007221, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009887/0.001711, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006374/0.0006374, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009282/0.001566, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8697/0.8697, allocations: 173.4 MB / 185.9 MB, free: 8.914 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07079/0.9405, allocations: 52.49 MB / 238.4 MB, free: 4.355 MB / 234.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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|//shiftSample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 239.7 MB, free: 3.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.828e-05/1.984e-05, allocations: 3.438 kB / 239.7 MB, free: 3.066 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002828/0.002848, allocations: 1.935 MB / 241.7 MB, free: 1.117 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009399/0.003788, allocations: 0.6308 MB / 242.3 MB, free: 496 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.003901, allocations: 7.938 kB / 242.3 MB, free: 488 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.232e-05/0.003993, allocations: 27.72 kB / 242.3 MB, free: 460 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.431e-05/0.004077, allocations: 19.8 kB / 242.4 MB, free: 440 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.004344, allocations: 107.6 kB / 242.5 MB, free: 332 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.004517, allocations: 139.5 kB / 242.6 MB, free: 192 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.004633, allocations: 42.61 kB / 242.6 MB, free: 148 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.004781, allocations: 95.67 kB / 242.7 MB, free: 52 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.585e-05/0.004867, allocations: 39.84 kB / 242.8 MB, free: 12 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.004894, allocations: 8 kB / 242.8 MB, free: 4 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.679e-05/0.004931, allocations: 12.05 kB / 242.8 MB, free: 15.99 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.574e-05/0.004976, allocations: 23.88 kB / 242.8 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.569e-05/0.005012, allocations: 23.94 kB / 242.8 MB, free: 15.94 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.005157, allocations: 95.5 kB / 242.9 MB, free: 15.85 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/0.005167, allocations: 0 / 242.9 MB, free: 15.85 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.005168, allocations: 0 / 242.9 MB, free: 15.85 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.005177, allocations: 0 / 242.9 MB, free: 15.85 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.0004463/0.005623, allocations: 368 kB / 243.3 MB, free: 15.47 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.005653, allocations: 16.03 kB / 243.3 MB, free: 15.45 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.005697, allocations: 16.92 kB / 243.3 MB, free: 15.44 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.005926, allocations: 183.2 kB / 243.5 MB, free: 15.23 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.005944, allocations: 8.562 kB / 243.5 MB, free: 15.22 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.005964, allocations: 8.375 kB / 243.5 MB, free: 15.21 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.006284, allocations: 251.9 kB / 243.8 MB, free: 14.93 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.006291, allocations: 0 / 243.8 MB, free: 14.93 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.006303, allocations: 4 kB / 243.8 MB, free: 14.93 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.006311, allocations: 11.92 kB / 243.8 MB, free: 14.92 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.79e-05/0.006359, allocations: 19.94 kB / 243.8 MB, free: 14.9 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.006617, allocations: 278.9 kB / 244.1 MB, free: 14.6 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.006807, allocations: 148.8 kB / 244.2 MB, free: 14.41 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.03e-05/0.006867, allocations: 64.33 kB / 244.3 MB, free: 14.33 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.006889, allocations: 15.92 kB / 244.3 MB, free: 14.31 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.006915, allocations: 38.56 kB / 244.3 MB, free: 14.27 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/0.006916, allocations: 0 / 244.3 MB, free: 14.27 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002348/0.007151, allocations: 113.5 kB / 244.4 MB, free: 14.15 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.007213, allocations: 166.2 kB / 244.6 MB, free: 13.95 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.007321, allocations: 163.4 kB / 244.8 MB, free: 13.78 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.007336, allocations: 34.08 kB / 244.8 MB, free: 13.74 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.159e-05/0.007378, allocations: 92.12 kB / 244.9 MB, free: 13.64 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.007394, allocations: 11.94 kB / 244.9 MB, free: 13.63 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.007426, allocations: 21.61 kB / 244.9 MB, free: 13.61 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.117e-05/0.007507, allocations: 330.7 kB / 245.3 MB, free: 13.27 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.008e-05/0.007518, allocations: 4 kB / 245.3 MB, free: 13.27 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.81e-05/0.007546, allocations: 40.28 kB / 245.3 MB, free: 13.21 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.795e-05/0.007574, allocations: 21.7 kB / 245.3 MB, free: 13.19 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.007576, allocations: 0 / 245.3 MB, free: 13.19 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.942e-05/0.007635, allocations: 45.91 kB / 245.4 MB, free: 13.14 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.007647, allocations: 8 kB / 245.4 MB, free: 13.13 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.007651, allocations: 0 / 245.4 MB, free: 13.13 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.00766, allocations: 0 / 245.4 MB, free: 13.13 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.966e-05/0.007719, allocations: 7.984 kB / 245.4 MB, free: 13.12 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-06/0.007722, allocations: 0 / 245.4 MB, free: 13.12 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.771e-05/0.007759, allocations: 7.984 kB / 245.4 MB, free: 13.11 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.007767, allocations: 7.938 kB / 245.4 MB, free: 13.11 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.789e-05/0.007835, allocations: 116.7 kB / 245.5 MB, free: 12.98 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.007961, allocations: 93.59 kB / 245.6 MB, free: 12.88 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/0.007999, allocations: 21.45 kB / 245.6 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.008001, allocations: 0 / 245.6 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.008003, allocations: 4 kB / 245.6 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.008007, allocations: 0 / 245.6 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.008193, allocations: 105.7 kB / 245.7 MB, free: 12.74 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.008195, allocations: 0 / 245.7 MB, free: 12.74 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.008302, allocations: 39.91 kB / 245.8 MB, free: 12.7 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/0.008354, allocations: 31.8 kB / 245.8 MB, free: 12.67 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.008357, allocations: 0 / 245.8 MB, free: 12.67 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.008364, allocations: 4 kB / 245.8 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.008369, allocations: 8.031 kB / 245.8 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.00837, allocations: 0 / 245.8 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.008481, allocations: 241.3 kB / 246 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.008497, allocations: 0 / 246 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.008619, allocations: 12 kB / 246.1 MB, free: 12.38 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.213e-05/0.008641, allocations: 7.922 kB / 246.1 MB, free: 12.38 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.008649, allocations: 4 kB / 246.1 MB, free: 12.37 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.848e-05/0.008698, allocations: 50.72 kB / 246.1 MB, free: 12.32 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008698, allocations: 0 / 246.1 MB, free: 12.32 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002431/0.008941, allocations: 16.03 kB / 246.1 MB, free: 12.3 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 8.057e-05/0.009021, allocations: 84.41 kB / 246.2 MB, free: 12.21 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.298e-05/0.009104, allocations: 40.78 kB / 246.3 MB, free: 12.17 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.009109, allocations: 0 / 246.3 MB, free: 12.17 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.208e-05/0.009131, allocations: 12.84 kB / 246.3 MB, free: 12.16 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005184/0.00965, allocations: 338 kB / 246.6 MB, free: 11.77 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.01085, allocations: 379.4 kB / 247 MB, free: 11.36 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.662e-05/0.01091, allocations: 75.83 kB / 247 MB, free: 11.27 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.016e-05/0.01095, allocations: 16.86 kB / 247.1 MB, free: 11.25 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.01106, allocations: 87.33 kB / 247.1 MB, free: 11.16 MB / 250.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01106, allocations: 0 / 247.1 MB, free: 11.16 MB / 250.7 MB Notification: Performance of Templates: time 0.01183/0.02289, allocations: 1.924 MB / 249.1 MB, free: 9.277 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.161090737208724]