Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.0009764/0.0009764, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0009459/0.0009459, allocations: 161 kB / 24.56 MB, free: 20 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.005/1.005, allocations: 177.1 MB / 205 MB, free: 5.289 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.2785/0.2785, allocations: 34.26 MB / 295.7 MB, free: 0.6445 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 378.1 MB, free: 2.551 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.989e-05/3.174e-05, allocations: 6.312 kB / 378.1 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003711/0.003743, allocations: 1.754 MB / 379.9 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.005404, allocations: 1.013 MB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.005519, allocations: 3.938 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004143/0.005933, allocations: 55.69 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000437/0.00637, allocations: 103.5 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.00664, allocations: 75.66 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.006856, allocations: 119.5 kB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.00697, allocations: 4 kB / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.007107, allocations: 55.83 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.555e-05/0.007203, allocations: 23.91 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.007226, allocations: 4 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.007355, allocations: 47.86 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.041e-05/0.007425, allocations: 27.92 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.94e-05/0.007485, allocations: 35.84 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.007747, allocations: 111.5 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.007751, allocations: 0 / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.007753, allocations: 0 / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.007758, allocations: 4 kB / 381.6 MB, free: 15.09 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.0006522/0.00841, allocations: 479.6 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.008461, allocations: 12.03 kB / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.008533, allocations: 20.84 kB / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.00879, allocations: 164.3 kB / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.008815, allocations: 384 / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.00885, allocations: 8.359 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.009019, allocations: 62.94 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.009031, allocations: 3.938 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.009043, allocations: 4 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.009052, allocations: 0 / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.65e-05/0.009099, allocations: 15.98 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.009504, allocations: 299.8 kB / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.009637, allocations: 55.17 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.646e-05/0.009674, allocations: 19.56 kB / 382.7 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.009689, allocations: 4 kB / 382.7 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001242/0.009813, allocations: 73.05 kB / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.009815, allocations: 0 / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004942/0.01031, allocations: 177.2 kB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.01035, allocations: 59.34 kB / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.01058, allocations: 274.6 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.0106, allocations: 29.7 kB / 383.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.164e-05/0.0107, allocations: 162.9 kB / 383.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.01074, allocations: 27.78 kB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/0.01078, allocations: 31.38 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.01095, allocations: 0.5079 MB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.871e-05/0.01098, allocations: 12 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.72e-05/0.01103, allocations: 31.36 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.387e-05/0.01111, allocations: 63.3 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.01112, allocations: 0 / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001535/0.01127, allocations: 85.59 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.01129, allocations: 10.66 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.01129, allocations: 0 / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.01131, allocations: 0 / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.987e-05/0.0114, allocations: 23.95 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.01141, allocations: 4 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.862e-05/0.01145, allocations: 0 / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.01146, allocations: 8 kB / 384.2 MB, free: 12.19 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 9.296e-05/0.01155, allocations: 160.5 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.01158, allocations: 23.86 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/0.01179, allocations: 107.1 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01179, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.0118, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.01181, allocations: 7.984 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004139/0.01222, allocations: 409 kB / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.01222, allocations: 0 / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.504e-05/0.01227, allocations: 11.98 kB / 384.9 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.01227, allocations: 0 / 384.9 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.01228, allocations: 4 kB / 384.9 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01228, allocations: 0 / 384.9 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.01229, allocations: 3.938 kB / 384.9 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.0125, allocations: 267.4 kB / 385.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.97e-05/0.01252, allocations: 11.91 kB / 385.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.01254, allocations: 384 / 385.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.01262, allocations: 12.02 kB / 385.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.01266, allocations: 19.92 kB / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.01268, allocations: 0 / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001471/0.01283, allocations: 204.5 kB / 385.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01283, allocations: 0 / 385.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002931/0.01312, allocations: 27.94 kB / 385.5 MB, free: 10.86 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.00134/0.01446, allocations: 446 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.01461, allocations: 47.61 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.01462, allocations: 4.062 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.548e-05/0.01467, allocations: 39.61 kB / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.01502, allocations: 38.55 kB / 386 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005134/0.01553, allocations: 266.4 kB / 386.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.106e-05/0.01559, allocations: 75.33 kB / 386.4 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.052e-05/0.01565, allocations: 17.03 kB / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.01568, allocations: 20.5 kB / 386.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of SimCode: time 6.42e-07/0.01569, allocations: 0 / 386.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of Templates: time 0.005077/0.02076, allocations: 1.891 MB / 388.3 MB, free: 8.16 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.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.3157085375860333]