Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.00128/0.00128, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001112/0.001112, allocations: 169 kB / 24.24 MB, free: 316 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.135/1.135, allocations: 158.6 MB / 186 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.144/0.144, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 347.7 MB, free: 9.715 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.351e-05/3.551e-05, allocations: 2.312 kB / 347.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002498/0.002533, allocations: 1.705 MB / 349.4 MB, free: 7.996 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009056/0.003439, allocations: 0.7687 MB / 350.2 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.318e-05/0.003522, allocations: 4 kB / 350.2 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003448/0.003867, allocations: 87.62 kB / 350.3 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002331/0.0041, allocations: 79.61 kB / 350.4 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.004311, allocations: 87.69 kB / 350.5 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.004463, allocations: 99.69 kB / 350.6 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.171e-05/0.004505, allocations: 7.984 kB / 350.6 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.004609, allocations: 63.77 kB / 350.6 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.289e-05/0.004702, allocations: 47.88 kB / 350.7 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.004722, allocations: 0 / 350.7 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.187e-05/0.004793, allocations: 31.98 kB / 350.7 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.39e-05/0.004847, allocations: 23.92 kB / 350.7 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.219e-05/0.004889, allocations: 19.92 kB / 350.8 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.005053, allocations: 87.67 kB / 350.8 MB, free: 6.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.005056, allocations: 0 / 350.8 MB, free: 6.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.005058, allocations: 0 / 350.8 MB, free: 6.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.005063, allocations: 0 / 350.8 MB, free: 6.59 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004647/0.005528, allocations: 447.8 kB / 351.3 MB, free: 6.117 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.005564, allocations: 12.03 kB / 351.3 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.983e-05/0.005614, allocations: 16.83 kB / 351.3 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.005763, allocations: 148.4 kB / 351.5 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.005779, allocations: 384 / 351.5 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.005789, allocations: 12.36 kB / 351.5 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.005899, allocations: 50.95 kB / 351.5 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.005906, allocations: 3.938 kB / 351.5 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.005915, allocations: 3.984 kB / 351.5 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.005923, allocations: 0 / 351.5 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.091e-05/0.005954, allocations: 12 kB / 351.5 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001298/0.006083, allocations: 140.7 kB / 351.7 MB, free: 5.656 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.006194, allocations: 47.05 kB / 351.7 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.134e-05/0.006225, allocations: 23.67 kB / 351.7 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.006239, allocations: 0 / 351.7 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.881e-05/0.006328, allocations: 65.05 kB / 351.8 MB, free: 5.492 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.006329, allocations: 0 / 351.8 MB, free: 5.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001783/0.006507, allocations: 93.5 kB / 351.9 MB, free: 5.395 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.228e-05/0.00653, allocations: 51.41 kB / 351.9 MB, free: 5.332 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.755e-05/0.006627, allocations: 234.9 kB / 352.2 MB, free: 5.086 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.185e-06/0.006635, allocations: 29.69 kB / 352.2 MB, free: 5.051 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.984e-05/0.006665, allocations: 150.9 kB / 352.4 MB, free: 4.898 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.006694, allocations: 19.88 kB / 352.4 MB, free: 4.879 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.006721, allocations: 27.38 kB / 352.4 MB, free: 4.844 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.047e-05/0.006772, allocations: 0.4962 MB / 352.9 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.075e-05/0.006793, allocations: 8 kB / 352.9 MB, free: 4.328 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.783e-05/0.00682, allocations: 27.36 kB / 352.9 MB, free: 4.293 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.317e-05/0.006894, allocations: 43.56 kB / 353 MB, free: 4.242 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.006895, allocations: 0 / 353 MB, free: 4.242 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001124/0.007008, allocations: 81.52 kB / 353.1 MB, free: 4.156 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.007024, allocations: 11.94 kB / 353.1 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.00703, allocations: 3.938 kB / 353.1 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.007044, allocations: 4.031 kB / 353.1 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.213e-05/0.007116, allocations: 11.98 kB / 353.1 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.007123, allocations: 4 kB / 353.1 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.003e-05/0.007153, allocations: 3.938 kB / 353.1 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.007158, allocations: 4 kB / 353.1 MB, free: 4.113 MB / 282.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 (7): * Single equations (assignments): 7 * 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 5.489e-05/0.007213, allocations: 160.6 kB / 353.3 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.007228, allocations: 15.89 kB / 353.3 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.007347, allocations: 90.7 kB / 353.4 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.00735, allocations: 0 / 353.4 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.007353, allocations: 0 / 353.4 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.007357, allocations: 4 kB / 353.4 MB, free: 3.828 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.367e-05/0.00743, allocations: 140.6 kB / 353.5 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.007432, allocations: 4 kB / 353.5 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-05/0.007452, allocations: 8 kB / 353.5 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.007454, allocations: 0 / 353.5 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.00746, allocations: 0 / 353.5 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.007463, allocations: 7.922 kB / 353.5 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.007465, allocations: 0 / 353.5 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.569e-05/0.00755, allocations: 112.3 kB / 353.6 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.326e-05/0.007564, allocations: 11.91 kB / 353.6 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.007581, allocations: 7.984 kB / 353.6 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.3e-05/0.007604, allocations: 12.12 kB / 353.7 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.007639, allocations: 0 / 353.7 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.007653, allocations: 11.98 kB / 353.7 MB, free: 3.461 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.51e-05/0.007708, allocations: 175.2 kB / 353.8 MB, free: 3.289 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007708, allocations: 0 / 353.8 MB, free: 3.289 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000145/0.007853, allocations: 15.94 kB / 353.9 MB, free: 3.273 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007668/0.00862, allocations: 388.2 kB / 354.2 MB, free: 2.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.008731, allocations: 47.55 kB / 354.3 MB, free: 2.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.008732, allocations: 0 / 354.3 MB, free: 2.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.184e-05/0.008764, allocations: 19.67 kB / 354.3 MB, free: 2.906 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.00898, allocations: 37.16 kB / 354.3 MB, free: 2.871 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.009335, allocations: 201.3 kB / 354.5 MB, free: 2.648 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.785e-05/0.009372, allocations: 71.33 kB / 354.6 MB, free: 2.559 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.631e-05/0.009409, allocations: 12.47 kB / 354.6 MB, free: 2.547 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.009442, allocations: 20.5 kB / 354.6 MB, free: 2.523 MB / 282.7 MB Notification: Performance of SimCode: time 1.433e-06/0.009444, allocations: 0 / 354.6 MB, free: 2.523 MB / 282.7 MB Notification: Performance of Templates: time 0.003504/0.01295, allocations: 1.624 MB / 356.3 MB, free: 0.918 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.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.302021774929017]