Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.002349/0.002349, allocations: 87.67 kB / 20.96 MB, free: 3.441 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.002921/0.002921, allocations: 161.3 kB / 24.27 MB, free: 136 kB / 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 1.608/1.608, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3394/0.3394, allocations: 32.8 MB / 293.9 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 375.3 MB, free: 4.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.944e-05/3.127e-05, allocations: 6.312 kB / 375.3 MB, free: 4.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003392/0.003424, allocations: 1.692 MB / 377 MB, free: 3.211 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.005366, allocations: 0.9743 MB / 378 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.563e-05/0.005442, allocations: 3.938 kB / 378 MB, free: 2.227 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003526/0.005795, allocations: 63.73 kB / 378.1 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003744/0.006169, allocations: 115.5 kB / 378.2 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.006384, allocations: 71.62 kB / 378.3 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.006587, allocations: 115.6 kB / 378.4 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.509e-05/0.006622, allocations: 240 / 378.4 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.006751, allocations: 63.77 kB / 378.4 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.006866, allocations: 47.88 kB / 378.5 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.006885, allocations: 0 / 378.5 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.639e-05/0.006982, allocations: 39.92 kB / 378.5 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.177e-05/0.007043, allocations: 15.92 kB / 378.5 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.81e-05/0.007091, allocations: 19.92 kB / 378.6 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.00733, allocations: 107.6 kB / 378.7 MB, free: 1.578 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.007334, allocations: 0 / 378.7 MB, free: 1.578 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.007335, allocations: 4 kB / 378.7 MB, free: 1.574 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.00734, allocations: 0 / 378.7 MB, free: 1.574 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006668/0.008006, allocations: 443.5 kB / 379.1 MB, free: 1.105 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.008044, allocations: 12.03 kB / 379.1 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.328e-05/0.008108, allocations: 12.89 kB / 379.1 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.008376, allocations: 153.1 kB / 379.3 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.008394, allocations: 8.359 kB / 379.3 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.008405, allocations: 384 / 379.3 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.008542, allocations: 42.25 kB / 379.3 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.008552, allocations: 7.938 kB / 379.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.008561, allocations: 3.938 kB / 379.3 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.008566, allocations: 0 / 379.3 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.303e-05/0.008639, allocations: 15.98 kB / 379.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.008853, allocations: 148.7 kB / 379.5 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.009034, allocations: 59.09 kB / 379.5 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.006e-05/0.009094, allocations: 19.67 kB / 379.6 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.00912, allocations: 0 / 379.6 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.00928, allocations: 76.98 kB / 379.6 MB, free: 472 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.009281, allocations: 0 / 379.6 MB, free: 472 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003002/0.009582, allocations: 97.52 kB / 379.7 MB, free: 368 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.009637, allocations: 51.41 kB / 379.8 MB, free: 304 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.009896, allocations: 250.4 kB / 380 MB, free: 36 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.108e-05/0.009948, allocations: 33.78 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.01007, allocations: 158.8 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.0101, allocations: 11.91 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/0.01016, allocations: 27.38 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002905/0.01045, allocations: 0.5001 MB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.058e-05/0.0105, allocations: 15.92 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-05/0.01056, allocations: 35.36 kB / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.797e-05/0.01066, allocations: 43.38 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.01066, allocations: 0 / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001725/0.01084, allocations: 81.58 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.01085, allocations: 8 kB / 380.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.01086, allocations: 7.875 kB / 380.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.01087, allocations: 3.984 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-05/0.01095, allocations: 8.312 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.01096, allocations: 4 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.685e-05/0.01102, allocations: 7.938 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.01103, allocations: 8 kB / 381 MB, free: 15.04 MB / 362.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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001372/0.01117, allocations: 168.5 kB / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.0112, allocations: 15.91 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/0.01141, allocations: 94.8 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.01141, allocations: 0 / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.01142, allocations: 0 / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.01142, allocations: 0 / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.01173, allocations: 148.6 kB / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.01173, allocations: 4 kB / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.933e-05/0.01176, allocations: 7.984 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01176, allocations: 0 / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.01177, allocations: 0 / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.01178, allocations: 3.938 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01178, allocations: 0 / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.012, allocations: 132.3 kB / 381.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.01202, allocations: 7.953 kB / 381.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.01204, allocations: 4 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.072e-05/0.01209, allocations: 7.938 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.01212, allocations: 3.984 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.01214, allocations: 4 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001565/0.01229, allocations: 176.2 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01229, allocations: 0 / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002078/0.0125, allocations: 23.92 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 0.002887/0.01539, allocations: 439.8 kB / 382.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.01559, allocations: 47.61 kB / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01559, allocations: 0 / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.564e-05/0.01567, allocations: 27.67 kB / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006322/0.0163, allocations: 42.56 kB / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005094/0.01681, allocations: 206.1 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.01693, allocations: 93.38 kB / 382.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.773e-05/0.01698, allocations: 20.53 kB / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.433e-05/0.01703, allocations: 16.5 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01703, allocations: 0 / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of Templates: time 0.005478/0.0225, allocations: 1.619 MB / 384.3 MB, free: 11.82 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.939629995962605]