Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.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.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001415, allocations: 112.7 kB / 17.04 MB, free: 6.066 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.00137/0.00137, allocations: 195 kB / 17.97 MB, free: 5.148 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.737/1.737, 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.2336/0.2336, allocations: 43.52 MB / 314.7 MB, free: 492 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.001713/0.001713, allocations: 73.48 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1217, allocations: 57.79 MB / 442 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.003196/0.125, allocations: 1.546 MB / 443.5 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007135/0.1257, allocations: 323.5 kB / 443.8 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.485e-05/0.1258, allocations: 0 / 443.8 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005077/0.1263, allocations: 127.7 kB / 444 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000277/0.1266, allocations: 87.77 kB / 444 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.1269, allocations: 59.8 kB / 444.1 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.1271, allocations: 83.84 kB / 444.2 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.1272, allocations: 11.94 kB / 444.2 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.956e-05/0.1273, allocations: 51.81 kB / 444.2 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.1274, allocations: 75.86 kB / 444.3 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.1274, allocations: 3.938 kB / 444.3 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.006e-05/0.1275, allocations: 31.98 kB / 444.4 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.838e-05/0.1276, allocations: 27.86 kB / 444.4 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.1276, allocations: 27.75 kB / 444.4 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.1278, allocations: 103.6 kB / 444.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.1278, allocations: 7.984 kB / 444.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.1278, allocations: 0 / 444.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.1279, allocations: 0 / 444.5 MB, free: 3.605 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005019/0.1284, allocations: 414.9 kB / 444.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.1284, allocations: 19.83 kB / 444.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.904e-05/0.1285, allocations: 12.75 kB / 445 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.1287, allocations: 204 kB / 445.2 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.1287, allocations: 8.312 kB / 445.2 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.1287, allocations: 4.359 kB / 445.2 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.1288, allocations: 49.81 kB / 445.2 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.1289, allocations: 0 / 445.2 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1289, allocations: 0 / 445.2 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1289, allocations: 4 kB / 445.2 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.309e-05/0.129, allocations: 23.97 kB / 445.2 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.1293, allocations: 292.8 kB / 445.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.1295, allocations: 42.59 kB / 445.6 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.311e-05/0.1296, allocations: 16.78 kB / 445.6 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.1296, allocations: 8 kB / 445.6 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.1297, allocations: 34.56 kB / 445.6 MB, free: 2.332 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1297, allocations: 0 / 445.6 MB, free: 2.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005069/0.1302, allocations: 145.1 kB / 445.8 MB, free: 2.184 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.1302, allocations: 55.41 kB / 445.8 MB, free: 2.117 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.1304, allocations: 266.3 kB / 446.1 MB, free: 1.844 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.1304, allocations: 25.7 kB / 446.1 MB, free: 1.812 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.758e-05/0.1305, allocations: 112.1 kB / 446.2 MB, free: 1.699 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.1305, allocations: 27.64 kB / 446.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.1306, allocations: 13.72 kB / 446.3 MB, free: 1.652 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.449e-05/0.1306, allocations: 330.8 kB / 446.6 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.784e-05/0.1307, allocations: 19.98 kB / 446.6 MB, free: 1.301 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.456e-05/0.1307, allocations: 11.98 kB / 446.6 MB, free: 1.289 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.1309, allocations: 60.95 kB / 446.7 MB, free: 1.227 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.1309, allocations: 0 / 446.7 MB, free: 1.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001351/0.131, allocations: 77.58 kB / 446.8 MB, free: 1.145 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.131, allocations: 8 kB / 446.8 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.131, allocations: 0 / 446.8 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1311, allocations: 0 / 446.8 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.299e-05/0.1311, allocations: 11.98 kB / 446.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1311, allocations: 4 kB / 446.8 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.65e-05/0.1312, allocations: 7.938 kB / 446.8 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.1312, allocations: 0 / 446.8 MB, free: 1.113 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.087e-05/0.1313, allocations: 145.6 kB / 446.9 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.1313, allocations: 19.8 kB / 446.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001876/0.1315, allocations: 90.66 kB / 447 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1315, allocations: 4 kB / 447 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1315, allocations: 4 kB / 447 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1315, allocations: 0 / 447 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003298/0.1318, allocations: 362.4 kB / 447.4 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1319, allocations: 0 / 447.4 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-05/0.1319, allocations: 11.98 kB / 447.4 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1319, allocations: 4 kB / 447.4 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1319, allocations: 4 kB / 447.4 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1319, allocations: 3.938 kB / 447.4 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1319, allocations: 4.188 kB / 447.4 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.1321, allocations: 183.3 kB / 447.6 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.79e-05/0.1321, allocations: 85 kB / 447.7 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.1322, allocations: 7.938 kB / 447.7 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.146e-05/0.1322, allocations: 3.938 kB / 447.7 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.1323, allocations: 8.266 kB / 447.7 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.1323, allocations: 7.938 kB / 447.7 MB, free: 84 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001575/0.1325, allocations: 199.2 kB / 447.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1325, allocations: 0 / 447.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.1327, allocations: 20 kB / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009571/0.1337, allocations: 395.1 kB / 448.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.1339, allocations: 47.97 kB / 448.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1339, allocations: 4 kB / 448.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.989e-05/0.134, allocations: 27.92 kB / 448.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.1343, allocations: 15.98 kB / 448.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/0.1349, allocations: 270.5 kB / 448.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.1352, allocations: 0.7196 MB / 449.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.339e-05/0.1353, allocations: 7.984 kB / 449.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.1353, allocations: 11.44 kB / 449.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1353, allocations: 4 kB / 449.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of Templates: time 0.003884/0.1392, allocations: 1.13 MB / 450.5 MB, free: 13.29 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches