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.001654/0.001654, allocations: 117.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001933/0.001933, allocations: 207.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.474/1.474, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2403/0.2403, allocations: 46.13 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002635/0.002635, allocations: 79.88 kB / 481 MB, free: 4.391 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3722, allocations: 62.46 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003218/0.3755, allocations: 1.728 MB / 0.5324 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.3772, allocations: 1.018 MB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.631e-05/0.3773, allocations: 1.375 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.3777, allocations: 41.39 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003107/0.378, allocations: 104.4 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.3782, allocations: 74.92 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.3784, allocations: 104.9 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.3785, allocations: 6.875 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.503e-05/0.3786, allocations: 48.27 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.622e-05/0.3787, allocations: 29.42 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.3787, allocations: 4.125 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.15e-05/0.3788, allocations: 43.48 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.582e-05/0.3788, allocations: 22.78 kB / 0.5339 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.956e-05/0.3789, allocations: 36 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.3791, allocations: 125.8 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3792, allocations: 0 / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3792, allocations: 0 / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3792, allocations: 1.375 kB / 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.000558/0.3797, allocations: 424.7 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3798, allocations: 9.906 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.019e-05/0.3798, allocations: 38.73 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.3799, allocations: 10.7 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.3802, allocations: 220.9 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.3802, allocations: 1.5 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.3802, allocations: 6.375 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.3804, allocations: 57.86 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3804, allocations: 0 / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.3804, allocations: 1.281 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3804, allocations: 0 / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.678e-05/0.3805, allocations: 22.89 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.3809, allocations: 291.2 kB / 0.535 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.3811, allocations: 57.61 kB / 0.5351 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.835e-05/0.3811, allocations: 24.94 kB / 0.5351 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.3812, allocations: 2.438 kB / 0.5351 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.3813, allocations: 69.02 kB / 0.5352 GB, free: 9.566 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.3813, allocations: 3.938 kB / 0.5352 GB, free: 9.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005406/0.3819, allocations: 173.8 kB / 0.5354 GB, free: 9.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.3819, allocations: 52.5 kB / 0.5354 GB, free: 9.398 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.3821, allocations: 201.2 kB / 0.5356 GB, free: 9.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.3822, allocations: 27.02 kB / 0.5356 GB, free: 9.219 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.3823, allocations: 108.5 kB / 0.5357 GB, free: 9.113 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.3823, allocations: 23.27 kB / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/0.3823, allocations: 24.67 kB / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3825, allocations: 326.2 kB / 0.5361 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.895e-05/0.3826, allocations: 19.81 kB / 0.5361 GB, free: 8.738 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.957e-05/0.3827, allocations: 35.11 kB / 0.5361 GB, free: 8.711 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.3828, allocations: 66.77 kB / 0.5362 GB, free: 8.664 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3828, allocations: 4.938 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001843/0.383, allocations: 103.2 kB / 0.5363 GB, free: 8.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.383, allocations: 6.094 kB / 0.5363 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.383, allocations: 3.938 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.383, allocations: 5.234 kB / 0.5363 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.156e-05/0.3831, allocations: 13.44 kB / 0.5363 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3831, allocations: 1.312 kB / 0.5363 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.112e-05/0.3832, allocations: 4.969 kB / 0.5363 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.3832, allocations: 7.562 kB / 0.5363 GB, free: 8.578 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.0001145/0.3833, allocations: 131.4 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.3834, allocations: 13.41 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.428e-05/0.3834, allocations: 17.52 kB / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3834, allocations: 1.375 kB / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3834, allocations: 1.375 kB / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3834, allocations: 3.938 kB / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/0.3839, allocations: 394.6 kB / 0.5369 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3839, allocations: 0 / 0.5369 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.306e-05/0.384, allocations: 12.05 kB / 0.5369 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.384, allocations: 5.312 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.384, allocations: 1.281 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.384, allocations: 1.25 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.384, allocations: 0 / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.3842, allocations: 209 kB / 0.5371 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.22e-05/0.3843, allocations: 88.73 kB / 0.5372 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.3844, allocations: 9.578 kB / 0.5372 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-05/0.3844, allocations: 5.281 kB / 0.5372 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.3845, allocations: 11.73 kB / 0.5372 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.3845, allocations: 6.922 kB / 0.5372 GB, free: 7.723 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.3846, allocations: 144.9 kB / 0.5374 GB, free: 7.621 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3847, allocations: 0 / 0.5374 GB, free: 7.621 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.3849, allocations: 29.45 kB / 0.5374 GB, free: 7.609 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.00231/0.3872, allocations: 1.103 MB / 0.5385 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002035/0.3875, allocations: 58.09 kB / 0.5385 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.3875, allocations: 1.281 kB / 0.5385 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.901e-05/0.3876, allocations: 33.02 kB / 0.5386 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.3879, allocations: 21.27 kB / 0.5386 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.3899, allocations: 1.653 MB / 0.5402 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.3902, allocations: 0.7014 MB / 0.5409 GB, free: 4.543 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.854e-05/0.3902, allocations: 18.36 kB / 0.5409 GB, free: 4.535 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.954e-05/0.3903, allocations: 39.55 kB / 0.5409 GB, free: 4.504 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.3903, allocations: 0 / 0.5409 GB, free: 4.504 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.4157, allocations: 3.445 MB / 0.5443 GB, free: 2.645 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.931/8.347, allocations: 15.27 kB / 0.5443 GB, free: 2.637 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/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