Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001712/0.001712, allocations: 121.5 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001998/0.001998, allocations: 199.9 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2362/0.2362, allocations: 46.12 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 76.09 kB / 481 MB, free: 4.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3715, allocations: 62.45 MB / 0.5307 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003702/0.3752, allocations: 1.727 MB / 0.5324 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.3772, allocations: 1.023 MB / 0.5334 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.614e-05/0.3773, allocations: 4 kB / 0.5334 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003559/0.3777, allocations: 49.64 kB / 0.5334 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003583/0.3781, allocations: 101.8 kB / 0.5335 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.3783, allocations: 78.91 kB / 0.5336 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.3785, allocations: 102.3 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3786, allocations: 14.86 kB / 0.5337 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.448e-05/0.3787, allocations: 42.91 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.831e-05/0.3788, allocations: 33.41 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.3789, allocations: 4.125 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.379, allocations: 40.86 kB / 0.5338 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.332e-05/0.3791, allocations: 33.47 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.968e-05/0.3791, allocations: 41.25 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.3794, allocations: 136.6 kB / 0.5341 GB, free: 10.67 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3795, allocations: 5.375 kB / 0.5341 GB, free: 10.67 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3795, allocations: 0 / 0.5341 GB, free: 10.67 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3795, allocations: 0 / 0.5341 GB, free: 10.67 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.0007061/0.3802, allocations: 455.8 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.3802, allocations: 10.03 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.512e-05/0.3803, allocations: 34.69 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/0.3804, allocations: 15.75 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.3807, allocations: 224.4 kB / 0.5348 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.3808, allocations: 5.469 kB / 0.5348 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.3808, allocations: 6.5 kB / 0.5348 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.381, allocations: 57.89 kB / 0.5348 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.381, allocations: 0 / 0.5348 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.381, allocations: 1.125 kB / 0.5348 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.381, allocations: 1.312 kB / 0.5348 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.141e-05/0.3811, allocations: 18.77 kB / 0.5348 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004506/0.3816, allocations: 311 kB / 0.5351 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.3818, allocations: 65.44 kB / 0.5352 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.483e-05/0.3818, allocations: 17.77 kB / 0.5352 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.3818, allocations: 1.312 kB / 0.5352 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.382, allocations: 73.75 kB / 0.5353 GB, free: 9.391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 5.06e-06/0.382, allocations: 4 kB / 0.5353 GB, free: 9.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005708/0.3826, allocations: 172.4 kB / 0.5355 GB, free: 9.289 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.3827, allocations: 56.5 kB / 0.5355 GB, free: 9.223 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/0.383, allocations: 279.9 kB / 0.5358 GB, free: 9.039 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.383, allocations: 30.67 kB / 0.5358 GB, free: 9.004 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.522e-05/0.3831, allocations: 112.2 kB / 0.5359 GB, free: 8.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.682e-05/0.3832, allocations: 23.67 kB / 0.5359 GB, free: 8.879 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.3832, allocations: 23.83 kB / 0.536 GB, free: 8.855 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3834, allocations: 332 kB / 0.5363 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.249e-05/0.3834, allocations: 23.58 kB / 0.5363 GB, free: 8.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.938e-05/0.3835, allocations: 34.67 kB / 0.5363 GB, free: 8.488 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.3836, allocations: 59.53 kB / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3837, allocations: 0 / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002047/0.3839, allocations: 113.5 kB / 0.5365 GB, free: 8.375 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3839, allocations: 9.531 kB / 0.5365 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.3839, allocations: 0 / 0.5365 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3839, allocations: 1.375 kB / 0.5365 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.297e-05/0.384, allocations: 21.67 kB / 0.5365 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.384, allocations: 0 / 0.5365 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.727e-05/0.3841, allocations: 6.688 kB / 0.5365 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.3841, allocations: 2.75 kB / 0.5365 GB, free: 8.359 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.0001257/0.3842, allocations: 135.7 kB / 0.5367 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.3843, allocations: 15.94 kB / 0.5367 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.388e-05/0.3843, allocations: 29.02 kB / 0.5367 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3843, allocations: 0 / 0.5367 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.3843, allocations: 1.406 kB / 0.5367 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.3844, allocations: 7.875 kB / 0.5367 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005204/0.3849, allocations: 409.1 kB / 0.5371 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3849, allocations: 0 / 0.5371 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.3849, allocations: 8 kB / 0.5371 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3849, allocations: 4.906 kB / 0.5371 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.385, allocations: 13.23 kB / 0.5371 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.385, allocations: 0.9688 kB / 0.5371 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.385, allocations: 5.156 kB / 0.5371 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.3853, allocations: 197.6 kB / 0.5373 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-05/0.3853, allocations: 89.48 kB / 0.5374 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.3854, allocations: 8.969 kB / 0.5374 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.3854, allocations: 6.312 kB / 0.5374 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.3855, allocations: 7.328 kB / 0.5374 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.3855, allocations: 3.312 kB / 0.5374 GB, free: 7.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000233/0.3857, allocations: 207 kB / 0.5376 GB, free: 7.371 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3858, allocations: 0 / 0.5376 GB, free: 7.371 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.386, allocations: 25.5 kB / 0.5377 GB, free: 7.363 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.002179/0.3882, allocations: 1.094 MB / 0.5387 GB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.3884, allocations: 66.12 kB / 0.5388 GB, free: 6.477 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.3884, allocations: 1.156 kB / 0.5388 GB, free: 6.477 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.447e-05/0.3885, allocations: 24.55 kB / 0.5388 GB, free: 6.469 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.3889, allocations: 29.39 kB / 0.5388 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.3911, allocations: 1.841 MB / 0.5406 GB, free: 4.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.3915, allocations: 0.7213 MB / 0.5414 GB, free: 4.211 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.369e-05/0.3915, allocations: 13.66 kB / 0.5414 GB, free: 4.207 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.397e-05/0.3916, allocations: 43.3 kB / 0.5414 GB, free: 4.172 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3916, allocations: 0 / 0.5414 GB, free: 4.172 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.4172, allocations: 3.794 MB / 0.5451 GB, free: 2.141 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.514, allocations: 12.69 kB / 0.5451 GB, free: 2.133 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches