Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.001227/0.001227, 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.001192/0.001192, allocations: 169.3 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.069/1.069, allocations: 158.6 MB / 186 MB, free: 2.918 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.1442/0.1442, 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 347.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.568e-05, allocations: 6.25 kB / 347.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.001822/0.001838, allocations: 1.702 MB / 349.4 MB, free: 7.996 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008887/0.002727, allocations: 0.7726 MB / 350.2 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.27e-05/0.002789, allocations: 0 / 350.2 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.003059, allocations: 67.67 kB / 350.3 MB, free: 7.148 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001723/0.003231, allocations: 75.66 kB / 350.4 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.003397, allocations: 75.78 kB / 350.4 MB, free: 7 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.00353, allocations: 103.6 kB / 350.5 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.791e-05/0.003578, allocations: 7.938 kB / 350.5 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.395e-05/0.003662, allocations: 59.81 kB / 350.6 MB, free: 6.832 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.687e-05/0.003738, allocations: 31.91 kB / 350.6 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.003755, allocations: 4 kB / 350.6 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.433e-05/0.003819, allocations: 35.92 kB / 350.7 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.019e-05/0.003869, allocations: 23.91 kB / 350.7 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.155e-05/0.003911, allocations: 15.94 kB / 350.7 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.004078, allocations: 87.66 kB / 350.8 MB, free: 6.637 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.00408, allocations: 0 / 350.8 MB, free: 6.637 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004081, allocations: 4 kB / 350.8 MB, free: 6.633 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.004086, allocations: 0 / 350.8 MB, free: 6.633 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.0003699/0.004456, allocations: 428 kB / 351.2 MB, free: 6.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.004492, allocations: 12.03 kB / 351.2 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.919e-05/0.004541, allocations: 12.88 kB / 351.2 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.004672, allocations: 140.5 kB / 351.4 MB, free: 5.992 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.004688, allocations: 12.23 kB / 351.4 MB, free: 5.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.004699, allocations: 4.375 kB / 351.4 MB, free: 5.977 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.521e-05/0.004794, allocations: 58.95 kB / 351.5 MB, free: 5.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.461e-06/0.004799, allocations: 3.938 kB / 351.5 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.004808, allocations: 3.984 kB / 351.5 MB, free: 5.902 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.004813, allocations: 0 / 351.5 MB, free: 5.902 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.915e-05/0.004842, allocations: 4 kB / 351.5 MB, free: 5.898 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001073/0.00495, allocations: 140.7 kB / 351.6 MB, free: 5.727 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.189e-05/0.005041, allocations: 51.05 kB / 351.7 MB, free: 5.664 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.77e-05/0.005069, allocations: 15.67 kB / 351.7 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.005081, allocations: 0 / 351.7 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.765e-05/0.005159, allocations: 73 kB / 351.7 MB, free: 5.559 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 5.82e-07/0.005159, allocations: 0 / 351.7 MB, free: 5.559 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001558/0.005315, allocations: 89.52 kB / 351.8 MB, free: 5.465 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.005337, allocations: 51.41 kB / 351.9 MB, free: 5.402 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.723e-05/0.005435, allocations: 224.1 kB / 352.1 MB, free: 5.168 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.005442, allocations: 25.7 kB / 352.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.005487, allocations: 158.8 kB / 352.3 MB, free: 4.977 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.005517, allocations: 7.906 kB / 352.3 MB, free: 4.969 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.005543, allocations: 23.38 kB / 352.3 MB, free: 4.938 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.039e-05/0.005613, allocations: 0.4962 MB / 352.8 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.663e-05/0.00563, allocations: 12 kB / 352.8 MB, free: 4.418 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.607e-05/0.005656, allocations: 27.36 kB / 352.8 MB, free: 4.383 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.319e-05/0.005699, allocations: 35.62 kB / 352.9 MB, free: 4.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.0057, allocations: 3.938 kB / 352.9 MB, free: 4.336 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.844e-05/0.005769, allocations: 77.62 kB / 353 MB, free: 4.254 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.005781, allocations: 4 kB / 353 MB, free: 4.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.005788, allocations: 7.922 kB / 353 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.005801, allocations: 0 / 353 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.789e-05/0.005859, allocations: 15.94 kB / 353 MB, free: 4.227 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.005865, allocations: 4.031 kB / 353 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.65e-05/0.005891, allocations: 4 kB / 353 MB, free: 4.219 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.005895, allocations: 0 / 353 MB, free: 4.219 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.796e-05/0.005953, allocations: 164.6 kB / 353.2 MB, free: 4.047 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.005966, allocations: 11.91 kB / 353.2 MB, free: 4.035 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.006073, allocations: 90.02 kB / 353.2 MB, free: 3.941 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.006074, allocations: 3.938 kB / 353.3 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.006078, allocations: 0 / 353.3 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.006083, allocations: 0 / 353.3 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.207e-05/0.006155, allocations: 140.6 kB / 353.4 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.006156, allocations: 4 kB / 353.4 MB, free: 3.762 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.296e-05/0.006169, allocations: 7.938 kB / 353.4 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.006171, allocations: 0 / 353.4 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.00618, allocations: 4 kB / 353.4 MB, free: 3.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.006183, allocations: 3.938 kB / 353.4 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.006185, allocations: 3.984 kB / 353.4 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.542e-05/0.00626, allocations: 116.3 kB / 353.5 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.999e-06/0.00627, allocations: 3.953 kB / 353.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.006285, allocations: 4 kB / 353.5 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.824e-05/0.006303, allocations: 8.109 kB / 353.5 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.006334, allocations: 12 kB / 353.6 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.006345, allocations: 4 kB / 353.6 MB, free: 3.574 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.093e-05/0.006406, allocations: 164 kB / 353.7 MB, free: 3.414 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006406, allocations: 0 / 353.7 MB, free: 3.414 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001446/0.00655, allocations: 19.98 kB / 353.7 MB, free: 3.395 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.0007857/0.007336, allocations: 396.2 kB / 354.1 MB, free: 3.094 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.727e-05/0.007433, allocations: 35.67 kB / 354.2 MB, free: 3.055 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.007435, allocations: 0 / 354.2 MB, free: 3.055 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.052e-05/0.007465, allocations: 31.61 kB / 354.2 MB, free: 3.02 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.007638, allocations: 25.23 kB / 354.2 MB, free: 2.996 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002804/0.007918, allocations: 189.3 kB / 354.4 MB, free: 2.785 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.898e-05/0.007947, allocations: 67.41 kB / 354.5 MB, free: 2.699 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.733e-05/0.007974, allocations: 12.48 kB / 354.5 MB, free: 2.688 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.008, allocations: 16.5 kB / 354.5 MB, free: 2.668 MB / 282.7 MB Notification: Performance of SimCode: time 4.7e-07/0.008, allocations: 0 / 354.5 MB, free: 2.668 MB / 282.7 MB Notification: Performance of Templates: time 0.002866/0.01087, allocations: 1.624 MB / 356.1 MB, free: 1.062 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.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.45118211209774]