Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001467/0.001467, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001972/0.001972, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2502/0.2502, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 79.88 kB / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3948, allocations: 62.43 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003099/0.3979, allocations: 1.759 MB / 0.5323 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.4001, allocations: 1.032 MB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.4002, allocations: 1.062 kB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004528/0.4007, allocations: 87.92 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004668/0.4012, allocations: 111.1 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002409/0.4015, allocations: 84.31 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.4017, allocations: 117.5 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.4019, allocations: 16.06 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.402, allocations: 55.05 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.4021, allocations: 59.94 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.4022, allocations: 8.062 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.4023, allocations: 54.48 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.821e-05/0.4024, allocations: 36.08 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.334e-05/0.4024, allocations: 33.38 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.4027, allocations: 138 kB / 0.5341 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.4027, allocations: 4 kB / 0.5341 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4027, allocations: 0 / 0.5341 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.4027, allocations: 0 / 0.5341 GB, free: 10.73 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006349/0.4034, allocations: 452.7 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4034, allocations: 9.625 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.036e-05/0.4035, allocations: 32.12 kB / 0.5346 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.4035, allocations: 15.72 kB / 0.5346 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.4039, allocations: 216.6 kB / 0.5348 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.4039, allocations: 7.125 kB / 0.5348 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.4039, allocations: 6.688 kB / 0.5348 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.4041, allocations: 60.8 kB / 0.5349 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.4041, allocations: 0 / 0.5349 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.4041, allocations: 11.91 kB / 0.5349 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4042, allocations: 1.375 kB / 0.5349 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.754e-05/0.4042, allocations: 24.3 kB / 0.5349 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.4047, allocations: 305.6 kB / 0.5352 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.4049, allocations: 64.67 kB / 0.5353 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.296e-05/0.405, allocations: 18.61 kB / 0.5353 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.405, allocations: 5.312 kB / 0.5353 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.4052, allocations: 70.5 kB / 0.5353 GB, free: 9.465 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.4052, allocations: 0 / 0.5353 GB, free: 9.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008227/0.406, allocations: 246.9 kB / 0.5356 GB, free: 9.328 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.4061, allocations: 57.66 kB / 0.5356 GB, free: 9.262 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.4063, allocations: 229 kB / 0.5359 GB, free: 9.094 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.4064, allocations: 26.89 kB / 0.5359 GB, free: 9.062 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.4065, allocations: 105.9 kB / 0.536 GB, free: 8.961 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.4065, allocations: 37.77 kB / 0.536 GB, free: 8.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.4066, allocations: 21.78 kB / 0.536 GB, free: 8.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.4067, allocations: 335.3 kB / 0.5364 GB, free: 8.578 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.616e-05/0.4068, allocations: 26.64 kB / 0.5364 GB, free: 8.566 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.083e-05/0.4069, allocations: 48.8 kB / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.4071, allocations: 71.88 kB / 0.5365 GB, free: 8.488 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.4071, allocations: 5.078 kB / 0.5365 GB, free: 8.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002424/0.4073, allocations: 129.7 kB / 0.5366 GB, free: 8.406 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.4073, allocations: 9.062 kB / 0.5366 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.4074, allocations: 1.094 kB / 0.5366 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.4074, allocations: 1.125 kB / 0.5366 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.4075, allocations: 25.05 kB / 0.5367 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.4075, allocations: 1.156 kB / 0.5367 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.361e-05/0.4076, allocations: 6.375 kB / 0.5367 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.4076, allocations: 7.422 kB / 0.5367 GB, free: 8.387 MB / 398.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 (13): * Single equations (assignments): 13 * 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.0001433/0.4077, allocations: 129.3 kB / 0.5368 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.4078, allocations: 19.34 kB / 0.5368 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.681e-05/0.4079, allocations: 23.61 kB / 0.5368 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.4079, allocations: 5.469 kB / 0.5368 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.4079, allocations: 0 / 0.5368 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4079, allocations: 1.25 kB / 0.5368 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006552/0.4086, allocations: 457.8 kB / 0.5373 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4086, allocations: 96 / 0.5373 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.284e-05/0.4086, allocations: 23.95 kB / 0.5373 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.4086, allocations: 2.094 kB / 0.5373 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.4087, allocations: 2 kB / 0.5373 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.4087, allocations: 1.156 kB / 0.5373 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.4087, allocations: 1.062 kB / 0.5373 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.409, allocations: 238 kB / 0.5375 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.766e-05/0.4091, allocations: 97.31 kB / 0.5376 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.4091, allocations: 2.125 kB / 0.5376 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-05/0.4092, allocations: 6.094 kB / 0.5376 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.4093, allocations: 8.547 kB / 0.5377 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.4093, allocations: 4.938 kB / 0.5377 GB, free: 7.469 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001799/0.4095, allocations: 164.1 kB / 0.5378 GB, free: 7.359 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4095, allocations: 1.031 kB / 0.5378 GB, free: 7.359 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000301/0.4098, allocations: 32.42 kB / 0.5378 GB, free: 7.348 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001708/0.4115, allocations: 1.177 MB / 0.539 GB, free: 6.449 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000238/0.4118, allocations: 81.88 kB / 0.5391 GB, free: 6.414 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4118, allocations: 0 / 0.5391 GB, free: 6.414 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.583e-05/0.4119, allocations: 43.73 kB / 0.5391 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.4123, allocations: 31.97 kB / 0.5391 GB, free: 6.383 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.4147, allocations: 1.819 MB / 0.5409 GB, free: 4.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.4151, allocations: 0.7109 MB / 0.5416 GB, free: 4.129 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.216e-05/0.4152, allocations: 20.78 kB / 0.5416 GB, free: 4.121 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.4153, allocations: 49 kB / 0.5417 GB, free: 4.082 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4153, allocations: 4 kB / 0.5417 GB, free: 4.078 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.4388, allocations: 3.884 MB / 0.5455 GB, free: 2.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.606/8.045, allocations: 1.031 kB / 0.5455 GB, free: 2.004 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches