Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009938/0.0009937, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.000963/0.000963, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 242.2 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2014/0.2014, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 64.62 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1096, allocations: 60.83 MB / 469.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.002902/0.1126, allocations: 1.631 MB / 470.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007008/0.1133, allocations: 431.1 kB / 471.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.276e-05/0.1134, allocations: 0 / 471.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001995/0.1136, allocations: 63.78 kB / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.1138, allocations: 63.75 kB / 471.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.1141, allocations: 134.5 kB / 471.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.1142, allocations: 71.83 kB / 471.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.939e-05/0.1143, allocations: 23.97 kB / 471.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.102e-05/0.1144, allocations: 31.91 kB / 471.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.664e-05/0.1145, allocations: 51.83 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.1145, allocations: 4 kB / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.383e-05/0.1146, allocations: 51.92 kB / 471.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.256e-05/0.1146, allocations: 27.91 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.1147, allocations: 35.67 kB / 471.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.1149, allocations: 103.7 kB / 472 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1149, allocations: 0 / 472 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1149, allocations: 3.938 kB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1149, allocations: 0 / 472 MB, free: 11.66 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004552/0.1153, allocations: 415.3 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.1154, allocations: 12.03 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.1154, allocations: 12.75 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.1156, allocations: 200 kB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.629e-06/0.1156, allocations: 4.375 kB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.1156, allocations: 4.375 kB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.1158, allocations: 65.8 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1158, allocations: 4 kB / 472.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.455e-06/0.1158, allocations: 0 / 472.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1159, allocations: 4 kB / 472.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.116, allocations: 39.91 kB / 472.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.1164, allocations: 304.8 kB / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.1166, allocations: 62.58 kB / 473.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.015e-05/0.1167, allocations: 24.97 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.1167, allocations: 7.984 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.1168, allocations: 30.56 kB / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1168, allocations: 0 / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001402/0.1182, allocations: 392.7 kB / 473.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.1182, allocations: 55.34 kB / 473.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.1184, allocations: 202.2 kB / 473.8 MB, free: 9.672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.1184, allocations: 29.7 kB / 473.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.117e-05/0.1185, allocations: 108 kB / 473.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.1186, allocations: 35.45 kB / 473.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.1186, allocations: 25.72 kB / 474 MB, free: 9.461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1187, allocations: 322.8 kB / 474.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.1189, allocations: 43.91 kB / 474.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.119, allocations: 47.95 kB / 474.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.1192, allocations: 96.81 kB / 474.5 MB, free: 8.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1192, allocations: 4 kB / 474.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003032/0.1195, allocations: 137.8 kB / 474.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1196, allocations: 7.438 kB / 474.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1196, allocations: 3.938 kB / 474.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1196, allocations: 4 kB / 474.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.1197, allocations: 36.41 kB / 474.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.1197, allocations: 0 / 474.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.192e-05/0.1198, allocations: 11.98 kB / 474.7 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.1198, allocations: 4 kB / 474.7 MB, free: 8.742 MB / 350.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 (11): * Single equations (assignments): 11 * 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.0001085/0.1199, allocations: 125.8 kB / 474.8 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.12, allocations: 11.81 kB / 474.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003631/0.1203, allocations: 174.2 kB / 475 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1204, allocations: 11.94 kB / 475 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1204, allocations: 0 / 475 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1204, allocations: 0 / 475 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006196/0.121, allocations: 468 kB / 475.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.121, allocations: 4.062 kB / 475.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.754e-05/0.1211, allocations: 31.92 kB / 475.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.1211, allocations: 0 / 475.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.1211, allocations: 4 kB / 475.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1212, allocations: 0 / 475.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1212, allocations: 0 / 475.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.1215, allocations: 264.8 kB / 475.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.1216, allocations: 85.02 kB / 475.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.1216, allocations: 0 / 475.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.153e-05/0.1217, allocations: 11.98 kB / 475.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.1217, allocations: 11.98 kB / 475.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.1217, allocations: 4 kB / 475.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.1219, allocations: 159.2 kB / 476 MB, free: 7.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1219, allocations: 0 / 476 MB, free: 7.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.1221, allocations: 24 kB / 476 MB, free: 7.262 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009779/0.1231, allocations: 452.8 kB / 476.5 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003201/0.1234, allocations: 115.7 kB / 476.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1234, allocations: 0 / 476.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.1236, allocations: 59.91 kB / 476.6 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.1239, allocations: 24.05 kB / 476.7 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004612/0.1244, allocations: 292.1 kB / 476.9 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.1247, allocations: 0.7119 MB / 477.7 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.832e-05/0.1247, allocations: 16.41 kB / 477.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.1248, allocations: 15.44 kB / 477.7 MB, free: 5.703 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1248, allocations: 4 kB / 477.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of Templates: time 0.004182/0.129, allocations: 1.56 MB / 479.2 MB, free: 4.156 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches