Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 105.4 kB / 18.4 MB, free: 4.57 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.001257/0.001257, allocations: 188 kB / 19.34 MB, free: 3.641 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.263/1.263, allocations: 222.9 MB / 243 MB, free: 15.13 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.1891/0.1891, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 67.25 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0884/0.0896, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.002545/0.09218, allocations: 1.552 MB / 472.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006764/0.09288, allocations: 411.2 kB / 472.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.635e-05/0.09294, allocations: 7.938 kB / 472.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.09311, allocations: 27.84 kB / 472.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.09328, allocations: 27.86 kB / 472.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.0936, allocations: 111.2 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.09372, allocations: 51.91 kB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.84e-05/0.09382, allocations: 19.98 kB / 472.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.119e-05/0.09386, allocations: 23.86 kB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.114e-05/0.09392, allocations: 23.86 kB / 473 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.09394, allocations: 0 / 473 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.905e-05/0.09402, allocations: 28 kB / 473 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.468e-05/0.09407, allocations: 19.91 kB / 473 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.09411, allocations: 23.81 kB / 473 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.09425, allocations: 71.8 kB / 473.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.09427, allocations: 4 kB / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.09428, allocations: 4 kB / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.09428, allocations: 0 / 473.1 MB, free: 11.25 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003821/0.09467, allocations: 381.9 kB / 473.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.09472, allocations: 12.03 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.09476, allocations: 12.84 kB / 473.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.09491, allocations: 192.2 kB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.09493, allocations: 384 / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.09495, allocations: 384 / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.09508, allocations: 53.81 kB / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.09509, allocations: 0 / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.0951, allocations: 0 / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.09511, allocations: 4 kB / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.167e-05/0.0952, allocations: 23.97 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.09553, allocations: 292.7 kB / 474.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.09573, allocations: 42.56 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.751e-05/0.09579, allocations: 20.94 kB / 474.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.09581, allocations: 0 / 474.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.09583, allocations: 30.56 kB / 474.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.09584, allocations: 0 / 474.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004843/0.09633, allocations: 153.5 kB / 474.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.09637, allocations: 51.41 kB / 474.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.09651, allocations: 157.7 kB / 474.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.09653, allocations: 25.7 kB / 474.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/0.09658, allocations: 92.14 kB / 474.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.09661, allocations: 15.8 kB / 474.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.09664, allocations: 17.72 kB / 474.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.596e-05/0.09675, allocations: 326.7 kB / 475 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.302e-05/0.09683, allocations: 27.97 kB / 475 MB, free: 9.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-05/0.09689, allocations: 23.92 kB / 475 MB, free: 9.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.09701, allocations: 44.83 kB / 475.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.09702, allocations: 4 kB / 475.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000166/0.09719, allocations: 85.66 kB / 475.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.09721, allocations: 4 kB / 475.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.09722, allocations: 7.984 kB / 475.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.09723, allocations: 0 / 475.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.856e-05/0.0973, allocations: 16.19 kB / 475.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.09731, allocations: 0 / 475.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.09736, allocations: 15.98 kB / 475.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.09737, allocations: 3.938 kB / 475.2 MB, free: 8.934 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 (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 6.916e-05/0.09745, allocations: 121.8 kB / 475.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.09748, allocations: 7.906 kB / 475.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.09769, allocations: 97.95 kB / 475.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.0977, allocations: 0 / 475.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.09771, allocations: 0 / 475.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.09772, allocations: 4 kB / 475.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003601/0.09809, allocations: 358.4 kB / 475.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.0981, allocations: 0 / 475.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.113e-05/0.09815, allocations: 11.98 kB / 475.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.09816, allocations: 7.938 kB / 475.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.09817, allocations: 0 / 475.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.09818, allocations: 7.938 kB / 475.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.09819, allocations: 0 / 475.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.09838, allocations: 179.4 kB / 476 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/0.09843, allocations: 85.02 kB / 476.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.09845, allocations: 4 kB / 476.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.361e-05/0.09852, allocations: 11.94 kB / 476.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-05/0.09856, allocations: 3.984 kB / 476.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.09857, allocations: 4 kB / 476.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.265e-05/0.09865, allocations: 121.8 kB / 476.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09865, allocations: 0 / 476.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002214/0.09888, allocations: 12 kB / 476.2 MB, free: 7.812 MB / 350.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.0007963/0.09968, allocations: 407.9 kB / 476.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001749/0.09987, allocations: 55.91 kB / 476.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.09988, allocations: 0 / 476.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.993e-05/0.09995, allocations: 27.98 kB / 476.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.1002, allocations: 15.92 kB / 476.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.1006, allocations: 189.4 kB / 476.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.1008, allocations: 0.7001 MB / 477.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.85e-05/0.1009, allocations: 15.97 kB / 477.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.1009, allocations: 15.42 kB / 477.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1009, allocations: 0 / 477.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of Templates: time 0.6308/0.7317, allocations: 1.115 MB / 478.7 MB, free: 5.395 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches