Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.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 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 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 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 103 kB / 16.27 MB, free: 5.93 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.002167/0.002167, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1857/0.1857, allocations: 43.52 MB / 313.9 MB, free: 0.5195 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002128, allocations: 78.08 kB / 382.8 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08545/0.08759, allocations: 57.78 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test12): time 0.002274/0.0899, allocations: 1.605 MB / 442.2 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000843/0.09076, allocations: 0.9338 MB / 443.2 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.961e-05/0.09081, allocations: 4 kB / 443.2 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.09098, allocations: 23.84 kB / 443.2 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001417/0.09113, allocations: 39.8 kB / 443.2 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.09135, allocations: 107.2 kB / 443.3 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.248e-05/0.09146, allocations: 71.77 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.173e-05/0.09153, allocations: 16.11 kB / 443.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.35e-05/0.09157, allocations: 23.92 kB / 443.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.09169, allocations: 35.84 kB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.09171, allocations: 4 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.982e-05/0.09179, allocations: 51.97 kB / 443.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.349e-05/0.09184, allocations: 19.86 kB / 443.6 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.09187, allocations: 23.86 kB / 443.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.092, allocations: 99.75 kB / 443.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.09201, allocations: 3.938 kB / 443.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.09202, allocations: 4 kB / 443.7 MB, free: 3.723 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.09203, allocations: 0 / 443.7 MB, free: 3.723 MB / 318.1 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.0003505/0.09238, allocations: 395.2 kB / 444.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.691e-05/0.09242, allocations: 15.89 kB / 444.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.111e-05/0.09244, allocations: 34.75 kB / 444.1 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.09247, allocations: 8.844 kB / 444.1 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.09259, allocations: 188.2 kB / 444.3 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.09261, allocations: 4.312 kB / 444.3 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.09263, allocations: 12.12 kB / 444.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.09277, allocations: 71.39 kB / 444.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.09278, allocations: 4 kB / 444.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.0928, allocations: 4 kB / 444.4 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.09281, allocations: 0 / 444.4 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.09292, allocations: 31.97 kB / 444.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002298/0.09316, allocations: 292.7 kB / 444.7 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.618e-05/0.09327, allocations: 58.48 kB / 444.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.473e-05/0.09333, allocations: 20.94 kB / 444.8 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.09335, allocations: 4 kB / 444.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.09337, allocations: 30.56 kB / 444.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.09338, allocations: 0 / 444.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005875/0.09397, allocations: 205.2 kB / 445 MB, free: 2.188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.09401, allocations: 81.09 kB / 445.1 MB, free: 2.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.024e-05/0.0941, allocations: 141.3 kB / 445.2 MB, free: 1.941 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.09412, allocations: 25.7 kB / 445.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.611e-05/0.09415, allocations: 96.14 kB / 445.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.09417, allocations: 31.58 kB / 445.4 MB, free: 1.781 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.0942, allocations: 17.8 kB / 445.4 MB, free: 1.758 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.903e-05/0.09425, allocations: 322.8 kB / 445.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.294e-05/0.09435, allocations: 35.89 kB / 445.8 MB, free: 1.398 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.081e-05/0.09444, allocations: 49.69 kB / 445.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.09462, allocations: 68.84 kB / 445.9 MB, free: 1.273 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.09462, allocations: 0 / 445.9 MB, free: 1.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000211/0.09484, allocations: 113.5 kB / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.09486, allocations: 4 kB / 446 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.09486, allocations: 0 / 446 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.09488, allocations: 4.281 kB / 446 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.44e-05/0.09498, allocations: 23.92 kB / 446 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.09499, allocations: 3.938 kB / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.793e-05/0.09505, allocations: 11.98 kB / 446 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.09506, allocations: 0 / 446 MB, free: 1.109 MB / 318.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 (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 5.076e-05/0.09512, allocations: 117.8 kB / 446.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.09516, allocations: 19.88 kB / 446.2 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.09542, allocations: 122.6 kB / 446.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.09543, allocations: 4 kB / 446.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.09544, allocations: 3.938 kB / 446.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.09545, allocations: 0 / 446.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003662/0.09582, allocations: 394.4 kB / 446.7 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.09583, allocations: 0 / 446.7 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.859e-05/0.0959, allocations: 23.98 kB / 446.7 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.09591, allocations: 3.938 kB / 446.7 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.09592, allocations: 0 / 446.7 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.09593, allocations: 3.984 kB / 446.7 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.09593, allocations: 0 / 446.7 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.09616, allocations: 215.3 kB / 446.9 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.155e-05/0.09619, allocations: 81.11 kB / 447 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.872e-05/0.09622, allocations: 7.938 kB / 447 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.322e-05/0.09631, allocations: 11.98 kB / 447 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.09635, allocations: 11.92 kB / 447 MB, free: 0 / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.09636, allocations: 0 / 447 MB, free: 0 / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.09647, allocations: 111.3 kB / 447.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.09648, allocations: 7.938 kB / 447.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.09672, allocations: 23.98 kB / 447.2 MB, free: 15.86 MB / 334.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 (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.001331/0.09806, allocations: 1.077 MB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002673/0.09834, allocations: 75.94 kB / 448.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.09835, allocations: 0 / 448.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.09847, allocations: 47.91 kB / 448.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.09875, allocations: 18.02 kB / 448.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.1004, allocations: 1.535 MB / 449.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.1007, allocations: 0.6963 MB / 450.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.211e-05/0.1007, allocations: 16.66 kB / 450.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.037e-05/0.1008, allocations: 27.42 kB / 450.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1008, allocations: 0 / 450.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7356/0.8364, allocations: 2.957 MB / 453.6 MB, free: 9.332 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.61/9.446, allocations: 3.984 kB / 453.6 MB, free: 9.328 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches