Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 108.3 kB / 18.41 MB, free: 4.695 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.001062/0.001062, allocations: 191 kB / 19.34 MB, free: 3.766 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.219/1.219, allocations: 222.9 MB / 243 MB, free: 15.08 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.1764/0.1764, allocations: 44.18 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 72.38 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08958/0.09097, allocations: 60.82 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.002328/0.09333, allocations: 1.556 MB / 472.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005957/0.09394, allocations: 415.1 kB / 472.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.621e-05/0.09399, allocations: 0 / 472.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.09414, allocations: 27.84 kB / 472.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.09431, allocations: 35.78 kB / 472.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.09454, allocations: 107.7 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.09466, allocations: 59.83 kB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.841e-05/0.09474, allocations: 15.98 kB / 472.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.243e-05/0.09479, allocations: 23.86 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.494e-05/0.09484, allocations: 15.94 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.09486, allocations: 0 / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.192e-05/0.09493, allocations: 35.97 kB / 473 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.834e-05/0.09497, allocations: 15.92 kB / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.09501, allocations: 27.81 kB / 473 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.09513, allocations: 71.8 kB / 473.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.09514, allocations: 7.938 kB / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.09515, allocations: 0 / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.09515, 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.0003553/0.09551, allocations: 389.8 kB / 473.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.635e-05/0.09555, allocations: 12.03 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.09558, allocations: 4.844 kB / 473.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.09573, allocations: 192.2 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.09575, allocations: 8.375 kB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.09577, allocations: 384 / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.09588, allocations: 53.81 kB / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.09589, allocations: 0 / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.09591, allocations: 0 / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.09591, allocations: 4 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.192e-05/0.096, allocations: 31.89 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/0.0963, allocations: 288.8 kB / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.09647, allocations: 38.56 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.456e-05/0.09652, allocations: 24.88 kB / 474.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.09654, allocations: 0 / 474.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.09656, allocations: 34.56 kB / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.09657, allocations: 0 / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004351/0.09701, allocations: 149.3 kB / 474.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.09704, allocations: 55.41 kB / 474.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.09717, allocations: 161.8 kB / 474.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.09719, allocations: 25.7 kB / 474.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.512e-05/0.09724, allocations: 96.12 kB / 474.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.09726, allocations: 27.59 kB / 474.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.0973, allocations: 21.72 kB / 474.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.66e-05/0.09739, allocations: 322.8 kB / 475 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.975e-05/0.09745, allocations: 19.98 kB / 475 MB, free: 9.121 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.082e-05/0.09751, allocations: 19.98 kB / 475 MB, free: 9.102 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.09763, allocations: 52.83 kB / 475.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.09764, allocations: 0 / 475.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001499/0.09779, allocations: 89.5 kB / 475.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.09781, allocations: 11.94 kB / 475.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.09782, allocations: 0 / 475.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/0.09783, allocations: 0 / 475.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.231e-05/0.09789, allocations: 11.98 kB / 475.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.0979, allocations: 0 / 475.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.292e-05/0.09793, allocations: 8 kB / 475.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.09795, allocations: 4.25 kB / 475.2 MB, free: 8.918 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 7.056e-05/0.09802, allocations: 125.8 kB / 475.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.09805, allocations: 7.906 kB / 475.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.09824, allocations: 105.9 kB / 475.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.09825, allocations: 0 / 475.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.09826, allocations: 0 / 475.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.09827, allocations: 0 / 475.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003428/0.09861, allocations: 362.5 kB / 475.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.09863, allocations: 0 / 475.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-05/0.09868, allocations: 8 kB / 475.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.09868, allocations: 3.938 kB / 475.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.0987, allocations: 4 kB / 475.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.0987, allocations: 3.938 kB / 475.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.09871, allocations: 0 / 475.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.09889, allocations: 187.4 kB / 476 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.09893, allocations: 81.02 kB / 476.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.09895, allocations: 3.984 kB / 476.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.991e-05/0.09901, allocations: 7.938 kB / 476.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/0.09904, allocations: 4 kB / 476.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.09905, allocations: 0 / 476.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.171e-05/0.09913, allocations: 133.6 kB / 476.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09914, allocations: 0 / 476.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002084/0.09935, allocations: 12 kB / 476.2 MB, free: 7.785 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.0007357/0.1001, allocations: 414.1 kB / 476.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001577/0.1003, allocations: 55.91 kB / 476.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.1003, allocations: 0 / 476.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.194e-05/0.1003, allocations: 23.98 kB / 476.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.1006, allocations: 20.58 kB / 476.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/0.1009, allocations: 202 kB / 476.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.1011, allocations: 0.7002 MB / 477.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.341e-05/0.1012, allocations: 15.95 kB / 477.7 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.1012, allocations: 15.44 kB / 477.7 MB, free: 6.453 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1012, allocations: 0 / 477.7 MB, free: 6.453 MB / 350.1 MB Notification: Performance of Templates: time 0.2332/0.3345, allocations: 1.112 MB / 478.8 MB, free: 5.352 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches