Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00108/0.00108, allocations: 113.7 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.001088/0.001088, allocations: 211.8 kB / 18.74 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.382/1.382, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2159/0.2159, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 83.81 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3616, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003901/0.3655, allocations: 1.749 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.3674, allocations: 1.03 MB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.3675, allocations: 2.812 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.3678, allocations: 49.56 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003817/0.3682, allocations: 101.2 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.3685, allocations: 80.3 kB / 0.5336 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.3688, allocations: 127.9 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.3689, allocations: 20.22 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.369, allocations: 53.78 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.561e-05/0.3691, allocations: 47.08 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.3691, allocations: 5.5 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.3693, allocations: 63.84 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.359e-05/0.3693, allocations: 37.41 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.61e-05/0.3694, allocations: 42.73 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.3697, allocations: 141.9 kB / 0.5341 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3697, allocations: 1.375 kB / 0.5341 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3697, allocations: 4 kB / 0.5341 GB, free: 10.76 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3697, allocations: 0 / 0.5341 GB, free: 10.76 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005947/0.3703, allocations: 446.2 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.3703, allocations: 9.625 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.409e-05/0.3704, allocations: 45.47 kB / 0.5346 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.3704, allocations: 18.28 kB / 0.5346 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.3707, allocations: 223.8 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.3708, allocations: 3.406 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.3708, allocations: 10.91 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.371, allocations: 73.34 kB / 0.5349 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.371, allocations: 5.031 kB / 0.5349 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.371, allocations: 1.219 kB / 0.5349 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.371, allocations: 1.344 kB / 0.5349 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.3711, allocations: 39.75 kB / 0.5349 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.3715, allocations: 322.1 kB / 0.5352 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.3718, allocations: 85.39 kB / 0.5353 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.082e-05/0.3719, allocations: 30.31 kB / 0.5353 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.3719, allocations: 6.5 kB / 0.5353 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.3721, allocations: 79.53 kB / 0.5354 GB, free: 9.445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.3721, allocations: 0 / 0.5354 GB, free: 9.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.00086/0.373, allocations: 305.7 kB / 0.5357 GB, free: 9.281 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.373, allocations: 57.5 kB / 0.5358 GB, free: 9.215 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.3732, allocations: 191.2 kB / 0.5359 GB, free: 9.074 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.3733, allocations: 34.86 kB / 0.536 GB, free: 9.035 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.349e-05/0.3733, allocations: 105.4 kB / 0.5361 GB, free: 8.934 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.524e-05/0.3734, allocations: 47.55 kB / 0.5361 GB, free: 8.895 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.3734, allocations: 27.62 kB / 0.5361 GB, free: 8.871 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3736, allocations: 331.4 kB / 0.5365 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.226e-05/0.3736, allocations: 38.33 kB / 0.5365 GB, free: 8.523 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.14e-05/0.3737, allocations: 57.02 kB / 0.5366 GB, free: 8.484 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.3739, allocations: 94.08 kB / 0.5366 GB, free: 8.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3739, allocations: 4 kB / 0.5366 GB, free: 8.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002597/0.3742, allocations: 154.8 kB / 0.5368 GB, free: 8.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.3742, allocations: 5.469 kB / 0.5368 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.3742, allocations: 5.125 kB / 0.5368 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3743, allocations: 1.812 kB / 0.5368 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.983e-05/0.3744, allocations: 32.64 kB / 0.5368 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3744, allocations: 0.9688 kB / 0.5368 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.797e-05/0.3744, allocations: 2.156 kB / 0.5368 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.3745, allocations: 4.438 kB / 0.5368 GB, free: 8.324 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 (15): * Single equations (assignments): 15 * 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.0001214/0.3746, allocations: 131.5 kB / 0.537 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.3746, allocations: 15 kB / 0.537 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.411e-05/0.3747, allocations: 24.41 kB / 0.537 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.3747, allocations: 6.156 kB / 0.537 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3747, allocations: 7.922 kB / 0.537 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3747, allocations: 0 / 0.537 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005994/0.3753, allocations: 489.2 kB / 0.5375 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3753, allocations: 0 / 0.5375 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.509e-05/0.3754, allocations: 27.52 kB / 0.5375 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.3754, allocations: 1.062 kB / 0.5375 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.3754, allocations: 7.438 kB / 0.5375 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3754, allocations: 1.375 kB / 0.5375 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3754, allocations: 0 / 0.5375 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.3758, allocations: 265.1 kB / 0.5378 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.3758, allocations: 92.28 kB / 0.5379 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.3759, allocations: 7.406 kB / 0.5379 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.158e-05/0.376, allocations: 10.19 kB / 0.5379 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.376, allocations: 9.578 kB / 0.5379 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.376, allocations: 4.531 kB / 0.5379 GB, free: 7.375 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.3762, allocations: 151.8 kB / 0.538 GB, free: 7.266 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3762, allocations: 0 / 0.538 GB, free: 7.266 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.3765, allocations: 35.7 kB / 0.5381 GB, free: 7.254 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 (13): * Single equations (assignments): 11 * 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.001743/0.3782, allocations: 1.201 MB / 0.5392 GB, free: 6.344 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.3785, allocations: 104.1 kB / 0.5393 GB, free: 6.301 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3785, allocations: 0 / 0.5393 GB, free: 6.301 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.3786, allocations: 54.08 kB / 0.5394 GB, free: 6.277 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.379, allocations: 30.34 kB / 0.5394 GB, free: 6.266 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.3811, allocations: 1.858 MB / 0.5412 GB, free: 4.691 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.3814, allocations: 0.7154 MB / 0.5419 GB, free: 3.977 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.7e-05/0.3815, allocations: 29.64 kB / 0.542 GB, free: 3.965 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.448e-05/0.3816, allocations: 47.08 kB / 0.542 GB, free: 3.93 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3816, allocations: 1.125 kB / 0.542 GB, free: 3.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.4024, allocations: 4.047 MB / 0.546 GB, free: 1.797 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.59/7.992, allocations: 6.047 kB / 0.546 GB, free: 1.793 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_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_Test76.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches