Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008984/0.0008986, allocations: 179.4 kB / 16.72 MB, free: 4.957 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.141/1.141, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007222/0.0007222, allocations: 82.41 kB / 271.2 MB, free: 8.246 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.2888/0.2888, allocations: 43.56 MB / 363.1 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003346, allocations: 12 kB / 432.1 MB, free: 5.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09206/0.09241, allocations: 58.85 MB / 490.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.001556/0.094, allocations: 1.313 MB / 492.2 MB, free: 9.242 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004833/0.0945, allocations: 327.8 kB / 492.6 MB, free: 8.918 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.717e-05/0.09454, allocations: 0 / 492.6 MB, free: 8.918 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.09474, allocations: 47.86 kB / 492.6 MB, free: 8.871 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.09487, allocations: 43.83 kB / 492.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.0952, allocations: 139.8 kB / 492.8 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.09532, allocations: 63.77 kB / 492.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.262e-05/0.09541, allocations: 23.83 kB / 492.9 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.495e-05/0.09546, allocations: 27.91 kB / 492.9 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.715e-05/0.09553, allocations: 31.84 kB / 492.9 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.09555, allocations: 4 kB / 492.9 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.84e-05/0.09562, allocations: 24 kB / 492.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.946e-05/0.09567, allocations: 23.91 kB / 493 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.09572, allocations: 49.5 kB / 493 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.09583, allocations: 72.06 kB / 493.1 MB, free: 8.371 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.09584, allocations: 0 / 493.1 MB, free: 8.371 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09585, allocations: 0 / 493.1 MB, free: 8.371 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.09585, allocations: 0 / 493.1 MB, free: 8.371 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.0003832/0.09624, allocations: 395.2 kB / 493.5 MB, free: 7.938 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.09628, allocations: 8.031 kB / 493.5 MB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.866e-05/0.09631, allocations: 38.75 kB / 493.5 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.56e-05/0.09634, allocations: 12.75 kB / 493.5 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.0965, allocations: 200.6 kB / 493.7 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.09652, allocations: 8.125 kB / 493.7 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.09654, allocations: 3.938 kB / 493.7 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.09669, allocations: 61.67 kB / 493.8 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.09672, allocations: 8 kB / 493.8 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.09673, allocations: 0 / 493.8 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.09674, allocations: 0 / 493.8 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.09687, allocations: 47.95 kB / 493.9 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.09724, allocations: 320.7 kB / 494.2 MB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.09737, allocations: 50.55 kB / 494.2 MB, free: 7.082 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.937e-05/0.09745, allocations: 32.94 kB / 494.3 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.09748, allocations: 4 kB / 494.3 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.0975, allocations: 30.56 kB / 494.3 MB, free: 7.004 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.09751, allocations: 0 / 494.3 MB, free: 7.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007257/0.09824, allocations: 269.1 kB / 494.5 MB, free: 6.734 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.09827, allocations: 59.34 kB / 494.6 MB, free: 6.664 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.09842, allocations: 174.4 kB / 494.8 MB, free: 6.484 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.09844, allocations: 25.7 kB / 494.8 MB, free: 6.453 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/0.09849, allocations: 100.1 kB / 494.9 MB, free: 6.352 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.09852, allocations: 23.64 kB / 494.9 MB, free: 6.328 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/0.09853, allocations: 4 kB / 494.9 MB, free: 6.324 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.521e-05/0.09862, allocations: 318.8 kB / 495.2 MB, free: 6.004 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.09874, allocations: 55.89 kB / 495.3 MB, free: 5.949 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.09886, allocations: 43.97 kB / 495.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.09909, allocations: 105 kB / 495.4 MB, free: 5.801 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.0991, allocations: 4 kB / 495.4 MB, free: 5.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000276/0.09938, allocations: 141.5 kB / 495.6 MB, free: 5.652 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.0994, allocations: 8 kB / 495.6 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.09941, allocations: 4 kB / 495.6 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.09942, allocations: 0 / 495.6 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.09954, allocations: 27.86 kB / 495.6 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.09955, allocations: 4 kB / 495.6 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.391e-05/0.09962, allocations: 19.89 kB / 495.6 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.09963, allocations: 4 kB / 495.6 MB, free: 5.586 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.125e-05/0.09971, allocations: 125.8 kB / 495.8 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.09975, allocations: 7.906 kB / 495.8 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003156/0.1001, allocations: 154.3 kB / 495.9 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1001, allocations: 4.219 kB / 495.9 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.1001, allocations: 0 / 495.9 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1001, allocations: 0 / 495.9 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004867/0.1006, allocations: 434.4 kB / 496.4 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1006, allocations: 0 / 496.4 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.163e-05/0.1007, allocations: 27.92 kB / 496.4 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1007, allocations: 0 / 496.4 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.1007, allocations: 3.938 kB / 496.4 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1007, allocations: 4 kB / 496.4 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1007, allocations: 0 / 496.4 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.101, allocations: 239.3 kB / 496.6 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-05/0.1011, allocations: 92.94 kB / 496.7 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.1011, allocations: 4 kB / 496.7 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.719e-05/0.1012, allocations: 15.98 kB / 496.7 MB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.1012, allocations: 7.922 kB / 496.7 MB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.1012, allocations: 4 kB / 496.7 MB, free: 4.383 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.052e-05/0.1013, allocations: 136.1 kB / 496.9 MB, free: 4.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1014, allocations: 0 / 496.9 MB, free: 4.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002083/0.1016, allocations: 16 kB / 496.9 MB, free: 4.234 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.001182/0.1028, allocations: 1.078 MB / 498 MB, free: 3.176 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002747/0.103, allocations: 107.9 kB / 498.1 MB, free: 3.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.103, allocations: 0 / 498.1 MB, free: 3.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.1032, allocations: 60.06 kB / 498.1 MB, free: 3.012 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.1035, allocations: 20.12 kB / 498.2 MB, free: 2.992 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.1046, allocations: 0.7982 MB / 499 MB, free: 2.141 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.1049, allocations: 0.7043 MB / 499.7 MB, free: 1.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.734e-05/0.1049, allocations: 31.42 kB / 499.7 MB, free: 1.379 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1049, allocations: 0 / 499.7 MB, free: 1.379 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.85/2.955, allocations: 2.013 MB / 0.4899 GB, free: 42.4 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches