Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.001322/0.001322, allocations: 76.08 kB / 20.68 MB, free: 1.016 MB / 14.72 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.001374/0.001374, allocations: 167.1 kB / 23.96 MB, free: 4.133 MB / 14.72 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.414/1.414, allocations: 177.1 MB / 204.3 MB, free: 9.164 MB / 190.1 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.2012/0.2012, allocations: 32.8 MB / 293.5 MB, free: 16 kB / 270.1 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 3.938 kB / 440.2 MB, free: 8.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.375e-05/3.551e-05, allocations: 2.281 kB / 440.2 MB, free: 8.043 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003184/0.003219, allocations: 1.707 MB / 441.9 MB, free: 6.324 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.005052, allocations: 0.9742 MB / 442.9 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.957e-05/0.005122, allocations: 0 / 442.9 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.005389, allocations: 31.78 kB / 442.9 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.005702, allocations: 95.47 kB / 443 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.005903, allocations: 83.59 kB / 443.1 MB, free: 5.137 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.006084, allocations: 111.6 kB / 443.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.48e-05/0.006169, allocations: 7.938 kB / 443.2 MB, free: 5.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.006272, allocations: 55.83 kB / 443.2 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.382e-05/0.006346, allocations: 23.91 kB / 443.3 MB, free: 4.941 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.006366, allocations: 12 kB / 443.3 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.344e-05/0.006459, allocations: 43.97 kB / 443.3 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.7e-05/0.006516, allocations: 19.86 kB / 443.3 MB, free: 4.867 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.175e-05/0.006558, allocations: 15.94 kB / 443.3 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.006759, allocations: 115.6 kB / 443.5 MB, free: 4.738 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.006762, allocations: 0 / 443.5 MB, free: 4.738 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.006763, allocations: 0 / 443.5 MB, free: 4.738 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.006767, allocations: 0 / 443.5 MB, free: 4.738 MB / 366.1 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.0005386/0.007306, allocations: 337.6 kB / 443.8 MB, free: 4.379 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.007336, allocations: 8.031 kB / 443.8 MB, free: 4.371 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.007378, allocations: 16.89 kB / 443.8 MB, free: 4.355 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.007584, allocations: 145.5 kB / 444 MB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.007598, allocations: 384 / 444 MB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.007619, allocations: 8.375 kB / 444 MB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.007767, allocations: 54.23 kB / 444 MB, free: 4.121 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.007781, allocations: 11.86 kB / 444 MB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.007793, allocations: 7.984 kB / 444 MB, free: 4.102 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.0078, allocations: 0 / 444 MB, free: 4.102 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.989e-05/0.00788, allocations: 19.98 kB / 444.1 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000333/0.008213, allocations: 224.6 kB / 444.3 MB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.008405, allocations: 66.61 kB / 444.3 MB, free: 3.758 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.045e-05/0.008466, allocations: 28.72 kB / 444.4 MB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.00848, allocations: 0 / 444.4 MB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/0.008634, allocations: 67.39 kB / 444.4 MB, free: 3.648 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.008636, allocations: 0 / 444.4 MB, free: 3.648 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006277/0.009263, allocations: 189.3 kB / 444.6 MB, free: 3.457 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.009301, allocations: 51.41 kB / 444.7 MB, free: 3.395 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.009485, allocations: 176.9 kB / 444.8 MB, free: 3.215 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.009505, allocations: 33.7 kB / 444.9 MB, free: 3.176 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.976e-05/0.009574, allocations: 100.1 kB / 445 MB, free: 3.074 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.009605, allocations: 23.8 kB / 445 MB, free: 3.051 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.947e-05/0.009655, allocations: 29.64 kB / 445 MB, free: 3.016 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.009797, allocations: 326.8 kB / 445.3 MB, free: 2.688 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.619e-05/0.009853, allocations: 12 kB / 445.4 MB, free: 2.676 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.19e-05/0.009925, allocations: 37.7 kB / 445.4 MB, free: 2.633 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.01006, allocations: 65.64 kB / 445.5 MB, free: 2.562 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.01006, allocations: 0 / 445.5 MB, free: 2.562 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002086/0.01027, allocations: 117.5 kB / 445.6 MB, free: 2.441 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.01028, allocations: 4 kB / 445.6 MB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.01028, allocations: 0 / 445.6 MB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.0103, allocations: 0 / 445.6 MB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.656e-05/0.01039, allocations: 19.98 kB / 445.6 MB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.0104, allocations: 3.938 kB / 445.6 MB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.446e-05/0.01045, allocations: 384 / 445.6 MB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.01045, allocations: 4 kB / 445.6 MB, free: 2.41 MB / 366.1 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.0001792/0.01063, allocations: 125.8 kB / 445.7 MB, free: 2.277 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.01066, allocations: 11.94 kB / 445.7 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.01092, allocations: 122.4 kB / 445.9 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.01093, allocations: 8 kB / 445.9 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.01093, allocations: 0 / 445.9 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.01093, allocations: 0 / 445.9 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/0.01139, allocations: 351.1 kB / 446.2 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.01139, allocations: 0 / 446.2 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-05/0.01143, allocations: 11.98 kB / 446.2 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.01143, allocations: 3.938 kB / 446.2 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.01145, allocations: 4 kB / 446.2 MB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01145, allocations: 4.031 kB / 446.2 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01145, allocations: 0 / 446.2 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.01172, allocations: 216.2 kB / 446.4 MB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.764e-05/0.01173, allocations: 7.953 kB / 446.5 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.01176, allocations: 4 kB / 446.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.307e-05/0.01183, allocations: 4 kB / 446.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.01187, allocations: 7.984 kB / 446.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.01189, allocations: 8 kB / 446.5 MB, free: 1.461 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001208/0.01201, allocations: 131.3 kB / 446.6 MB, free: 1.332 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.01201, allocations: 0 / 446.6 MB, free: 1.332 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.01227, allocations: 39.88 kB / 446.6 MB, free: 1.293 MB / 366.1 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.001815/0.01409, allocations: 496.3 kB / 447.1 MB, free: 1.016 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.01429, allocations: 55.91 kB / 447.2 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01429, allocations: 4.062 kB / 447.2 MB, free: 0.957 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.056e-05/0.01437, allocations: 31.98 kB / 447.2 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.01473, allocations: 30.42 kB / 447.2 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000519/0.01525, allocations: 218.4 kB / 447.5 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.01536, allocations: 85.44 kB / 447.5 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.957e-05/0.01543, allocations: 21.03 kB / 447.6 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.01547, allocations: 16.5 kB / 447.6 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.01547, allocations: 0 / 447.6 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of Templates: time 0.1658/0.1813, allocations: 1.844 MB / 449.4 MB, free: 21.14 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.60017279163003]