Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001167/0.001167, allocations: 194 kB / 18.77 MB, free: 4.742 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.385/1.385, allocations: 222.9 MB / 242.4 MB, free: 15.48 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.207/0.207, allocations: 44.18 MB / 336.8 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 65.11 kB / 408.4 MB, free: 27.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08984/0.09107, allocations: 60.84 MB / 469.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002934/0.09404, allocations: 1.622 MB / 470.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007507/0.09482, allocations: 423.3 kB / 471.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.704e-05/0.09489, allocations: 4 kB / 471.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.09516, allocations: 71.83 kB / 471.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.09533, allocations: 59.75 kB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.09564, allocations: 106.6 kB / 471.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.09579, allocations: 59.89 kB / 471.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.866e-05/0.0959, allocations: 24.17 kB / 471.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.635e-05/0.09596, allocations: 35.78 kB / 471.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.577e-05/0.09606, allocations: 43.89 kB / 471.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.09609, allocations: 4 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-05/0.09619, allocations: 39.98 kB / 471.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.411e-05/0.09625, allocations: 19.92 kB / 471.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.361e-05/0.09631, allocations: 39.72 kB / 471.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.09645, allocations: 72.19 kB / 471.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.09646, allocations: 4 kB / 471.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.09647, allocations: 0 / 471.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.09648, allocations: 0 / 471.8 MB, free: 12.24 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004396/0.09692, allocations: 403 kB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.09697, allocations: 8.031 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.09701, allocations: 12.78 kB / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.09719, allocations: 200.1 kB / 472.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.09721, allocations: 4.375 kB / 472.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.09724, allocations: 4.375 kB / 472.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.09739, allocations: 61.59 kB / 472.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.09741, allocations: 7.906 kB / 472.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.09742, allocations: 0 / 472.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.09743, allocations: 0 / 472.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.09754, allocations: 23.98 kB / 472.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004249/0.09797, allocations: 300.8 kB / 472.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.09809, allocations: 46.56 kB / 472.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.452e-05/0.09816, allocations: 20.94 kB / 472.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.09819, allocations: 7.938 kB / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.09822, allocations: 30.56 kB / 472.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.09823, allocations: 3.938 kB / 472.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009083/0.09914, allocations: 241.4 kB / 473.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.09919, allocations: 55.41 kB / 473.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.09938, allocations: 210.1 kB / 473.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.0994, allocations: 29.7 kB / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.09946, allocations: 104 kB / 473.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.0995, allocations: 31.59 kB / 473.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.09955, allocations: 25.7 kB / 473.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.09965, allocations: 318.8 kB / 473.9 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.744e-05/0.09975, allocations: 31.97 kB / 473.9 MB, free: 9.891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.351e-05/0.09983, allocations: 23.98 kB / 474 MB, free: 9.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.1, allocations: 72.81 kB / 474 MB, free: 9.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1, allocations: 4 kB / 474 MB, free: 9.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002214/0.1002, allocations: 121.4 kB / 474.1 MB, free: 9.664 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1003, allocations: 4 kB / 474.1 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1003, allocations: 0 / 474.1 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.1003, allocations: 0 / 474.1 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1004, allocations: 19.98 kB / 474.2 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1004, allocations: 3.938 kB / 474.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.386e-05/0.1005, allocations: 7.984 kB / 474.2 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.1005, allocations: 0 / 474.2 MB, free: 9.629 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 (8): * Single equations (assignments): 8 * 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 9.234e-05/0.1006, allocations: 130.4 kB / 474.3 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.1006, allocations: 11.89 kB / 474.3 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.1009, allocations: 138.6 kB / 474.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1009, allocations: 0 / 474.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.934e-06/0.1009, allocations: 3.938 kB / 474.5 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1009, allocations: 0 / 474.5 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005142/0.1015, allocations: 423.2 kB / 474.9 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1015, allocations: 0 / 474.9 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.428e-05/0.1015, allocations: 23.92 kB / 474.9 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1016, allocations: 0 / 474.9 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.1016, allocations: 0 / 474.9 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1016, allocations: 4 kB / 474.9 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1016, allocations: 0 / 474.9 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.1019, allocations: 212.2 kB / 475.1 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/0.1019, allocations: 88.94 kB / 475.2 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.1019, allocations: 4 kB / 475.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.569e-05/0.102, allocations: 8 kB / 475.2 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.1021, allocations: 3.984 kB / 475.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.1021, allocations: 8 kB / 475.2 MB, free: 8.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.1022, allocations: 159.2 kB / 475.4 MB, free: 8.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1022, allocations: 3.938 kB / 475.4 MB, free: 8.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.1025, allocations: 20 kB / 475.4 MB, free: 8.301 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001002/0.1035, allocations: 451.6 kB / 475.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002284/0.1037, allocations: 71.95 kB / 475.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1037, allocations: 0 / 475.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.1038, allocations: 43.91 kB / 475.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.1042, allocations: 21.77 kB / 476 MB, free: 7.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000484/0.1047, allocations: 314.6 kB / 476.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.105, allocations: 0.7121 MB / 477 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.105, allocations: 15.44 kB / 477 MB, free: 6.805 MB / 350.1 MB Notification: Performance of SimCode: time 4.7e-07/0.105, allocations: 0 / 477 MB, free: 6.805 MB / 350.1 MB Notification: Performance of Templates: time 0.003371/0.1084, allocations: 1.742 MB / 478.7 MB, free: 5.066 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches