Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.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.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2") translateModel(ModelicaTest.Tables.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.001389, allocations: 111.3 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.001567/0.001567, allocations: 195 kB / 17.98 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.414/1.414, 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.2106/0.2106, 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.001304/0.001304, allocations: 74.05 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.115, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.003421/0.1185, allocations: 1.589 MB / 443.6 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005678/0.1191, allocations: 323.5 kB / 443.9 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.912e-05/0.1191, allocations: 8 kB / 443.9 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003873/0.1195, allocations: 455.1 kB / 444.3 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.1198, allocations: 243.4 kB / 444.6 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.1201, allocations: 115.7 kB / 444.7 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.1203, allocations: 159.6 kB / 444.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.106e-05/0.1204, allocations: 24.09 kB / 444.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.1205, allocations: 103.8 kB / 445 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.1207, allocations: 211.6 kB / 445.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.1207, allocations: 4 kB / 445.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.226e-05/0.1208, allocations: 39.92 kB / 445.2 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.523e-05/0.1208, allocations: 83.67 kB / 445.3 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.154e-05/0.1209, allocations: 99 kB / 445.4 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.1211, allocations: 247 kB / 445.6 MB, free: 2.469 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1211, allocations: 0 / 445.6 MB, free: 2.469 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1211, allocations: 0 / 445.6 MB, free: 2.469 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.1211, allocations: 0 / 445.6 MB, free: 2.469 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005148/0.1217, allocations: 0.6336 MB / 446.3 MB, free: 1.785 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.646e-05/0.1217, allocations: 15.88 kB / 446.3 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.1218, allocations: 40.47 kB / 446.3 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.1219, allocations: 292.1 kB / 446.6 MB, free: 1.406 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-06/0.1219, allocations: 4.359 kB / 446.6 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.122, allocations: 4.375 kB / 446.6 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.954e-05/0.1221, allocations: 53.62 kB / 446.7 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1221, allocations: 0 / 446.7 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.1221, allocations: 0 / 446.7 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-06/0.1221, allocations: 4 kB / 446.7 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.094e-05/0.1222, allocations: 23.98 kB / 446.7 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003037/0.1225, allocations: 388.6 kB / 447.1 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.1227, allocations: 38.56 kB / 447.1 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.883e-05/0.1227, allocations: 20.94 kB / 447.1 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.1227, allocations: 4 kB / 447.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.108e-05/0.1227, allocations: 30.56 kB / 447.2 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.1227, allocations: 0 / 447.2 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.000438/0.1232, allocations: 227.9 kB / 447.4 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.1232, allocations: 51.41 kB / 447.4 MB, free: 488 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006648/0.1239, allocations: 0.8613 MB / 448.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.1239, allocations: 33.64 kB / 448.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.1241, allocations: 216.1 kB / 448.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.1241, allocations: 15.69 kB / 448.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.1242, allocations: 25.64 kB / 448.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1243, allocations: 362.8 kB / 448.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.613e-05/0.1244, allocations: 15.98 kB / 449 MB, free: 14.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.704e-05/0.1244, allocations: 19.98 kB / 449 MB, free: 14.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.1246, allocations: 48.83 kB / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1246, allocations: 192 / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001888/0.1248, allocations: 113.1 kB / 449.1 MB, free: 14.74 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.1248, allocations: 8 kB / 449.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-06/0.1248, allocations: 0 / 449.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.1248, allocations: 0 / 449.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.948e-05/0.1249, allocations: 15.92 kB / 449.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.125e-06/0.1249, allocations: 8 kB / 449.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.342e-05/0.1249, allocations: 7.938 kB / 449.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.125, allocations: 4 kB / 449.2 MB, free: 14.7 MB / 334.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 0.0001701/0.1251, allocations: 213.7 kB / 449.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-05/0.1252, allocations: 39.44 kB / 449.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/0.1255, allocations: 141 kB / 449.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1255, allocations: 4 kB / 449.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.1255, allocations: 0 / 449.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1255, allocations: 3.938 kB / 449.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004984/0.126, allocations: 454.4 kB / 450 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.126, allocations: 0 / 450 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.086e-05/0.1261, allocations: 8 kB / 450 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1261, allocations: 0 / 450 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.1261, allocations: 8.219 kB / 450 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1261, allocations: 4 kB / 450 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1261, allocations: 0 / 450 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.1263, allocations: 215.2 kB / 450.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.76e-05/0.1264, allocations: 112.5 kB / 450.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.1265, allocations: 3.938 kB / 450.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.242e-05/0.1265, allocations: 11.98 kB / 450.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.1266, allocations: 4 kB / 450.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.1266, allocations: 7.938 kB / 450.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005496/0.1271, allocations: 0.6472 MB / 451 MB, free: 12.74 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1272, allocations: 0 / 451 MB, free: 12.74 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.1274, allocations: 19.98 kB / 451 MB, free: 12.72 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.0008715/0.1283, allocations: 405.6 kB / 451.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.1285, allocations: 55.91 kB / 451.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1285, allocations: 0 / 451.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.696e-05/0.1286, allocations: 23.98 kB / 451.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.129, allocations: 25.95 kB / 451.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.13, allocations: 0.7718 MB / 452.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.1304, allocations: 0.8182 MB / 453.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.094e-05/0.1304, allocations: 11.98 kB / 453.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.1304, allocations: 15.44 kB / 453.2 MB, free: 10.63 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1305, allocations: 0 / 453.2 MB, free: 10.63 MB / 334.1 MB Notification: Performance of Templates: time 0.00447/0.1349, allocations: 1.452 MB / 454.6 MB, free: 9.188 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches