Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 112.7 kB / 17.04 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001417, allocations: 195 kB / 17.97 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.1 MB / 223.8 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2245/0.2245, allocations: 43.53 MB / 314.7 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001655, allocations: 67.14 kB / 384.2 MB, free: 56.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.12, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003277/0.1233, allocations: 1.687 MB / 443.7 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1246, allocations: 0.8078 MB / 444.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.1247, allocations: 8 kB / 444.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003396/0.1251, allocations: 35.77 kB / 444.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002675/0.1254, allocations: 59.75 kB / 444.6 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.1257, allocations: 79.77 kB / 444.7 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.1259, allocations: 99.69 kB / 444.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.126, allocations: 8.234 kB / 444.8 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.925e-05/0.1261, allocations: 47.77 kB / 444.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.072e-05/0.1262, allocations: 31.8 kB / 444.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.1262, allocations: 0 / 444.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.1263, allocations: 43.98 kB / 444.9 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.737e-05/0.1264, allocations: 27.91 kB / 444.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.616e-05/0.1264, allocations: 31.75 kB / 444.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.1267, allocations: 111.6 kB / 445.1 MB, free: 3.066 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1267, allocations: 0 / 445.1 MB, free: 3.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1267, allocations: 0 / 445.1 MB, free: 3.066 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1267, allocations: 0 / 445.1 MB, free: 3.066 MB / 318.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.0004941/0.1272, allocations: 418.9 kB / 445.5 MB, free: 2.609 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1272, allocations: 15.89 kB / 445.5 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/0.1273, allocations: 8.844 kB / 445.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.1276, allocations: 208.9 kB / 445.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.1276, allocations: 384 / 445.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.1276, allocations: 12.12 kB / 445.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.1278, allocations: 49.67 kB / 445.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1278, allocations: 0 / 445.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.1278, allocations: 8 kB / 445.8 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.1278, allocations: 0 / 445.8 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.512e-05/0.1279, allocations: 23.92 kB / 445.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.1283, allocations: 288.8 kB / 446.1 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.1284, allocations: 54.67 kB / 446.1 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.825e-05/0.1285, allocations: 24.86 kB / 446.1 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.1285, allocations: 0 / 446.1 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.1287, allocations: 67.33 kB / 446.2 MB, free: 1.746 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1287, allocations: 0 / 446.2 MB, free: 1.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005226/0.1292, allocations: 177.1 kB / 446.4 MB, free: 1.566 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.1293, allocations: 51.41 kB / 446.4 MB, free: 1.504 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.1294, allocations: 198.1 kB / 446.6 MB, free: 1.301 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.1294, allocations: 25.7 kB / 446.6 MB, free: 1.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/0.1295, allocations: 100.1 kB / 446.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.1295, allocations: 19.72 kB / 446.8 MB, free: 1.148 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.1295, allocations: 29.7 kB / 446.8 MB, free: 1.113 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.683e-05/0.1296, allocations: 330.7 kB / 447.1 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.146e-05/0.1297, allocations: 12 kB / 447.1 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.502e-05/0.1297, allocations: 37.7 kB / 447.2 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.613e-05/0.1298, allocations: 69.62 kB / 447.2 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1298, allocations: 0 / 447.2 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001566/0.13, allocations: 97.59 kB / 447.3 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.13, allocations: 5.25 kB / 447.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.13, allocations: 0 / 447.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1301, allocations: 3.984 kB / 447.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.293e-05/0.1301, allocations: 20.31 kB / 447.4 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1302, allocations: 4.031 kB / 447.4 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.787e-05/0.1302, allocations: 3.938 kB / 447.4 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.1302, allocations: 8 kB / 447.4 MB, free: 0.5078 MB / 318.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 7.367e-05/0.1303, allocations: 129.8 kB / 447.5 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.1303, allocations: 19.75 kB / 447.5 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.344e-05/0.1304, allocations: 16.7 kB / 447.5 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1304, allocations: 3.984 kB / 447.5 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1304, allocations: 0 / 447.5 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1304, allocations: 3.938 kB / 447.5 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004024/0.1308, allocations: 399.3 kB / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1308, allocations: 0 / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.638e-05/0.1309, allocations: 8 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.1309, allocations: 3.938 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.1309, allocations: 11.92 kB / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1309, allocations: 0 / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1309, allocations: 0 / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.1312, allocations: 200.3 kB / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.1312, allocations: 85.02 kB / 448.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.1313, allocations: 3.938 kB / 448.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.022e-05/0.1313, allocations: 4 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.1314, allocations: 11.98 kB / 448.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.1314, allocations: 4 kB / 448.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.1315, allocations: 139.2 kB / 448.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1315, allocations: 4 kB / 448.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.1318, allocations: 23.91 kB / 448.4 MB, free: 15.34 MB / 334.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 (8): * Single equations (assignments): 6 * 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.001111/0.1329, allocations: 478.7 kB / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001858/0.1331, allocations: 59.97 kB / 448.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.1331, allocations: 0 / 448.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.334e-05/0.1332, allocations: 35.92 kB / 449 MB, free: 14.87 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.1336, allocations: 19.98 kB / 449 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004758/0.1341, allocations: 219.3 kB / 449.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.1343, allocations: 0.712 MB / 449.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.368e-05/0.1344, allocations: 16.83 kB / 449.9 MB, free: 13.85 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.1345, allocations: 19.42 kB / 450 MB, free: 13.83 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.1345, allocations: 0 / 450 MB, free: 13.83 MB / 334.1 MB Notification: Performance of Templates: time 0.004902/0.1394, allocations: 1.685 MB / 451.6 MB, free: 12.16 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches