Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10") translateModel(ModelicaTest.Tables.CombiTable2D.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001147, allocations: 110.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.001115/0.001115, allocations: 196 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.789/1.789, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.234/0.234, allocations: 43.52 MB / 314.7 MB, free: 488 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.001466/0.001466, allocations: 71.12 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1107, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test10): time 0.002645/0.1134, allocations: 1.604 MB / 443.6 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.1145, allocations: 0.9378 MB / 444.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.953e-05/0.1145, allocations: 0 / 444.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.1148, allocations: 23.86 kB / 444.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.115, allocations: 43.78 kB / 444.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.1152, allocations: 111.3 kB / 444.7 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.1154, allocations: 63.78 kB / 444.8 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.1155, allocations: 24.09 kB / 444.8 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.722e-05/0.1155, allocations: 23.92 kB / 444.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.1157, allocations: 31.84 kB / 444.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.1157, allocations: 4 kB / 444.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-05/0.1158, allocations: 51.91 kB / 444.9 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.32e-05/0.1159, allocations: 23.92 kB / 444.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.1159, allocations: 19.86 kB / 444.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.1161, allocations: 99.7 kB / 445 MB, free: 3.082 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1161, allocations: 0 / 445 MB, free: 3.082 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.1161, allocations: 0 / 445 MB, free: 3.082 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1161, allocations: 4 kB / 445 MB, free: 3.078 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.0004465/0.1166, allocations: 383.2 kB / 445.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1166, allocations: 11.89 kB / 445.4 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.1167, allocations: 8.844 kB / 445.4 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.1168, allocations: 192.2 kB / 445.6 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1169, allocations: 384 / 445.6 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.1169, allocations: 8.375 kB / 445.6 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.1171, allocations: 79.33 kB / 445.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1171, allocations: 0 / 445.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1171, allocations: 4 kB / 445.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1171, allocations: 0 / 445.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.1172, allocations: 35.91 kB / 445.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.1176, allocations: 284.8 kB / 446 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.1177, allocations: 50.55 kB / 446.1 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.85e-05/0.1178, allocations: 20.94 kB / 446.1 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.1178, allocations: 4 kB / 446.1 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1179, allocations: 30.56 kB / 446.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.1179, allocations: 3.938 kB / 446.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007397/0.1186, allocations: 201.3 kB / 446.3 MB, free: 1.613 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.1187, allocations: 81.05 kB / 446.4 MB, free: 1.516 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.1188, allocations: 137.8 kB / 446.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.1188, allocations: 25.7 kB / 446.6 MB, free: 1.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.103e-05/0.1188, allocations: 99.98 kB / 446.7 MB, free: 1.238 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.1189, allocations: 27.64 kB / 446.7 MB, free: 1.211 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.1189, allocations: 21.72 kB / 446.7 MB, free: 1.184 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.312e-05/0.119, allocations: 318.8 kB / 447 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.218e-05/0.1191, allocations: 35.91 kB / 447 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.701e-05/0.1191, allocations: 45.69 kB / 447.1 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.1193, allocations: 77.06 kB / 447.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1193, allocations: 0 / 447.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002118/0.1195, allocations: 113.6 kB / 447.3 MB, free: 0.582 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1196, allocations: 4 kB / 447.3 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1196, allocations: 0 / 447.3 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1196, allocations: 4 kB / 447.3 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1197, allocations: 19.98 kB / 447.3 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.1197, allocations: 0 / 447.3 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.185e-05/0.1198, allocations: 15.92 kB / 447.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.1198, allocations: 0 / 447.3 MB, free: 0.5391 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 (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.905e-05/0.1198, allocations: 117.8 kB / 447.4 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.1199, allocations: 7.906 kB / 447.4 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002588/0.1201, allocations: 129.9 kB / 447.6 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1202, allocations: 4 kB / 447.6 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1202, allocations: 0 / 447.6 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1202, allocations: 7.922 kB / 447.6 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004533/0.1206, allocations: 386.4 kB / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1206, allocations: 4 kB / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.545e-05/0.1207, allocations: 19.92 kB / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1207, allocations: 0 / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.1208, allocations: 7.938 kB / 448 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.1208, allocations: 0 / 448 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1208, allocations: 0 / 448 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.1211, allocations: 199.5 kB / 448.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.314e-05/0.1211, allocations: 85.02 kB / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.1212, allocations: 7.938 kB / 448.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.317e-05/0.1212, allocations: 15.92 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.1213, allocations: 3.984 kB / 448.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.1213, allocations: 4 kB / 448.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.053e-05/0.1214, allocations: 99.27 kB / 448.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1214, allocations: 4 kB / 448.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.1217, allocations: 31.98 kB / 448.4 MB, free: 15.32 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 (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 Backend phase and start with SimCode phase: time 0.0009851/0.1226, allocations: 450 kB / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002874/0.1229, allocations: 83.94 kB / 449 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.123, allocations: 0 / 449 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.1231, allocations: 39.91 kB / 449 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.1234, allocations: 16 kB / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/0.1238, allocations: 182.2 kB / 449.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.1241, allocations: 0.6963 MB / 449.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.818e-05/0.1241, allocations: 15.92 kB / 449.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.1242, allocations: 15.44 kB / 449.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1242, allocations: 0 / 449.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of Templates: time 0.00406/0.1282, allocations: 1.498 MB / 451.4 MB, free: 12.38 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches