Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.0009337/0.0009337, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009678/0.0009678, allocations: 161 kB / 24.56 MB, free: 16 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 0.9994/0.9994, allocations: 177.1 MB / 205 MB, free: 5.27 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2682/0.2682, allocations: 34.26 MB / 295.7 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 378.1 MB, free: 2.594 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.028e-05, allocations: 6.312 kB / 378.1 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.005969/0.00599, allocations: 1.765 MB / 379.9 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.00766, allocations: 1.013 MB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.072e-05/0.007741, allocations: 0 / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.008057, allocations: 43.7 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003642/0.008421, allocations: 95.47 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.008661, allocations: 79.61 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.008867, allocations: 115.6 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.766e-05/0.008965, allocations: 4 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.009073, allocations: 47.84 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.921e-05/0.009162, allocations: 39.83 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.009181, allocations: 4 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.009291, allocations: 43.92 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.319e-05/0.009354, allocations: 23.91 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.593e-05/0.0094, allocations: 15.94 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.009621, allocations: 103.6 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.009624, allocations: 0 / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.009625, allocations: 0 / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.00963, allocations: 0 / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005305/0.01016, allocations: 451.8 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.0102, allocations: 12.03 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.613e-05/0.01027, allocations: 16.84 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.01048, allocations: 157.1 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.0105, allocations: 384 / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.01052, allocations: 8.359 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.01067, allocations: 62.88 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.01069, allocations: 3.938 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.0107, allocations: 0 / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.01071, allocations: 4 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.29e-05/0.01076, allocations: 15.98 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.01112, allocations: 279.8 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.01126, allocations: 63.09 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.13e-05/0.01131, allocations: 15.62 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.01132, allocations: 4 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001225/0.01144, allocations: 69.05 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.01144, allocations: 0 / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004988/0.01194, allocations: 153.6 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.01198, allocations: 55.39 kB / 382.8 MB, free: 13.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.01217, allocations: 234.3 kB / 383.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.01219, allocations: 29.7 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.497e-05/0.01227, allocations: 154.9 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.01231, allocations: 27.78 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.01235, allocations: 23.38 kB / 383.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.0125, allocations: 0.5001 MB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.645e-05/0.01253, allocations: 11.98 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.083e-05/0.01258, allocations: 47.22 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.424e-05/0.01267, allocations: 51.38 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.01267, allocations: 0 / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001571/0.01283, allocations: 97.52 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.01284, allocations: 4 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01285, allocations: 0 / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.01286, allocations: 4 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.641e-05/0.01296, allocations: 19.98 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.01296, allocations: 0 / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.358e-05/0.01301, allocations: 4 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.01301, allocations: 0 / 384 MB, free: 12.42 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 (10): * Single equations (assignments): 10 * 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.0001006/0.01312, allocations: 172.4 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.01314, allocations: 11.95 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.01336, allocations: 111.1 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.01336, allocations: 0 / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.01336, allocations: 0 / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01337, allocations: 0 / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004114/0.01378, allocations: 392.9 kB / 384.7 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01378, allocations: 0 / 384.7 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.617e-05/0.01383, allocations: 16 kB / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01383, allocations: 0 / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.01384, allocations: 3.984 kB / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.01384, allocations: 4 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.01385, allocations: 4.031 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.01407, allocations: 255.4 kB / 385 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.952e-05/0.01409, allocations: 11.91 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.01412, allocations: 4 kB / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.521e-05/0.01419, allocations: 4 kB / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.01423, allocations: 7.984 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.01424, allocations: 0 / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001115/0.01435, allocations: 180.1 kB / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01435, allocations: 0 / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002869/0.01464, allocations: 23.94 kB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001246/0.01589, allocations: 448.3 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001633/0.01605, allocations: 55.59 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01605, allocations: 0 / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.453e-05/0.01611, allocations: 31.67 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.01645, allocations: 34.83 kB / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004188/0.01687, allocations: 221.8 kB / 386 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.813e-05/0.01693, allocations: 79.45 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.715e-05/0.01698, allocations: 12.97 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.01702, allocations: 16.5 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01702, allocations: 0 / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of Templates: time 0.005002/0.02202, allocations: 2.001 MB / 388.1 MB, free: 8.406 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.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: 3.099265910219401]