Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009427/0.0009428, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, allocations: 229.5 MB / 247.7 MB, free: 6.312 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007684/0.0007688, allocations: 101.7 kB / 299.9 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3206/0.3206, allocations: 45.02 MB / 397 MB, free: 31.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002514/0.0002514, allocations: 8 kB / 470.8 MB, free: 7.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2639, allocations: 63.1 MB / 0.5214 GB, free: 38.52 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.001449/0.2654, allocations: 1.353 MB / 0.5227 GB, free: 37.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007468/0.2661, allocations: 0.7767 MB / 0.5234 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.12e-05/0.2662, allocations: 0 / 0.5234 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003933/0.2666, allocations: 451.3 kB / 0.5239 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002736/0.2669, allocations: 281.8 kB / 0.5241 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.2672, allocations: 154.4 kB / 0.5243 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.2674, allocations: 172 kB / 0.5245 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.553e-05/0.2675, allocations: 22.09 kB / 0.5245 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.942e-05/0.2675, allocations: 103 kB / 0.5246 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.2677, allocations: 211.7 kB / 0.5248 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.2677, allocations: 4 kB / 0.5248 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.55e-05/0.2678, allocations: 31.84 kB / 0.5248 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.74e-05/0.2679, allocations: 80.47 kB / 0.5249 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.087e-05/0.268, allocations: 126.9 kB / 0.525 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.2681, allocations: 248.2 kB / 0.5252 GB, free: 36.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2682, allocations: 3.938 kB / 0.5253 GB, free: 36.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2682, allocations: 0 / 0.5253 GB, free: 36.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.2682, allocations: 0 / 0.5253 GB, free: 36.43 MB / 378.7 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.0004489/0.2686, allocations: 0.6066 MB / 0.5258 GB, free: 35.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.2687, allocations: 8.875 kB / 0.5259 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.2687, allocations: 43.09 kB / 0.5259 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.2689, allocations: 301.4 kB / 0.5262 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.2689, allocations: 384 / 0.5262 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.269, allocations: 3.25 kB / 0.5262 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.2691, allocations: 68.84 kB / 0.5263 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.2691, allocations: 0 / 0.5263 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.2691, allocations: 7.938 kB / 0.5263 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2691, allocations: 3.094 kB / 0.5263 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.2693, allocations: 49 kB / 0.5263 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003848/0.2697, allocations: 415.3 kB / 0.5267 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.2698, allocations: 45.7 kB / 0.5267 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.519e-05/0.2699, allocations: 32.19 kB / 0.5268 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.2699, allocations: 7.047 kB / 0.5268 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.2699, allocations: 37.31 kB / 0.5268 GB, free: 35.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.2699, allocations: 0 / 0.5268 GB, free: 35.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006795/0.2706, allocations: 334 kB / 0.5271 GB, free: 34.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.256e-05/0.2706, allocations: 51.41 kB / 0.5272 GB, free: 34.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000567/0.2712, allocations: 0.8607 MB / 0.528 GB, free: 34.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.124e-06/0.2712, allocations: 25.7 kB / 0.5281 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.2713, allocations: 221 kB / 0.5283 GB, free: 34.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.2713, allocations: 22.44 kB / 0.5283 GB, free: 34.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.2713, allocations: 0 / 0.5283 GB, free: 34.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.656e-05/0.2714, allocations: 365.9 kB / 0.5286 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.2715, allocations: 47.98 kB / 0.5287 GB, free: 34.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.438e-05/0.2716, allocations: 44.75 kB / 0.5287 GB, free: 34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.2718, allocations: 106.4 kB / 0.5288 GB, free: 33.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.2718, allocations: 0 / 0.5288 GB, free: 33.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002598/0.2721, allocations: 179.8 kB / 0.529 GB, free: 33.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.314e-06/0.2721, allocations: 3.156 kB / 0.529 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-06/0.2721, allocations: 0 / 0.529 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.294e-06/0.2721, allocations: 6.75 kB / 0.529 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.256e-05/0.2722, allocations: 24.78 kB / 0.529 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.2722, allocations: 3.938 kB / 0.529 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.642e-05/0.2723, allocations: 23.27 kB / 0.5291 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.2723, allocations: 4.312 kB / 0.5291 GB, free: 33.87 MB / 378.7 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 0.000121/0.2725, allocations: 220.6 kB / 0.5293 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/0.2725, allocations: 37.12 kB / 0.5293 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003455/0.2729, allocations: 209 kB / 0.5295 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2729, allocations: 0 / 0.5295 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.2729, allocations: 3.031 kB / 0.5295 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2729, allocations: 3.938 kB / 0.5295 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/0.2734, allocations: 0.5187 MB / 0.53 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2734, allocations: 0 / 0.53 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.931e-05/0.2735, allocations: 26.81 kB / 0.53 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2735, allocations: 0 / 0.53 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.2735, allocations: 7.938 kB / 0.5301 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2735, allocations: 0 / 0.5301 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2735, allocations: 4 kB / 0.5301 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.2738, allocations: 272.2 kB / 0.5303 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.252e-05/0.2738, allocations: 108.7 kB / 0.5304 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.2739, allocations: 6.812 kB / 0.5304 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.386e-05/0.274, allocations: 11.84 kB / 0.5304 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.274, allocations: 10.22 kB / 0.5304 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/0.274, allocations: 2.812 kB / 0.5304 GB, free: 32.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004275/0.2744, allocations: 0.6471 MB / 0.5311 GB, free: 32.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2744, allocations: 4 kB / 0.5311 GB, free: 32.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002122/0.2747, allocations: 31.72 kB / 0.5311 GB, free: 32.68 MB / 378.7 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.0006956/0.2754, allocations: 462.2 kB / 0.5316 GB, free: 32.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.2756, allocations: 104.5 kB / 0.5317 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.2756, allocations: 0 / 0.5317 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.2757, allocations: 55.22 kB / 0.5317 GB, free: 32.37 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.276, allocations: 33.89 kB / 0.5317 GB, free: 32.35 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007923/0.2768, allocations: 0.8984 MB / 0.5326 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.2771, allocations: 0.8365 MB / 0.5334 GB, free: 31.19 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.167e-05/0.2771, allocations: 21.27 kB / 0.5335 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.49e-05/0.2772, allocations: 16.69 kB / 0.5335 GB, free: 31.17 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.2772, allocations: 0 / 0.5335 GB, free: 31.17 MB / 378.7 MB Notification: Performance of Templates: time 0.003528/0.2807, allocations: 1.469 MB / 0.5349 GB, free: 31 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches