Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001253, allocations: 122.2 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.00127/0.00127, allocations: 201.2 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.437/1.437, 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.2295/0.2295, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003283/0.003283, allocations: 80.08 kB / 481 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.363, allocations: 62.44 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003116/0.3662, allocations: 1.744 MB / 0.5324 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.3679, allocations: 1.017 MB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.435e-05/0.368, allocations: 1.406 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002913/0.3683, allocations: 38.8 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.3686, allocations: 102.7 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.3688, allocations: 79.52 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.369, allocations: 101.1 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.77e-05/0.3691, allocations: 11.7 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.975e-05/0.3692, allocations: 38.95 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.968e-05/0.3693, allocations: 42.2 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.3693, allocations: 4.125 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.263e-05/0.3694, allocations: 43.48 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.778e-05/0.3695, allocations: 14.81 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.365e-05/0.3695, allocations: 35.98 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.3697, allocations: 125.8 kB / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3697, allocations: 0 / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3698, allocations: 0 / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3698, allocations: 1.375 kB / 0.534 GB, free: 10.81 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.0005685/0.3703, allocations: 423.5 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3704, allocations: 9.625 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.024e-05/0.3704, allocations: 40.12 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.3705, allocations: 10.39 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.3708, allocations: 213.3 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.3708, allocations: 9.734 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.3708, allocations: 9.297 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.371, allocations: 57.98 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.371, allocations: 1.375 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.371, allocations: 0 / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.371, allocations: 1.375 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.797e-05/0.3711, allocations: 21.61 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.3715, allocations: 286.8 kB / 0.535 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.3716, allocations: 61.88 kB / 0.5351 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.459e-05/0.3717, allocations: 22.47 kB / 0.5351 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.3717, allocations: 9.359 kB / 0.5351 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.3719, allocations: 65.14 kB / 0.5352 GB, free: 9.574 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.3719, allocations: 0 / 0.5352 GB, free: 9.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005085/0.3724, allocations: 174.3 kB / 0.5353 GB, free: 9.473 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.3725, allocations: 52.78 kB / 0.5354 GB, free: 9.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.3727, allocations: 200.6 kB / 0.5356 GB, free: 9.262 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.3727, allocations: 29.64 kB / 0.5356 GB, free: 9.227 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.866e-05/0.3728, allocations: 109.7 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.3728, allocations: 27.81 kB / 0.5357 GB, free: 9.098 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.3728, allocations: 20.88 kB / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.373, allocations: 321.6 kB / 0.5361 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.257e-05/0.3731, allocations: 26.45 kB / 0.5361 GB, free: 8.742 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.556e-05/0.3731, allocations: 35.45 kB / 0.5361 GB, free: 8.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.3733, allocations: 55.53 kB / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3733, allocations: 0 / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001989/0.3735, allocations: 111.8 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.3735, allocations: 11.44 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.3735, allocations: 1.219 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3735, allocations: 1.125 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.615e-05/0.3736, allocations: 17.17 kB / 0.5363 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3736, allocations: 1.219 kB / 0.5363 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.448e-05/0.3737, allocations: 5.094 kB / 0.5363 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.3737, allocations: 11.56 kB / 0.5363 GB, free: 8.586 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 9.937e-05/0.3738, allocations: 122.5 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.3738, allocations: 17.7 kB / 0.5365 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.476e-05/0.3739, allocations: 15.06 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3739, allocations: 1.031 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3739, allocations: 0 / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.3739, allocations: 3.938 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000459/0.3744, allocations: 402.5 kB / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3744, allocations: 1.031 kB / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.184e-05/0.3744, allocations: 7.906 kB / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.3744, allocations: 5.062 kB / 0.5369 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.3744, allocations: 5.438 kB / 0.5369 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3744, allocations: 1.25 kB / 0.5369 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.3745, allocations: 5.156 kB / 0.5369 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.3747, allocations: 204.3 kB / 0.5371 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/0.3748, allocations: 92.48 kB / 0.5372 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.3748, allocations: 5.062 kB / 0.5372 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.679e-05/0.3749, allocations: 2.281 kB / 0.5372 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.3749, allocations: 7.359 kB / 0.5372 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.3749, allocations: 7.531 kB / 0.5372 GB, free: 7.738 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.3751, allocations: 145 kB / 0.5373 GB, free: 7.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3751, allocations: 0 / 0.5373 GB, free: 7.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.3753, allocations: 33.59 kB / 0.5374 GB, free: 7.621 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.00209/0.3774, allocations: 1.1 MB / 0.5384 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002045/0.3776, allocations: 54.44 kB / 0.5385 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.3776, allocations: 3.938 kB / 0.5385 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.459e-05/0.3777, allocations: 33.58 kB / 0.5385 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.3781, allocations: 25.33 kB / 0.5385 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/0.38, allocations: 1.649 MB / 0.5402 GB, free: 5.266 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.3804, allocations: 0.7057 MB / 0.5408 GB, free: 4.555 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.596e-05/0.3805, allocations: 13.55 kB / 0.5409 GB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.181e-05/0.3805, allocations: 40.38 kB / 0.5409 GB, free: 4.52 MB / 398.1 MB Notification: Performance of SimCode: time 2.094e-06/0.3805, allocations: 0 / 0.5409 GB, free: 4.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/0.4056, allocations: 3.447 MB / 0.5443 GB, free: 2.656 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.953/8.358, allocations: 8.484 kB / 0.5443 GB, free: 2.652 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_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_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches