Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.002223/0.002223, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002414/0.002414, allocations: 165.3 kB / 24.27 MB, free: 156 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.56/1.56, 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.3528/0.3528, allocations: 32.8 MB / 293.9 MB, free: 1.188 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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.459e-06/4.459e-06, allocations: 3.984 kB / 375.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.272e-05/3.718e-05, allocations: 2.312 kB / 375.3 MB, free: 4.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003658/0.003696, allocations: 1.735 MB / 377.1 MB, free: 3.141 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.005821, allocations: 0.9937 MB / 378.1 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.049e-05/0.005902, allocations: 0 / 378.1 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.006256, allocations: 39.75 kB / 378.1 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003673/0.006624, allocations: 99.42 kB / 378.2 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.006858, allocations: 79.66 kB / 378.3 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000227/0.007085, allocations: 107.6 kB / 378.4 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.842e-05/0.007183, allocations: 4 kB / 378.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.007314, allocations: 63.81 kB / 378.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.258e-05/0.007407, allocations: 23.92 kB / 378.5 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.007432, allocations: 4 kB / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000272/0.007704, allocations: 51.84 kB / 378.5 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.219e-05/0.007776, allocations: 15.92 kB / 378.6 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/0.007828, allocations: 15.94 kB / 378.6 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.008091, allocations: 123.5 kB / 378.7 MB, free: 1.523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.008096, allocations: 0 / 378.7 MB, free: 1.523 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.008098, allocations: 0 / 378.7 MB, free: 1.523 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.008103, allocations: 0 / 378.7 MB, free: 1.523 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.000709/0.008812, allocations: 451.6 kB / 379.1 MB, free: 1.047 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.008852, allocations: 8.031 kB / 379.1 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.97e-05/0.008912, allocations: 8.891 kB / 379.2 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.00919, allocations: 160.3 kB / 379.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.009206, allocations: 4.375 kB / 379.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.009229, allocations: 4.375 kB / 379.3 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.009386, allocations: 50.23 kB / 379.4 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.009401, allocations: 3.938 kB / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.009413, allocations: 3.984 kB / 379.4 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.009417, allocations: 0 / 379.4 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.152e-05/0.009499, allocations: 19.98 kB / 379.4 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/0.009983, allocations: 295.8 kB / 379.7 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.01017, allocations: 59.17 kB / 379.7 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.713e-05/0.01024, allocations: 27.61 kB / 379.8 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.01025, allocations: 3.938 kB / 379.8 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.01041, allocations: 73.05 kB / 379.8 MB, free: 248 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.01041, allocations: 0 / 379.8 MB, free: 248 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006599/0.01107, allocations: 185.5 kB / 380 MB, free: 56 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/0.01115, allocations: 59.34 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.0114, allocations: 242.5 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.01143, allocations: 33.7 kB / 380.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.01156, allocations: 158.8 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.01159, allocations: 19.86 kB / 380.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.02e-05/0.01165, allocations: 35.36 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002975/0.01195, allocations: 0.4962 MB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.98e-05/0.01201, allocations: 19.98 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.686e-05/0.01209, allocations: 39.38 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.01222, allocations: 71.23 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.01223, allocations: 0 / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002137/0.01244, allocations: 105.6 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.01245, allocations: 4 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.01246, allocations: 0 / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.01248, allocations: 0 / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.473e-05/0.01257, allocations: 19.94 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.01258, allocations: 0 / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.976e-05/0.01263, allocations: 11.94 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.01264, allocations: 4 kB / 381.3 MB, free: 14.67 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.0001619/0.0128, allocations: 168.5 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.01283, allocations: 11.95 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.01311, allocations: 127.2 kB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.01312, allocations: 4 kB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.01312, allocations: 0 / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.01312, allocations: 0 / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005607/0.01368, allocations: 416.9 kB / 382 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01369, allocations: 0 / 382 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.266e-05/0.01374, allocations: 12 kB / 382 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01374, allocations: 0 / 382 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.01375, allocations: 0 / 382 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.01376, allocations: 4 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01376, allocations: 32 / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.0141, allocations: 275.4 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.725e-05/0.01412, allocations: 15.89 kB / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.01415, allocations: 4 kB / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.524e-05/0.01421, allocations: 0 / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.01426, allocations: 15.92 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.01428, allocations: 4 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001516/0.01443, allocations: 175.8 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01443, allocations: 0 / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002713/0.0147, allocations: 23.98 kB / 382.6 MB, free: 13.35 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.003417/0.01812, allocations: 500 kB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000234/0.01835, allocations: 75.52 kB / 383.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.01836, allocations: 0 / 383.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.636e-05/0.01845, allocations: 39.61 kB / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.01886, allocations: 32.11 kB / 383.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005791/0.01944, allocations: 222.3 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.01956, allocations: 104.2 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.171e-05/0.01962, allocations: 17.27 kB / 383.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.01967, allocations: 16.5 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of SimCode: time 1.332e-06/0.01967, allocations: 4 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of Templates: time 0.006107/0.02578, allocations: 1.863 MB / 385.4 MB, free: 10.67 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.92748502001632]