Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001411/0.001411, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001299/0.0013, allocations: 202 kB / 18.74 MB, free: 4.332 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.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2323/0.2323, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 75.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3886, allocations: 62.43 MB / 0.5306 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002839/0.3915, allocations: 1.737 MB / 0.5323 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.393, allocations: 1.021 MB / 0.5333 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.382e-05/0.3931, allocations: 5 kB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.3934, allocations: 82.52 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002819/0.3937, allocations: 110.6 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.3939, allocations: 86.84 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.394, allocations: 106.8 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.3942, allocations: 17.67 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.3943, allocations: 54.83 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.3944, allocations: 63.06 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.3944, allocations: 4.531 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.3945, allocations: 42.92 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.899e-05/0.3946, allocations: 29.06 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.753e-05/0.3947, allocations: 35.86 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.3949, allocations: 123.6 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3949, allocations: 5.312 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3949, allocations: 4 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.3949, allocations: 0 / 0.534 GB, free: 10.7 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005779/0.3955, allocations: 435.5 kB / 0.5344 GB, free: 10.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.3956, allocations: 9.625 kB / 0.5344 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.439e-05/0.3956, allocations: 32.12 kB / 0.5345 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.3956, allocations: 14.34 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.3959, allocations: 220.6 kB / 0.5347 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.3959, allocations: 5.734 kB / 0.5347 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.396, allocations: 6.688 kB / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.3961, allocations: 58.05 kB / 0.5348 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.3962, allocations: 0 / 0.5348 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3962, allocations: 1.375 kB / 0.5348 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.3962, allocations: 0 / 0.5348 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.618e-05/0.3963, allocations: 22.92 kB / 0.5348 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.3966, allocations: 292.2 kB / 0.5351 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.3968, allocations: 57.92 kB / 0.5351 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.3969, allocations: 17.11 kB / 0.5351 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.3969, allocations: 5.375 kB / 0.5351 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/0.3971, allocations: 69.06 kB / 0.5352 GB, free: 9.469 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.3971, allocations: 0 / 0.5352 GB, free: 9.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005546/0.3977, allocations: 183.7 kB / 0.5354 GB, free: 9.359 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.3977, allocations: 52.78 kB / 0.5354 GB, free: 9.297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.398, allocations: 230.1 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.398, allocations: 26.67 kB / 0.5357 GB, free: 9.098 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.628e-05/0.3981, allocations: 105.6 kB / 0.5358 GB, free: 8.996 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.3981, allocations: 32.17 kB / 0.5358 GB, free: 8.969 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.3981, allocations: 24.5 kB / 0.5358 GB, free: 8.945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3983, allocations: 322.7 kB / 0.5361 GB, free: 8.625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.857e-05/0.3984, allocations: 26.67 kB / 0.5362 GB, free: 8.609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.464e-05/0.3984, allocations: 35.8 kB / 0.5362 GB, free: 8.582 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.3985, allocations: 58.17 kB / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3985, allocations: 1.188 kB / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001761/0.3987, allocations: 99.66 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.3987, allocations: 9.156 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3988, allocations: 5.25 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.3988, allocations: 5.656 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.397e-05/0.3989, allocations: 15.98 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3989, allocations: 5.062 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.527e-05/0.3989, allocations: 6.094 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.3989, allocations: 2.656 kB / 0.5364 GB, free: 8.457 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 (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.0001021/0.3991, allocations: 129.3 kB / 0.5365 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.3991, allocations: 14.62 kB / 0.5365 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.67e-05/0.3991, allocations: 19.3 kB / 0.5366 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3991, allocations: 5 kB / 0.5366 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.3991, allocations: 0 / 0.5366 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3992, allocations: 5 kB / 0.5366 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000427/0.3996, allocations: 395.9 kB / 0.5369 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3996, allocations: 1 kB / 0.5369 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.718e-05/0.3996, allocations: 15.36 kB / 0.537 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-06/0.3997, allocations: 5.094 kB / 0.537 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.3997, allocations: 2.156 kB / 0.537 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3997, allocations: 4.031 kB / 0.537 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3997, allocations: 1.188 kB / 0.537 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.3999, allocations: 201.5 kB / 0.5372 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.126e-05/0.4, allocations: 84.56 kB / 0.5372 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.4, allocations: 9.078 kB / 0.5373 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.81e-05/0.4001, allocations: 2.406 kB / 0.5373 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.4001, allocations: 15.3 kB / 0.5373 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.4001, allocations: 7.766 kB / 0.5373 GB, free: 7.605 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001402/0.4003, allocations: 169.3 kB / 0.5374 GB, free: 7.492 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4003, allocations: 0 / 0.5374 GB, free: 7.492 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.4005, allocations: 24.78 kB / 0.5375 GB, free: 7.484 MB / 398.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.00144/0.402, allocations: 1.104 MB / 0.5385 GB, free: 6.621 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00016/0.4022, allocations: 57.45 kB / 0.5386 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4022, allocations: 4.062 kB / 0.5386 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.565e-05/0.4022, allocations: 29.98 kB / 0.5386 GB, free: 6.582 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.4026, allocations: 38.89 kB / 0.5387 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.4043, allocations: 1.714 MB / 0.5403 GB, free: 5.094 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.4046, allocations: 0.7121 MB / 0.541 GB, free: 4.379 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.675e-05/0.4046, allocations: 17.73 kB / 0.5411 GB, free: 4.371 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.4047, allocations: 35.92 kB / 0.5411 GB, free: 4.344 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4047, allocations: 0 / 0.5411 GB, free: 4.344 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02061/0.4253, allocations: 3.564 MB / 0.5446 GB, free: 2.434 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.644/8.069, allocations: 8.984 kB / 0.5446 GB, free: 2.426 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches