Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.00132/0.00132, allocations: 79.92 kB / 20.72 MB, free: 3.766 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.001463/0.001463, allocations: 169 kB / 24.14 MB, free: 364 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 0.921/0.921, allocations: 158.6 MB / 186 MB, free: 2.754 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.1307/0.1307, allocations: 32.37 MB / 270.7 MB, free: 14.61 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 299.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128e-05/1.261e-05, allocations: 2.312 kB / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.001861/0.001873, allocations: 1.735 MB / 300.9 MB, free: 396 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1215/0.1233, allocations: 0.7932 MB / 301.7 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.1234, allocations: 1.25 kB / 301.7 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003798/0.1238, allocations: 51.25 kB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.124, allocations: 69.25 kB / 301.8 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.1243, allocations: 85.33 kB / 301.9 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.1244, allocations: 98.34 kB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.807e-05/0.1245, allocations: 11.98 kB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.538e-05/0.1246, allocations: 49.05 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.912e-05/0.1246, allocations: 25.19 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.1247, allocations: 4.688 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-05/0.1247, allocations: 48.45 kB / 302.1 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.038e-05/0.1248, allocations: 27.84 kB / 302.1 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.1248, allocations: 26.75 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.125, allocations: 109.7 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.125, allocations: 0.5625 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.125, allocations: 0.625 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.125, allocations: 3.938 kB / 302.3 MB, free: 19.14 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003312/0.1253, allocations: 343.9 kB / 302.6 MB, free: 18.85 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1254, allocations: 11.67 kB / 302.6 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.1254, allocations: 9.625 kB / 302.6 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.1256, allocations: 161.3 kB / 302.8 MB, free: 18.69 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.1256, allocations: 7.797 kB / 302.8 MB, free: 18.69 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.1256, allocations: 2.594 kB / 302.8 MB, free: 18.69 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.1257, allocations: 65.97 kB / 302.9 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1257, allocations: 3.938 kB / 302.9 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-06/0.1257, allocations: 0 / 302.9 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1257, allocations: 1.578 kB / 302.9 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.44e-05/0.1257, allocations: 9.125 kB / 302.9 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/0.1259, allocations: 175 kB / 303 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.106e-05/0.126, allocations: 85.28 kB / 303.1 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/0.126, allocations: 12.53 kB / 303.1 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.126, allocations: 2.375 kB / 303.1 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.04e-05/0.1261, allocations: 66.92 kB / 303.2 MB, free: 18.35 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 8.22e-07/0.1261, allocations: 0 / 303.2 MB, free: 18.35 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003286/0.1265, allocations: 113.7 kB / 303.3 MB, free: 18.31 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/0.1265, allocations: 56.97 kB / 303.4 MB, free: 18.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.1266, allocations: 209.5 kB / 303.6 MB, free: 18.13 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.1266, allocations: 31.33 kB / 303.6 MB, free: 18.1 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.721e-05/0.1267, allocations: 98.45 kB / 303.7 MB, free: 18.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.1267, allocations: 22.95 kB / 303.7 MB, free: 18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.1267, allocations: 23.33 kB / 303.7 MB, free: 17.99 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.475e-05/0.1268, allocations: 336.3 kB / 304.1 MB, free: 17.67 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.229e-05/0.1268, allocations: 10.47 kB / 304.1 MB, free: 17.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.705e-05/0.1268, allocations: 25.44 kB / 304.1 MB, free: 17.65 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.435e-05/0.1269, allocations: 46.59 kB / 304.2 MB, free: 17.63 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1269, allocations: 0 / 304.2 MB, free: 17.63 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.846e-05/0.127, allocations: 77.16 kB / 304.2 MB, free: 17.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.127, allocations: 5.5 kB / 304.2 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.127, allocations: 1.094 kB / 304.2 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.127, allocations: 1.625 kB / 304.2 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.616e-05/0.1271, allocations: 14.2 kB / 304.3 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1271, allocations: 5.062 kB / 304.3 MB, free: 17.58 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.298e-05/0.1271, allocations: 7.203 kB / 304.3 MB, free: 17.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1271, allocations: 2.297 kB / 304.3 MB, free: 17.58 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 (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 5.126e-05/0.1272, allocations: 117 kB / 304.4 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.1272, allocations: 18.36 kB / 304.4 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.1273, allocations: 80.12 kB / 304.5 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1273, allocations: 4.062 kB / 304.5 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.1273, allocations: 4.031 kB / 304.5 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1273, allocations: 0.75 kB / 304.5 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.1275, allocations: 302.4 kB / 304.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1275, allocations: 0 / 304.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.463e-05/0.1275, allocations: 9.984 kB / 304.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1275, allocations: 1.188 kB / 304.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1275, allocations: 8.844 kB / 304.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.1275, allocations: 1.688 kB / 304.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1275, allocations: 1.188 kB / 304.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.141e-05/0.1276, allocations: 220.8 kB / 305 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.1276, allocations: 13.16 kB / 305 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.1277, allocations: 7.156 kB / 305 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.123e-05/0.1277, allocations: 1.719 kB / 305 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.1277, allocations: 9.078 kB / 305 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.1277, allocations: 2.312 kB / 305.1 MB, free: 16.97 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.747e-05/0.1278, allocations: 81.25 kB / 305.1 MB, free: 16.96 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1278, allocations: 0 / 305.1 MB, free: 16.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001534/0.128, allocations: 27.81 kB / 305.2 MB, free: 16.95 MB / 282.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.001205/0.1292, allocations: 0.578 MB / 305.7 MB, free: 16.63 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.1293, allocations: 35.69 kB / 305.8 MB, free: 16.62 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.1293, allocations: 1.094 kB / 305.8 MB, free: 16.62 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.61e-05/0.1293, allocations: 29.36 kB / 305.8 MB, free: 16.61 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.1295, allocations: 44.56 kB / 305.8 MB, free: 16.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.1299, allocations: 254.7 kB / 306.1 MB, free: 16.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.071e-05/0.13, allocations: 72.97 kB / 306.2 MB, free: 16.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.998e-05/0.13, allocations: 12.75 kB / 306.2 MB, free: 16.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.935e-05/0.1301, allocations: 70.12 kB / 306.2 MB, free: 16.29 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1301, allocations: 4 kB / 306.2 MB, free: 16.29 MB / 282.7 MB Notification: Performance of Templates: time 0.004153/0.1342, allocations: 2.03 MB / 308.3 MB, free: 16.03 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.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: 2.962825069203973]