Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001665/0.001665, allocations: 121.7 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002195/0.002195, 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.455/1.455, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2292/0.2292, allocations: 46.12 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002768/0.002768, allocations: 75.88 kB / 481 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.337, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003537/0.3406, allocations: 1.737 MB / 0.5324 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002672/0.3433, allocations: 1.615 MB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.816e-05/0.3434, allocations: 6.094 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003545/0.3438, allocations: 35.45 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003524/0.3442, allocations: 105.2 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.3444, allocations: 74.23 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.3446, allocations: 113.7 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.3447, allocations: 10.78 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.3448, allocations: 53.58 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.345, allocations: 44.28 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.3451, allocations: 5.5 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002084/0.3453, allocations: 116.4 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.282e-05/0.3453, allocations: 25.34 kB / 0.5345 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.629e-05/0.3454, allocations: 45.3 kB / 0.5346 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003317/0.3457, allocations: 177.1 kB / 0.5347 GB, free: 10.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.3458, allocations: 0 / 0.5347 GB, free: 10.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3458, allocations: 0 / 0.5347 GB, free: 10.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.3458, allocations: 1.375 kB / 0.5347 GB, free: 10.22 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006573/0.3465, allocations: 439.4 kB / 0.5351 GB, free: 9.773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.3465, allocations: 9.625 kB / 0.5352 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.672e-05/0.3466, allocations: 40.05 kB / 0.5352 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.3466, allocations: 14.39 kB / 0.5352 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.347, allocations: 217.1 kB / 0.5354 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.347, allocations: 1.75 kB / 0.5354 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.347, allocations: 10.67 kB / 0.5354 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.3472, allocations: 77.25 kB / 0.5355 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.3472, allocations: 3.953 kB / 0.5355 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.3473, allocations: 0 / 0.5355 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3473, allocations: 1.375 kB / 0.5355 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.187e-05/0.3474, allocations: 35.03 kB / 0.5355 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.3478, allocations: 301.5 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.348, allocations: 66.17 kB / 0.5359 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.71e-05/0.3481, allocations: 27.66 kB / 0.5359 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.3481, allocations: 5 kB / 0.5359 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.3483, allocations: 79.66 kB / 0.536 GB, free: 8.926 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.3483, allocations: 0 / 0.536 GB, free: 8.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006205/0.3489, allocations: 196.3 kB / 0.5362 GB, free: 8.816 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.349, allocations: 79.27 kB / 0.5363 GB, free: 8.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.3492, allocations: 178.8 kB / 0.5364 GB, free: 8.574 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.3492, allocations: 26.98 kB / 0.5365 GB, free: 8.543 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.3493, allocations: 99.39 kB / 0.5366 GB, free: 8.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.3493, allocations: 37.27 kB / 0.5366 GB, free: 8.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.3494, allocations: 33.64 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3495, allocations: 321.1 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.596e-05/0.3496, allocations: 21.38 kB / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.48e-05/0.3497, allocations: 51.78 kB / 0.537 GB, free: 8.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.3499, allocations: 72.2 kB / 0.5371 GB, free: 7.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3499, allocations: 0 / 0.5371 GB, free: 7.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002276/0.3501, allocations: 118.7 kB / 0.5372 GB, free: 7.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3501, allocations: 5.844 kB / 0.5372 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3501, allocations: 0 / 0.5372 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.3502, allocations: 1.25 kB / 0.5372 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.964e-05/0.3503, allocations: 23.33 kB / 0.5372 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3503, allocations: 1.188 kB / 0.5372 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.982e-05/0.3503, allocations: 10.09 kB / 0.5372 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.3504, allocations: 7.406 kB / 0.5372 GB, free: 7.871 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 (11): * Single equations (assignments): 11 * 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.0001056/0.3505, allocations: 120.7 kB / 0.5373 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.3505, allocations: 9.641 kB / 0.5373 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.318e-05/0.3506, allocations: 13.31 kB / 0.5374 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3506, allocations: 1.281 kB / 0.5374 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3506, allocations: 0 / 0.5374 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.3506, allocations: 8.984 kB / 0.5374 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005186/0.3511, allocations: 422.1 kB / 0.5378 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3511, allocations: 0.9062 kB / 0.5378 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.918e-05/0.3512, allocations: 8.781 kB / 0.5378 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.3512, allocations: 9.031 kB / 0.5378 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.3512, allocations: 2.281 kB / 0.5378 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3512, allocations: 0.9375 kB / 0.5378 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3512, allocations: 1.094 kB / 0.5378 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.3515, allocations: 222.7 kB / 0.538 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.3516, allocations: 84.91 kB / 0.5381 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.3516, allocations: 13.12 kB / 0.5381 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.626e-05/0.3517, allocations: 6.391 kB / 0.5381 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.3517, allocations: 5.406 kB / 0.5381 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.3517, allocations: 7.594 kB / 0.5381 GB, free: 7.016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.3519, allocations: 130.7 kB / 0.5382 GB, free: 6.914 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3519, allocations: 4 kB / 0.5382 GB, free: 6.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003059/0.3522, allocations: 50.89 kB / 0.5383 GB, free: 6.891 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 (9): * Single equations (assignments): 7 * 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.00236/0.3546, allocations: 1.194 MB / 0.5395 GB, free: 5.992 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.3548, allocations: 72.78 kB / 0.5395 GB, free: 5.961 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3548, allocations: 0 / 0.5395 GB, free: 5.961 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.592e-05/0.3549, allocations: 36.92 kB / 0.5396 GB, free: 5.945 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.3553, allocations: 32.72 kB / 0.5396 GB, free: 5.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.3571, allocations: 1.655 MB / 0.5412 GB, free: 4.469 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.3575, allocations: 0.7042 MB / 0.5419 GB, free: 3.758 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.561e-05/0.3576, allocations: 30.53 kB / 0.5419 GB, free: 3.742 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.656e-05/0.3577, allocations: 38.45 kB / 0.542 GB, free: 3.715 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3577, allocations: 0 / 0.542 GB, free: 3.715 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.3843, allocations: 4.167 MB / 0.546 GB, free: 1.426 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.829/8.213, allocations: 20.23 kB / 0.5461 GB, free: 1.41 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_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_Test50.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches