Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.001755/0.001755, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.00184/0.00184, allocations: 169.3 kB / 24.27 MB, free: 144 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.68/1.68, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.3586/0.3586, allocations: 32.79 MB / 293.9 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 179] 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 375.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.588e-05/3.759e-05, allocations: 6.25 kB / 375.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003579/0.003616, allocations: 1.726 MB / 377.1 MB, free: 3.16 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.005638, allocations: 0.9664 MB / 378 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.74e-05/0.005715, allocations: 0 / 378 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.006032, allocations: 47.7 kB / 378.1 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003726/0.006404, allocations: 91.53 kB / 378.2 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.006632, allocations: 83.59 kB / 378.3 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.006845, allocations: 107.6 kB / 378.4 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.84e-05/0.006943, allocations: 4 kB / 378.4 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.00707, allocations: 55.83 kB / 378.4 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.44e-05/0.007154, allocations: 27.91 kB / 378.4 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.007176, allocations: 4 kB / 378.5 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.007294, allocations: 47.91 kB / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.205e-05/0.007366, allocations: 19.92 kB / 378.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.884e-05/0.007425, allocations: 19.94 kB / 378.5 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.007709, allocations: 119.5 kB / 378.7 MB, free: 1.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.007718, allocations: 3.984 kB / 378.7 MB, free: 1.566 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.007719, allocations: 0 / 378.7 MB, free: 1.566 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.007726, allocations: 0 / 378.7 MB, free: 1.566 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007531/0.008479, allocations: 333.6 kB / 379 MB, free: 1.211 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.008528, allocations: 12.03 kB / 379 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.044e-05/0.008608, allocations: 12.88 kB / 379 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.009013, allocations: 153.5 kB / 379.2 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.009036, allocations: 12.3 kB / 379.2 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.009065, allocations: 4.375 kB / 379.2 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.009242, allocations: 58.23 kB / 379.2 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.009257, allocations: 3.938 kB / 379.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.009269, allocations: 0 / 379.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.009274, allocations: 0 / 379.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.841e-05/0.009362, allocations: 19.98 kB / 379.3 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.009778, allocations: 228.6 kB / 379.5 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.009988, allocations: 58.61 kB / 379.5 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.091e-05/0.01006, allocations: 28.8 kB / 379.6 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.01008, allocations: 3.938 kB / 379.6 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.01025, allocations: 71.38 kB / 379.6 MB, free: 484 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.01025, allocations: 0 / 379.6 MB, free: 484 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009474/0.0112, allocations: 181.3 kB / 379.8 MB, free: 296 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.01125, allocations: 55.41 kB / 379.9 MB, free: 228 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.01149, allocations: 195.2 kB / 380.1 MB, free: 16 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.01154, allocations: 25.7 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.148e-05/0.01163, allocations: 108 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.01166, allocations: 15.86 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/0.01172, allocations: 37.64 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.01192, allocations: 322.8 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.948e-05/0.01198, allocations: 20 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.529e-05/0.01206, allocations: 33.7 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.0122, allocations: 65.64 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.0122, allocations: 0 / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002233/0.01243, allocations: 105.6 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.01244, allocations: 8 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.01245, allocations: 4.031 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.01247, allocations: 0 / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.01258, allocations: 20.3 kB / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.01259, allocations: 4 kB / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.027e-05/0.01264, allocations: 3.953 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.01265, allocations: 8 kB / 380.8 MB, free: 15.21 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.0001434/0.0128, allocations: 129.7 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.01283, allocations: 15.94 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.01312, allocations: 123.2 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.01313, allocations: 4 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.01313, allocations: 0 / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.01314, allocations: 4 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005424/0.01368, allocations: 350.9 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01369, allocations: 0 / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.029e-05/0.01374, allocations: 8 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01374, allocations: 0 / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.01376, allocations: 8 kB / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.01376, allocations: 0 / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.01376, allocations: 0 / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.01409, allocations: 228.2 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.01411, allocations: 7.906 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.01413, allocations: 4 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.478e-05/0.01421, allocations: 4 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.01426, allocations: 7.984 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.01427, allocations: 4 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001609/0.01443, allocations: 151.8 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01444, allocations: 0 / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002817/0.01472, allocations: 20 kB / 381.9 MB, free: 14.09 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.002324/0.01704, allocations: 0.4906 MB / 382.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.01725, allocations: 55.91 kB / 382.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01725, allocations: 0 / 382.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.652e-05/0.01734, allocations: 31.98 kB / 382.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.01775, allocations: 38.98 kB / 382.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005503/0.0183, allocations: 229.5 kB / 382.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.01841, allocations: 96.22 kB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.822e-05/0.01847, allocations: 21.28 kB / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.01852, allocations: 20.48 kB / 382.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01852, allocations: 4 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of Templates: time 0.006211/0.02473, allocations: 1.865 MB / 384.7 MB, free: 11.43 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.8738053070846945]