Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",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.0006839/0.0006838, allocations: 96.02 kB / 17.35 MB, free: 6.367 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.0007528/0.0007528, allocations: 176.1 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.2/1.2, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1789/0.1789, allocations: 44.24 MB / 337.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002796/0.0002796, allocations: 8.188 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09369/0.09398, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.001674/0.09569, allocations: 1.282 MB / 473.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.09699, allocations: 0.9804 MB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.82e-05/0.09704, allocations: 0 / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001901/0.09724, allocations: 15.94 kB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.09739, allocations: 35.84 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.09761, allocations: 82.22 kB / 474.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.09773, allocations: 51.84 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.242e-05/0.09783, allocations: 11.98 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.467e-05/0.09788, allocations: 19.92 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.09802, allocations: 27.78 kB / 474.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.09804, allocations: 4 kB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.344e-05/0.09814, allocations: 47.97 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.09819, allocations: 7.938 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.053e-05/0.09824, allocations: 49.56 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.09838, allocations: 84.05 kB / 475.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.09839, allocations: 0 / 475.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.0984, allocations: 4 kB / 475.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.09841, allocations: 0 / 475.1 MB, free: 10.54 MB / 350.1 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.0003811/0.0988, allocations: 375.2 kB / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.09884, allocations: 8.031 kB / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.235e-05/0.09888, allocations: 34.75 kB / 475.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.246e-05/0.0989, allocations: 0.9375 kB / 475.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.09906, allocations: 192.2 kB / 475.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.246e-06/0.09908, allocations: 4.375 kB / 475.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.0991, allocations: 384 / 475.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.09924, allocations: 67.34 kB / 475.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.557e-06/0.09926, allocations: 3.906 kB / 475.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.09927, allocations: 3.984 kB / 475.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.09928, allocations: 3.938 kB / 475.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.415e-05/0.09938, allocations: 35.91 kB / 475.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.09967, allocations: 264.9 kB / 476 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.09985, allocations: 42.56 kB / 476.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.877e-05/0.0999, allocations: 24.94 kB / 476.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.09993, allocations: 0 / 476.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.09996, allocations: 42.5 kB / 476.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.09996, allocations: 0 / 476.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004934/0.1005, allocations: 153.4 kB / 476.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.1005, allocations: 77.11 kB / 476.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.1006, allocations: 141.8 kB / 476.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.1007, allocations: 25.7 kB / 476.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.717e-05/0.1007, allocations: 104 kB / 476.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.1007, allocations: 15.81 kB / 476.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.1008, allocations: 13.72 kB / 476.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.734e-05/0.1009, allocations: 322.8 kB / 477 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.644e-05/0.1009, allocations: 19.98 kB / 477 MB, free: 8.367 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.285e-05/0.101, allocations: 41.7 kB / 477 MB, free: 8.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.1011, allocations: 48.83 kB / 477.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1011, allocations: 0 / 477.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001716/0.1013, allocations: 93.55 kB / 477.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.1013, allocations: 4 kB / 477.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1014, allocations: 0 / 477.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.1014, allocations: 0 / 477.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.811e-05/0.1014, allocations: 15.98 kB / 477.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1014, allocations: 0 / 477.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.57e-05/0.1015, allocations: 12 kB / 477.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.1015, allocations: 3.938 kB / 477.2 MB, free: 8.137 MB / 350.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 (5): * Single equations (assignments): 5 * 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 7.471e-05/0.1016, allocations: 121.8 kB / 477.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.1016, allocations: 4 kB / 477.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002093/0.1018, allocations: 93.56 kB / 477.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1018, allocations: 4 kB / 477.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1019, allocations: 3.938 kB / 477.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1019, allocations: 4 kB / 477.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003624/0.1022, allocations: 350.4 kB / 477.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1022, allocations: 4.312 kB / 477.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.147e-05/0.1023, allocations: 15.98 kB / 477.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.1023, allocations: 8 kB / 477.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.1023, allocations: 7.938 kB / 477.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1023, allocations: 3.938 kB / 477.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1023, allocations: 0 / 477.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.1025, allocations: 183.5 kB / 478 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.365e-05/0.1026, allocations: 85.02 kB / 478.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.1026, allocations: 3.984 kB / 478.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.037e-05/0.1027, allocations: 11.94 kB / 478.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.1027, allocations: 0 / 478.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.1027, allocations: 4 kB / 478.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.676e-05/0.1028, allocations: 106.1 kB / 478.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1028, allocations: 0 / 478.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002326/0.103, allocations: 20 kB / 478.2 MB, free: 7.02 MB / 350.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 (5): * Single equations (assignments): 5 * 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.001232/0.1043, allocations: 1.069 MB / 479.3 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001766/0.1045, allocations: 51.97 kB / 479.3 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1045, allocations: 4 kB / 479.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.195e-05/0.1046, allocations: 31.92 kB / 479.4 MB, free: 6.012 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.1049, allocations: 19.92 kB / 479.4 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.1061, allocations: 1.402 MB / 480.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.1063, allocations: 0.6887 MB / 481.5 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.976e-05/0.1064, allocations: 11.98 kB / 481.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.281e-05/0.1065, allocations: 31.36 kB / 481.5 MB, free: 3.754 MB / 350.1 MB Notification: Performance of SimCode: time 1.413e-06/0.1065, allocations: 0 / 481.5 MB, free: 3.754 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01248/0.119, allocations: 2.311 MB / 483.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002621/0.1192, allocations: 239.5 kB / 484.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.578/1.698, allocations: 0 / 484.1 MB, free: 1.305 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches