Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.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.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8",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.0007719/0.0007719, allocations: 175.3 kB / 16.72 MB, free: 5.078 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.172/1.172, allocations: 205.4 MB / 222.9 MB, free: 8.926 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.0008121/0.000812, allocations: 92.67 kB / 271.2 MB, free: 8.227 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.2918/0.2918, allocations: 43.56 MB / 363.1 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003205, allocations: 16 kB / 432.1 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09199/0.09233, allocations: 58.85 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.001689/0.09406, allocations: 1.255 MB / 492.2 MB, free: 9.293 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005107/0.09459, allocations: 291.8 kB / 492.5 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.281e-05/0.09466, allocations: 0 / 492.5 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.09485, allocations: 31.84 kB / 492.5 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.09498, allocations: 23.92 kB / 492.5 MB, free: 8.949 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.09519, allocations: 63.86 kB / 492.6 MB, free: 8.887 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.09531, allocations: 47.91 kB / 492.6 MB, free: 8.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.777e-05/0.09541, allocations: 11.97 kB / 492.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.354e-05/0.09546, allocations: 19.88 kB / 492.7 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.99e-05/0.09551, allocations: 15.92 kB / 492.7 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.09554, allocations: 0 / 492.7 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.97e-05/0.09563, allocations: 35.91 kB / 492.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.386e-05/0.09567, allocations: 4 kB / 492.7 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/0.09571, allocations: 45.52 kB / 492.8 MB, free: 8.703 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.09583, allocations: 60.19 kB / 492.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.09584, allocations: 0 / 492.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09585, allocations: 0 / 492.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.09586, allocations: 0 / 492.8 MB, free: 8.645 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003805/0.09624, allocations: 379.1 kB / 493.2 MB, free: 8.227 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.09628, allocations: 8.031 kB / 493.2 MB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.26e-05/0.09632, allocations: 38.73 kB / 493.2 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.373e-05/0.09635, allocations: 8.844 kB / 493.2 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.09651, allocations: 188.2 kB / 493.4 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.09653, allocations: 4.375 kB / 493.4 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.09655, allocations: 384 / 493.4 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.09667, allocations: 65.55 kB / 493.5 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.09669, allocations: 0 / 493.5 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.09671, allocations: 0 / 493.5 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.09671, allocations: 0 / 493.5 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.807e-05/0.09681, allocations: 31.98 kB / 493.5 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003035/0.09712, allocations: 272.8 kB / 493.8 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.0973, allocations: 46.5 kB / 493.8 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.739e-05/0.09736, allocations: 20.86 kB / 493.9 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.09739, allocations: 8.078 kB / 493.9 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.09741, allocations: 30.56 kB / 493.9 MB, free: 7.395 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.09742, allocations: 0 / 493.9 MB, free: 7.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005223/0.09795, allocations: 157.6 kB / 494 MB, free: 7.234 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.09799, allocations: 51.41 kB / 494.1 MB, free: 7.172 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.09812, allocations: 157 kB / 494.3 MB, free: 7.012 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.09814, allocations: 25.7 kB / 494.3 MB, free: 6.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.0982, allocations: 100.1 kB / 494.4 MB, free: 6.879 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.09822, allocations: 11.81 kB / 494.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.09823, allocations: 0 / 494.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.09834, allocations: 322.8 kB / 494.7 MB, free: 6.543 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.838e-05/0.09841, allocations: 23.98 kB / 494.7 MB, free: 6.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.894e-05/0.09848, allocations: 19.98 kB / 494.7 MB, free: 6.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.09861, allocations: 56.83 kB / 494.8 MB, free: 6.441 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.09862, allocations: 0 / 494.8 MB, free: 6.441 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001801/0.09881, allocations: 93.52 kB / 494.9 MB, free: 6.344 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.09883, allocations: 8 kB / 494.9 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.09884, allocations: 3.938 kB / 494.9 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.09885, allocations: 0 / 494.9 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.13e-05/0.09892, allocations: 19.97 kB / 494.9 MB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.09893, allocations: 0 / 494.9 MB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.874e-05/0.09897, allocations: 11.88 kB / 494.9 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.09899, allocations: 0 / 494.9 MB, free: 6.301 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 (5): * Single equations (assignments): 5 * 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.404e-05/0.09907, allocations: 125.8 kB / 495.1 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.0991, allocations: 7.906 kB / 495.1 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.0993, allocations: 98.22 kB / 495.2 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.09932, allocations: 8 kB / 495.2 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.09933, allocations: 0 / 495.2 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.09934, allocations: 7.938 kB / 495.2 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003676/0.09971, allocations: 342.6 kB / 495.5 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.09972, allocations: 7.938 kB / 495.5 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.938e-05/0.09978, allocations: 15.92 kB / 495.5 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.09979, allocations: 4 kB / 495.5 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.09981, allocations: 7.938 kB / 495.5 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.09981, allocations: 0 / 495.5 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.09982, allocations: 0 / 495.5 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.1, allocations: 183.4 kB / 495.7 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.521e-05/0.1001, allocations: 89.02 kB / 495.8 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.1001, allocations: 3.938 kB / 495.8 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.329e-05/0.1001, allocations: 11.98 kB / 495.8 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.1002, allocations: 0 / 495.8 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.1002, allocations: 4 kB / 495.8 MB, free: 5.297 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.828e-05/0.1003, allocations: 119.2 kB / 495.9 MB, free: 5.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.593e-06/0.1003, allocations: 0 / 495.9 MB, free: 5.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002147/0.1005, allocations: 11.94 kB / 496 MB, free: 5.168 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 (5): * Single equations (assignments): 5 * 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.00113/0.1016, allocations: 1.021 MB / 497 MB, free: 4.172 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001707/0.1018, allocations: 59.91 kB / 497 MB, free: 4.113 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1018, allocations: 3.938 kB / 497 MB, free: 4.109 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.813e-05/0.1019, allocations: 27.98 kB / 497.1 MB, free: 4.082 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.1022, allocations: 11.98 kB / 497.1 MB, free: 4.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000884/0.1031, allocations: 0.6168 MB / 497.7 MB, free: 3.395 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.1033, allocations: 0.6887 MB / 498.4 MB, free: 2.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.778e-05/0.1034, allocations: 19.44 kB / 498.4 MB, free: 2.66 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1034, allocations: 0 / 498.4 MB, free: 2.66 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.634/2.737, allocations: 1.661 MB / 0.4883 GB, free: 1 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches