Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.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.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test30",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.001222/0.001223, 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.001512/0.001512, allocations: 188.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.438/1.438, 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.2086/0.2086, allocations: 43.53 MB / 313.9 MB, free: 0.5234 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.001672/0.001672, allocations: 65.8 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09112/0.09281, allocations: 57.8 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002985/0.09584, allocations: 1.547 MB / 442.2 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005219/0.09639, allocations: 315.5 kB / 442.5 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.376e-05/0.09647, allocations: 4 kB / 442.5 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002408/0.09676, allocations: 71.77 kB / 442.6 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.09694, allocations: 63.75 kB / 442.6 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.09716, allocations: 71.78 kB / 442.7 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.0973, allocations: 67.89 kB / 442.8 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.09742, allocations: 11.98 kB / 442.8 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.276e-05/0.09747, allocations: 27.91 kB / 442.8 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.418e-05/0.09757, allocations: 55.81 kB / 442.9 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.0976, allocations: 0 / 442.9 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.423e-05/0.09768, allocations: 28 kB / 442.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.803e-05/0.09773, allocations: 23.86 kB / 442.9 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.09778, allocations: 31.73 kB / 442.9 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.09793, allocations: 83.78 kB / 443 MB, free: 4.406 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.09794, allocations: 0 / 443 MB, free: 4.406 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.09795, allocations: 0 / 443 MB, free: 4.406 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.09796, allocations: 0 / 443 MB, free: 4.406 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004/0.09836, allocations: 399 kB / 443.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.09841, allocations: 15.89 kB / 443.4 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.848e-05/0.09844, allocations: 34.73 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.09848, allocations: 8.844 kB / 443.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.09863, allocations: 197.2 kB / 443.7 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.09865, allocations: 384 / 443.7 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.09868, allocations: 8.312 kB / 443.7 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.09882, allocations: 53.61 kB / 443.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.09884, allocations: 0 / 443.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.09885, allocations: 0 / 443.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.09886, allocations: 0 / 443.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.463e-05/0.09895, allocations: 23.98 kB / 443.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.09926, allocations: 292.8 kB / 444 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.09947, allocations: 42.5 kB / 444.1 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.563e-05/0.09953, allocations: 16.94 kB / 444.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.09955, allocations: 0 / 444.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.172e-05/0.09957, allocations: 34.56 kB / 444.1 MB, free: 3.133 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.09958, allocations: 7.938 kB / 444.1 MB, free: 3.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004933/0.1001, allocations: 141.2 kB / 444.3 MB, free: 2.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.1001, allocations: 51.41 kB / 444.3 MB, free: 2.918 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.1002, allocations: 202.2 kB / 444.5 MB, free: 2.711 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.1003, allocations: 29.7 kB / 444.5 MB, free: 2.676 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.1003, allocations: 108 kB / 444.6 MB, free: 2.566 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.1003, allocations: 15.75 kB / 444.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.1004, allocations: 21.7 kB / 444.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.268e-05/0.1004, allocations: 326.8 kB / 445 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.309e-05/0.1005, allocations: 19.98 kB / 445 MB, free: 2.176 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.359e-05/0.1006, allocations: 15.98 kB / 445 MB, free: 2.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.1007, allocations: 48.72 kB / 445.1 MB, free: 2.109 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1007, allocations: 4 kB / 445.1 MB, free: 2.105 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001521/0.1008, allocations: 81.86 kB / 445.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.1009, allocations: 7.984 kB / 445.2 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1009, allocations: 0 / 445.2 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1009, allocations: 4 kB / 445.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.567e-05/0.1009, allocations: 8 kB / 445.2 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1009, allocations: 0 / 445.2 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.868e-05/0.101, allocations: 11.97 kB / 445.2 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.101, allocations: 7.938 kB / 445.2 MB, free: 1.98 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 (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 5.91e-05/0.1011, allocations: 133.7 kB / 445.3 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.1011, allocations: 7.906 kB / 445.3 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/0.1013, allocations: 94.2 kB / 445.4 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1013, allocations: 64 / 445.4 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1013, allocations: 4 kB / 445.4 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1013, allocations: 0 / 445.4 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.1016, allocations: 362.3 kB / 445.8 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1017, allocations: 0 / 445.8 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.743e-05/0.1017, allocations: 12 kB / 445.8 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.1017, allocations: 0 / 445.8 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.1017, allocations: 0 / 445.8 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.1017, allocations: 3.938 kB / 445.8 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1017, allocations: 0 / 445.8 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.1019, allocations: 183.4 kB / 446 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.138e-05/0.1019, allocations: 81.02 kB / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.102, allocations: 0 / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.728e-05/0.102, allocations: 15.86 kB / 446.1 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.1021, allocations: 8 kB / 446.1 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.1021, allocations: 0 / 446.1 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.968e-05/0.1022, allocations: 155.2 kB / 446.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1022, allocations: 4 kB / 446.2 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.1024, allocations: 19.94 kB / 446.3 MB, free: 0.8164 MB / 318.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.001131/0.1036, allocations: 1.004 MB / 447.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.1038, allocations: 55.91 kB / 447.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1038, allocations: 0 / 447.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.169e-05/0.1039, allocations: 23.98 kB / 447.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.1042, allocations: 21.95 kB / 447.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.1058, allocations: 1.535 MB / 448.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.1061, allocations: 0.7001 MB / 449.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.335e-05/0.1061, allocations: 7.984 kB / 449.6 MB, free: 13.42 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.333e-05/0.1062, allocations: 31.42 kB / 449.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1062, allocations: 0 / 449.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.1261, allocations: 2.657 MB / 452.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.681/7.807, allocations: 15.94 kB / 452.3 MB, free: 10.69 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches