Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_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.001359/0.001359, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001473/0.001473, allocations: 192 kB / 18.56 MB, free: 4.434 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.473/1.473, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2889/0.2889, allocations: 44.19 MB / 336.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 63.73 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1094, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003183/0.1126, allocations: 1.576 MB / 470.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007626/0.1134, allocations: 399.3 kB / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.687e-05/0.1135, allocations: 4 kB / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.1137, allocations: 79.77 kB / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.114, allocations: 67.67 kB / 471.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.1143, allocations: 83.77 kB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.1145, allocations: 79.81 kB / 471.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.1146, allocations: 12.19 kB / 471.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.402e-05/0.1147, allocations: 39.83 kB / 471.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.1148, allocations: 43.91 kB / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.1148, allocations: 0 / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.115, allocations: 47.97 kB / 471.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.086e-05/0.115, allocations: 23.92 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.983e-05/0.1151, allocations: 31.75 kB / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.1153, allocations: 99.91 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1153, allocations: 3.938 kB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.1153, allocations: 0 / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1153, allocations: 3.938 kB / 471.9 MB, free: 11.67 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005257/0.1159, allocations: 403 kB / 472.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1159, allocations: 8.031 kB / 472.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.394e-05/0.116, allocations: 38.75 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.116, allocations: 12.84 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.1162, allocations: 200.1 kB / 472.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.1163, allocations: 384 / 472.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.1163, allocations: 8.031 kB / 472.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.1165, allocations: 57.67 kB / 472.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1165, allocations: 3.938 kB / 472.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.1165, allocations: 0 / 472.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1165, allocations: 0 / 472.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.786e-05/0.1166, allocations: 27.97 kB / 472.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.117, allocations: 292.8 kB / 473 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.1171, allocations: 46.5 kB / 473 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.949e-05/0.1172, allocations: 20.94 kB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.1172, allocations: 0 / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.1172, allocations: 38.56 kB / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1172, allocations: 0 / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009327/0.1182, allocations: 217.2 kB / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.1182, allocations: 59.34 kB / 473.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.1184, allocations: 206.2 kB / 473.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.1185, allocations: 29.7 kB / 473.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.1185, allocations: 108 kB / 473.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.1186, allocations: 27.64 kB / 473.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.1186, allocations: 17.72 kB / 473.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1188, allocations: 322.8 kB / 474 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.371e-05/0.1189, allocations: 23.98 kB / 474.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.206e-05/0.1189, allocations: 27.98 kB / 474.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.1191, allocations: 64.77 kB / 474.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1191, allocations: 0 / 474.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002065/0.1193, allocations: 97.47 kB / 474.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1194, allocations: 11.94 kB / 474.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.1194, allocations: 4 kB / 474.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1194, allocations: 0 / 474.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.1195, allocations: 23.98 kB / 474.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1195, allocations: 3.938 kB / 474.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.18e-05/0.1195, allocations: 4 kB / 474.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.1196, allocations: 7.938 kB / 474.3 MB, free: 9.07 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 (8): * Single equations (assignments): 8 * 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 9.042e-05/0.1197, allocations: 121.8 kB / 474.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.1197, allocations: 19.84 kB / 474.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002642/0.12, allocations: 114.3 kB / 474.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.12, allocations: 4 kB / 474.5 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.12, allocations: 3.938 kB / 474.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.12, allocations: 0 / 474.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005061/0.1205, allocations: 399.6 kB / 474.9 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.1205, allocations: 7.922 kB / 474.9 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.497e-05/0.1206, allocations: 15.94 kB / 475 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1206, allocations: 8.031 kB / 475 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1206, allocations: 4 kB / 475 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1206, allocations: 3.984 kB / 475 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1207, allocations: 0 / 475 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.1209, allocations: 196.4 kB / 475.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.746e-05/0.121, allocations: 96.94 kB / 475.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.121, allocations: 0 / 475.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.915e-05/0.1211, allocations: 4 kB / 475.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.1211, allocations: 15.92 kB / 475.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.1211, allocations: 4.422 kB / 475.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001337/0.1213, allocations: 155.2 kB / 475.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1213, allocations: 0 / 475.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.1215, allocations: 16 kB / 475.5 MB, free: 7.793 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001361/0.1229, allocations: 1.099 MB / 476.6 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002305/0.1231, allocations: 75.88 kB / 476.6 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1232, allocations: 4 kB / 476.6 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.486e-05/0.1233, allocations: 31.92 kB / 476.7 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.1236, allocations: 31.02 kB / 476.7 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.1253, allocations: 1.609 MB / 478.3 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.1256, allocations: 0.708 MB / 479 MB, free: 4.281 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.63e-05/0.1257, allocations: 20.94 kB / 479 MB, free: 4.262 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.202e-05/0.1257, allocations: 27.42 kB / 479.1 MB, free: 4.234 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1257, allocations: 0 / 479.1 MB, free: 4.234 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.1478, allocations: 2.943 MB / 482 MB, free: 1.359 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.412/7.56, allocations: 13.45 kB / 482 MB, free: 1.348 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches