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.001124/0.001124, allocations: 101.4 kB / 16.64 MB, free: 6.82 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.001276/0.001276, allocations: 194.5 kB / 17.56 MB, free: 5.938 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.392/1.392, allocations: 205.1 MB / 223.4 MB, free: 12.46 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.1904/0.1904, allocations: 43.51 MB / 314.3 MB, free: 0.7148 MB / 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.001347/0.001347, allocations: 67.39 kB / 382.9 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09017/0.09154, allocations: 57.79 MB / 440.7 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test10): time 0.002808/0.09439, allocations: 1.658 MB / 442.3 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.09551, allocations: 0.9298 MB / 443.2 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.692e-05/0.0956, allocations: 0 / 443.2 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.09583, allocations: 15.92 kB / 443.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.09609, allocations: 35.91 kB / 443.3 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.09639, allocations: 103.4 kB / 443.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.09653, allocations: 59.78 kB / 443.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.09664, allocations: 32.38 kB / 443.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.707e-05/0.09669, allocations: 19.92 kB / 443.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.09684, allocations: 27.86 kB / 443.5 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.09686, allocations: 4 kB / 443.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.09698, allocations: 55.95 kB / 443.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.241e-05/0.09704, allocations: 11.94 kB / 443.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.09708, allocations: 23.86 kB / 443.6 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.09724, allocations: 75.83 kB / 443.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.09725, allocations: 4 kB / 443.7 MB, free: 4.312 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.09725, allocations: 0 / 443.7 MB, free: 4.312 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.09726, allocations: 0 / 443.7 MB, free: 4.312 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.0003953/0.09767, allocations: 395.1 kB / 444.1 MB, free: 3.879 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.09771, allocations: 11.89 kB / 444.1 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.09775, allocations: 12.83 kB / 444.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.09789, allocations: 184.3 kB / 444.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.09791, allocations: 384 / 444.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.09793, allocations: 384 / 444.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.09809, allocations: 83.27 kB / 444.4 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.09811, allocations: 0 / 444.4 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.09813, allocations: 0 / 444.4 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.09814, allocations: 0 / 444.4 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.09825, allocations: 39.95 kB / 444.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002814/0.09854, allocations: 292.8 kB / 444.7 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.09866, allocations: 42.5 kB / 444.7 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.921e-05/0.09872, allocations: 24.94 kB / 444.8 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.09876, allocations: 0 / 444.8 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.09878, allocations: 34.56 kB / 444.8 MB, free: 3.047 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.09878, allocations: 0 / 444.8 MB, free: 3.047 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006644/0.09945, allocations: 201.2 kB / 445 MB, free: 2.844 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.0995, allocations: 77.11 kB / 445.1 MB, free: 2.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.09961, allocations: 141.6 kB / 445.2 MB, free: 2.605 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.09962, allocations: 25.7 kB / 445.2 MB, free: 2.574 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.839e-05/0.09966, allocations: 100 kB / 445.3 MB, free: 2.473 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.09968, allocations: 23.72 kB / 445.4 MB, free: 2.449 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.09972, allocations: 17.72 kB / 445.4 MB, free: 2.426 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.489e-05/0.09977, allocations: 322.8 kB / 445.7 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.563e-05/0.09987, allocations: 27.97 kB / 445.7 MB, free: 2.074 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.609e-05/0.09998, allocations: 53.69 kB / 445.8 MB, free: 2.016 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.1002, allocations: 72.75 kB / 445.8 MB, free: 1.941 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1002, allocations: 0 / 445.8 MB, free: 1.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002264/0.1004, allocations: 113.5 kB / 446 MB, free: 1.824 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1004, allocations: 8 kB / 446 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1004, allocations: 4 kB / 446 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1004, allocations: 0 / 446 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.1006, allocations: 19.98 kB / 446 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1006, allocations: 3.984 kB / 446 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.302e-05/0.1006, allocations: 11.94 kB / 446 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.1006, allocations: 4 kB / 446 MB, free: 1.773 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 6.074e-05/0.1007, allocations: 133.7 kB / 446.1 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.1008, allocations: 7.906 kB / 446.1 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/0.101, allocations: 126.3 kB / 446.3 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.101, allocations: 0 / 446.3 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.101, allocations: 0 / 446.3 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1011, allocations: 3.938 kB / 446.3 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004039/0.1015, allocations: 386.4 kB / 446.6 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1015, allocations: 0 / 446.6 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.282e-05/0.1016, allocations: 23.98 kB / 446.7 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1016, allocations: 0 / 446.7 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.1016, allocations: 3.938 kB / 446.7 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1016, allocations: 0 / 446.7 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1016, allocations: 4 kB / 446.7 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.1018, allocations: 207.4 kB / 446.9 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.1019, allocations: 85.28 kB / 447 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.855e-05/0.1019, allocations: 7.938 kB / 447 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.84e-05/0.102, allocations: 7.984 kB / 447 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.102, allocations: 15.98 kB / 447 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.102, allocations: 0 / 447 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.41e-05/0.1021, allocations: 107.2 kB / 447.1 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1021, allocations: 0 / 447.1 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.1023, allocations: 24 kB / 447.1 MB, free: 0.543 MB / 318.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.0008798/0.1032, allocations: 448.1 kB / 447.6 MB, free: 180 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002549/0.1035, allocations: 75.88 kB / 447.6 MB, free: 104 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1035, allocations: 0 / 447.6 MB, free: 104 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.58e-05/0.1036, allocations: 43.97 kB / 447.7 MB, free: 60 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.1039, allocations: 19.92 kB / 447.7 MB, free: 40 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.1044, allocations: 223.9 kB / 447.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.1047, allocations: 0.6895 MB / 448.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.269e-05/0.1048, allocations: 23.36 kB / 448.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1048, allocations: 0 / 448.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of Templates: time 0.003545/0.1083, allocations: 1.722 MB / 450.4 MB, free: 13.33 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 -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","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches