Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001554/0.001554, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002139/0.002139, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2074/0.2074, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 83.59 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.107, allocations: 62.43 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003548/0.1106, allocations: 1.739 MB / 481.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.1124, allocations: 1.017 MB / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.1125, allocations: 0 / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.1129, allocations: 43.77 kB / 482.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004179/0.1133, allocations: 103.5 kB / 483 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.1136, allocations: 67.73 kB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000192/0.1138, allocations: 111.6 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.894e-05/0.1139, allocations: 8 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.957e-05/0.114, allocations: 43.78 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.293e-05/0.1141, allocations: 31.78 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.1141, allocations: 4 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.1143, allocations: 47.98 kB / 483.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.232e-05/0.1143, allocations: 19.92 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.21e-05/0.1144, allocations: 35.75 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.1146, allocations: 115.9 kB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1146, allocations: 3.938 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1146, allocations: 0 / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1146, allocations: 0 / 483.5 MB, free: 1.777 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005479/0.1152, allocations: 414.9 kB / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1152, allocations: 12.03 kB / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.627e-05/0.1153, allocations: 34.73 kB / 484 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.1153, allocations: 16.84 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.1156, allocations: 208.7 kB / 484.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.1156, allocations: 8.359 kB / 484.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.1156, allocations: 3.938 kB / 484.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.1158, allocations: 57.61 kB / 484.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1158, allocations: 3.906 kB / 484.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1158, allocations: 0 / 484.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1158, allocations: 4 kB / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.596e-05/0.1159, allocations: 23.92 kB / 484.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/0.1163, allocations: 288.9 kB / 484.6 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.1165, allocations: 62.61 kB / 484.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.1167, allocations: 16.86 kB / 484.6 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.1167, allocations: 0 / 484.6 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/0.1169, allocations: 75.38 kB / 484.7 MB, free: 408 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1169, allocations: 0 / 484.7 MB, free: 408 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006281/0.1176, allocations: 173.2 kB / 484.9 MB, free: 228 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.1176, allocations: 51.41 kB / 484.9 MB, free: 164 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.1179, allocations: 206.3 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.1179, allocations: 25.7 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.118, allocations: 100.1 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.368e-05/0.118, allocations: 27.7 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/0.1181, allocations: 21.72 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1182, allocations: 326.8 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.105e-05/0.1183, allocations: 19.98 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.992e-05/0.1183, allocations: 37.64 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.1185, allocations: 58.09 kB / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1185, allocations: 0 / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002024/0.1187, allocations: 113.4 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1187, allocations: 4 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.1187, allocations: 4 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.1188, allocations: 4 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1189, allocations: 15.98 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.1189, allocations: 0 / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.781e-05/0.1189, allocations: 7.938 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.119, allocations: 0 / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001211/0.1191, allocations: 137.8 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.1191, allocations: 11.84 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.758e-05/0.1192, allocations: 13.41 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1192, allocations: 4 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1192, allocations: 0 / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.1192, allocations: 3.938 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004769/0.1197, allocations: 403.2 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1197, allocations: 0 / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.667e-05/0.1197, allocations: 8 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.768e-06/0.1198, allocations: 4.125 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1198, allocations: 0 / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1198, allocations: 11.92 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1198, allocations: 0 / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.12, allocations: 204.3 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.063e-05/0.1201, allocations: 88.92 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.1202, allocations: 7.938 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.241e-05/0.1202, allocations: 4 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.1203, allocations: 7.984 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.1203, allocations: 3.984 kB / 486.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.1204, allocations: 152.2 kB / 486.9 MB, free: 14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1204, allocations: 0 / 486.9 MB, free: 14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1207, allocations: 20 kB / 486.9 MB, free: 13.98 MB / 366.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001568/0.1223, allocations: 1.1 MB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.1225, allocations: 59.97 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1225, allocations: 4 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.282e-05/0.1226, allocations: 31.92 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.1229, allocations: 30.97 kB / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.1248, allocations: 1.646 MB / 489.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.1251, allocations: 0.708 MB / 490.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.711e-05/0.1252, allocations: 17.17 kB / 490.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.582e-05/0.1253, allocations: 35.42 kB / 490.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1253, allocations: 0 / 490.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/0.1497, allocations: 3.361 MB / 493.9 MB, free: 7.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.162/8.312, allocations: 21.36 kB / 494 MB, free: 7.074 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches