Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00162/0.00162, 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.00189/0.00189, 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.438/1.438, 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.2276/0.2276, allocations: 46.13 MB / 344.3 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 80.08 kB / 481 MB, free: 4.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3617, allocations: 62.44 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003325/0.3651, allocations: 1.729 MB / 0.5324 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.3669, allocations: 1.018 MB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.083e-05/0.367, allocations: 1.094 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003712/0.3674, allocations: 42.23 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004167/0.3678, allocations: 103.6 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.3681, allocations: 74.8 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.3684, allocations: 109.3 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.3685, allocations: 7.812 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.3686, allocations: 38.67 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.3688, allocations: 43.17 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.3688, allocations: 3.938 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.3689, allocations: 39.17 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.475e-05/0.369, allocations: 25.95 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.043e-05/0.3691, allocations: 36.92 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.3694, allocations: 116.8 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.3694, allocations: 1.344 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3694, allocations: 0 / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.3694, allocations: 0 / 0.534 GB, free: 10.8 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.0006812/0.3701, allocations: 428.2 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.3702, allocations: 9.625 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.3702, allocations: 36.12 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.3703, allocations: 18.38 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.3706, allocations: 209.3 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.3706, allocations: 5.734 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.3706, allocations: 9.312 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.3708, allocations: 50.05 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3708, allocations: 1.375 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.3708, allocations: 4 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.3709, allocations: 9.297 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.631e-05/0.3709, allocations: 17.61 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.3714, allocations: 294.8 kB / 0.535 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.3715, allocations: 57.92 kB / 0.5351 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.321e-05/0.3716, allocations: 22.42 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.3716, allocations: 1.375 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.3718, allocations: 69.14 kB / 0.5352 GB, free: 9.562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.3718, allocations: 0 / 0.5352 GB, free: 9.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005466/0.3724, allocations: 174.3 kB / 0.5353 GB, free: 9.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.3724, allocations: 52.78 kB / 0.5354 GB, free: 9.398 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.3726, allocations: 200 kB / 0.5356 GB, free: 9.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.3726, allocations: 27.08 kB / 0.5356 GB, free: 9.219 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.3727, allocations: 100.2 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.3728, allocations: 31.91 kB / 0.5357 GB, free: 9.094 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.3728, allocations: 24.59 kB / 0.5357 GB, free: 9.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.373, allocations: 323 kB / 0.5361 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.478e-05/0.373, allocations: 22.98 kB / 0.5361 GB, free: 8.738 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.869e-05/0.3731, allocations: 39.39 kB / 0.5361 GB, free: 8.707 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.3732, allocations: 63.38 kB / 0.5362 GB, free: 8.664 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3733, allocations: 0 / 0.5362 GB, free: 8.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000201/0.3735, allocations: 111.4 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3735, allocations: 9.812 kB / 0.5363 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3735, allocations: 4 kB / 0.5363 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3735, allocations: 1.312 kB / 0.5363 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.875e-05/0.3736, allocations: 17.73 kB / 0.5363 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3736, allocations: 0 / 0.5363 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.631e-05/0.3737, allocations: 6.281 kB / 0.5363 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.3737, allocations: 3.219 kB / 0.5363 GB, free: 8.574 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.0001348/0.3738, allocations: 132.7 kB / 0.5364 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.3739, allocations: 13.41 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.333e-05/0.3739, allocations: 14.44 kB / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3739, allocations: 1.5 kB / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3739, allocations: 3.938 kB / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.374, allocations: 5.312 kB / 0.5365 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004892/0.3744, allocations: 390.2 kB / 0.5369 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3745, allocations: 4.031 kB / 0.5369 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.185e-05/0.3745, allocations: 11.59 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.3745, allocations: 5.062 kB / 0.5369 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.3745, allocations: 6.281 kB / 0.5369 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3745, allocations: 1.094 kB / 0.5369 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.3745, allocations: 3.984 kB / 0.5369 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.3748, allocations: 196.8 kB / 0.5371 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.3749, allocations: 88.3 kB / 0.5372 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.3749, allocations: 10.25 kB / 0.5372 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.375, allocations: 1.156 kB / 0.5372 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.375, allocations: 12.17 kB / 0.5372 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.375, allocations: 3.312 kB / 0.5372 GB, free: 7.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.3752, allocations: 148.5 kB / 0.5373 GB, free: 7.625 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3752, allocations: 0 / 0.5373 GB, free: 7.625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.3755, allocations: 24.91 kB / 0.5374 GB, free: 7.617 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.002096/0.3776, allocations: 1.095 MB / 0.5384 GB, free: 6.766 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002018/0.3778, allocations: 66.27 kB / 0.5385 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3778, allocations: 0 / 0.5385 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.789e-05/0.3779, allocations: 33.61 kB / 0.5385 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.3782, allocations: 31.52 kB / 0.5385 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.3802, allocations: 1.656 MB / 0.5402 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.3805, allocations: 0.702 MB / 0.5408 GB, free: 4.543 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.897e-05/0.3806, allocations: 18.52 kB / 0.5409 GB, free: 4.535 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.109e-05/0.3807, allocations: 39.17 kB / 0.5409 GB, free: 4.504 MB / 398.1 MB Notification: Performance of SimCode: time 2.144e-06/0.3807, allocations: 1.125 kB / 0.5409 GB, free: 4.504 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/0.4049, allocations: 3.438 MB / 0.5443 GB, free: 2.648 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.824/8.229, allocations: 8.359 kB / 0.5443 GB, free: 2.645 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_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_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches