Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009113/0.0009112, allocations: 176.9 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.266/1.266, allocations: 205.4 MB / 222.9 MB, free: 8.918 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007896/0.0007897, allocations: 94.41 kB / 271.2 MB, free: 8.219 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2788/0.2788, allocations: 43.56 MB / 363.1 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003182/0.0003183, allocations: 16 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09123/0.09156, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.001602/0.0932, allocations: 1.309 MB / 492.1 MB, free: 9.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.09426, allocations: 0.9183 MB / 493 MB, free: 8.645 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.092e-05/0.09432, allocations: 0 / 493 MB, free: 8.645 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.09449, allocations: 19.84 kB / 493.1 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.09463, allocations: 35.91 kB / 493.1 MB, free: 8.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.09497, allocations: 139.8 kB / 493.2 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.09508, allocations: 63.81 kB / 493.3 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.099e-05/0.09518, allocations: 23.84 kB / 493.3 MB, free: 8.367 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.929e-05/0.09523, allocations: 23.86 kB / 493.3 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.09534, allocations: 23.91 kB / 493.4 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.09536, allocations: 0 / 493.4 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.254e-05/0.09546, allocations: 47.92 kB / 493.4 MB, free: 8.273 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.051e-05/0.09551, allocations: 11.98 kB / 493.4 MB, free: 8.262 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.09555, allocations: 53.55 kB / 493.5 MB, free: 8.203 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.09567, allocations: 68.06 kB / 493.5 MB, free: 8.137 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.09568, allocations: 4 kB / 493.6 MB, free: 8.133 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.09569, allocations: 0 / 493.6 MB, free: 8.133 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.0957, allocations: 0 / 493.6 MB, free: 8.133 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.0003912/0.0961, allocations: 383.3 kB / 493.9 MB, free: 7.711 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.09613, allocations: 8.031 kB / 493.9 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.09617, allocations: 8.844 kB / 493.9 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.09633, allocations: 192.2 kB / 494.1 MB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.09635, allocations: 4.375 kB / 494.1 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.09637, allocations: 4.375 kB / 494.1 MB, free: 7.461 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.09655, allocations: 87.44 kB / 494.2 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.09657, allocations: 0 / 494.2 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.09658, allocations: 4 kB / 494.2 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.09659, allocations: 0 / 494.2 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.09674, allocations: 47.97 kB / 494.3 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.09712, allocations: 312.7 kB / 494.6 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.09726, allocations: 58.48 kB / 494.6 MB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.152e-05/0.09734, allocations: 28.94 kB / 494.7 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.09737, allocations: 0 / 494.7 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.09739, allocations: 34.56 kB / 494.7 MB, free: 6.816 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.0974, allocations: 4 kB / 494.7 MB, free: 6.812 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.000697/0.0981, allocations: 261.2 kB / 495 MB, free: 6.551 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.09815, allocations: 81.05 kB / 495 MB, free: 6.453 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.09826, allocations: 137.6 kB / 495.2 MB, free: 6.312 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.09829, allocations: 29.7 kB / 495.2 MB, free: 6.277 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.129e-05/0.09833, allocations: 88.14 kB / 495.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.09836, allocations: 27.64 kB / 495.3 MB, free: 6.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.09837, allocations: 0 / 495.3 MB, free: 6.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.726e-05/0.09846, allocations: 326.8 kB / 495.6 MB, free: 5.832 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.09858, allocations: 47.97 kB / 495.7 MB, free: 5.785 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.0987, allocations: 57.69 kB / 495.7 MB, free: 5.723 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.09893, allocations: 104.8 kB / 495.8 MB, free: 5.617 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.09894, allocations: 0 / 495.8 MB, free: 5.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000273/0.09922, allocations: 145.8 kB / 496 MB, free: 5.469 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.09924, allocations: 4 kB / 496 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.09925, allocations: 0 / 496 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.09927, allocations: 4 kB / 496 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.09938, allocations: 23.98 kB / 496 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.09939, allocations: 0 / 496 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.902e-05/0.09945, allocations: 19.92 kB / 496 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.09947, allocations: 0 / 496 MB, free: 5.418 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.899e-05/0.09955, allocations: 129.8 kB / 496.2 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.09958, allocations: 7.906 kB / 496.2 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000317/0.09991, allocations: 150 kB / 496.3 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.09992, allocations: 3.984 kB / 496.3 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.09993, allocations: 0 / 496.3 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.09994, allocations: 11.94 kB / 496.3 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004785/0.1004, allocations: 422.4 kB / 496.7 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1004, allocations: 0 / 496.7 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.833e-05/0.1005, allocations: 19.98 kB / 496.8 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1005, allocations: 3.938 kB / 496.8 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1005, allocations: 11.94 kB / 496.8 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1006, allocations: 0 / 496.8 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1006, allocations: 0 / 496.8 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.1008, allocations: 239.3 kB / 497 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.065e-05/0.1009, allocations: 85 kB / 497.1 MB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.1009, allocations: 7.938 kB / 497.1 MB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.579e-05/0.101, allocations: 20.27 kB / 497.1 MB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.1011, allocations: 4 kB / 497.1 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.1011, allocations: 0 / 497.1 MB, free: 4.219 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.504e-05/0.1011, allocations: 107.2 kB / 497.2 MB, free: 4.113 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1011, allocations: 0 / 497.2 MB, free: 4.113 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002282/0.1014, allocations: 24 kB / 497.3 MB, free: 4.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007914/0.1022, allocations: 446.9 kB / 497.7 MB, free: 3.691 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002831/0.1025, allocations: 107.9 kB / 497.8 MB, free: 3.586 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1025, allocations: 0 / 497.8 MB, free: 3.586 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.1026, allocations: 56.06 kB / 497.9 MB, free: 3.531 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.1029, allocations: 24.12 kB / 497.9 MB, free: 3.508 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.1033, allocations: 235 kB / 498.1 MB, free: 3.246 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/0.1035, allocations: 0.6926 MB / 498.8 MB, free: 2.527 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.1035, allocations: 23.42 kB / 498.8 MB, free: 2.504 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.1035, allocations: 0 / 498.8 MB, free: 2.504 MB / 378.7 MB Notification: Performance of Templates: time 0.002886/0.1064, allocations: 1.789 MB / 0.4889 GB, free: 0.7148 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches