Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001341/0.001341, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001253/0.001253, allocations: 200.7 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.44/1.44, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2297/0.2297, allocations: 46.13 MB / 344.4 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 79.88 kB / 481 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3799, allocations: 62.45 MB / 0.5307 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002971/0.383, allocations: 1.694 MB / 0.5324 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.3845, allocations: 0.9976 MB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.302e-05/0.3846, allocations: 0 / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.3849, allocations: 68.48 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003229/0.3853, allocations: 110.2 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.3855, allocations: 72.78 kB / 0.5336 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.3857, allocations: 106.8 kB / 0.5337 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.399e-05/0.3858, allocations: 9.5 kB / 0.5337 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.292e-05/0.3859, allocations: 51.55 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.777e-05/0.386, allocations: 39.5 kB / 0.5338 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.386, allocations: 7.656 kB / 0.5338 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.3861, allocations: 32.03 kB / 0.5338 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.279e-05/0.3862, allocations: 18.23 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.506e-05/0.3862, allocations: 32.06 kB / 0.5339 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.3865, allocations: 116.4 kB / 0.534 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3865, allocations: 0 / 0.534 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3865, allocations: 1.156 kB / 0.534 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.3865, allocations: 0 / 0.534 GB, free: 10.88 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005424/0.387, allocations: 411.3 kB / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.3871, allocations: 12.78 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.611e-05/0.3871, allocations: 39.7 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.3872, allocations: 13.44 kB / 0.5344 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.3875, allocations: 212.7 kB / 0.5346 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.3875, allocations: 5.578 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.3875, allocations: 6.312 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.3877, allocations: 47.56 kB / 0.5347 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.3877, allocations: 0 / 0.5347 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.3877, allocations: 3.984 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3877, allocations: 5.156 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.514e-05/0.3878, allocations: 11.72 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002065/0.388, allocations: 188.1 kB / 0.5349 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.3882, allocations: 54.59 kB / 0.5349 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.588e-05/0.3882, allocations: 20.25 kB / 0.535 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.3883, allocations: 1.031 kB / 0.535 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.3884, allocations: 68.42 kB / 0.535 GB, free: 9.762 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.3884, allocations: 0 / 0.535 GB, free: 9.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002907/0.3887, allocations: 92.09 kB / 0.5351 GB, free: 9.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.3888, allocations: 52.69 kB / 0.5352 GB, free: 9.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.389, allocations: 196.3 kB / 0.5353 GB, free: 9.496 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.389, allocations: 25.7 kB / 0.5354 GB, free: 9.465 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.81e-05/0.3891, allocations: 105.6 kB / 0.5355 GB, free: 9.363 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.3891, allocations: 22.59 kB / 0.5355 GB, free: 9.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.3892, allocations: 17.84 kB / 0.5355 GB, free: 9.324 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3893, allocations: 326.9 kB / 0.5358 GB, free: 9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.055e-05/0.3894, allocations: 14.86 kB / 0.5358 GB, free: 8.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.888e-05/0.3894, allocations: 32.7 kB / 0.5359 GB, free: 8.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.676e-05/0.3895, allocations: 42.47 kB / 0.5359 GB, free: 8.934 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.3896, allocations: 5.312 kB / 0.5359 GB, free: 8.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001589/0.3897, allocations: 90.39 kB / 0.536 GB, free: 8.863 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3897, allocations: 9.438 kB / 0.536 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3897, allocations: 1.375 kB / 0.536 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3898, allocations: 1.375 kB / 0.536 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.371e-05/0.3898, allocations: 8.25 kB / 0.536 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3899, allocations: 1.375 kB / 0.536 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.479e-05/0.3899, allocations: 5.359 kB / 0.536 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.3899, allocations: 6.781 kB / 0.536 GB, free: 8.852 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 (7): * Single equations (assignments): 7 * 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.0001289/0.3901, allocations: 126 kB / 0.5362 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.3901, allocations: 9.453 kB / 0.5362 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.453e-05/0.3901, allocations: 17.11 kB / 0.5362 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.3901, allocations: 5.359 kB / 0.5362 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3902, allocations: 0 / 0.5362 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.3902, allocations: 1.375 kB / 0.5362 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.3903, allocations: 200.6 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3904, allocations: 0 / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.981e-05/0.3904, allocations: 8.125 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3904, allocations: 0 / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.3904, allocations: 5.375 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3904, allocations: 0 / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3904, allocations: 1.375 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.3906, allocations: 106 kB / 0.5365 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.969e-05/0.3907, allocations: 82.44 kB / 0.5366 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.3907, allocations: 1.375 kB / 0.5366 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.367e-05/0.3908, allocations: 18.86 kB / 0.5366 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.3908, allocations: 5.312 kB / 0.5366 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.3908, allocations: 2.75 kB / 0.5366 GB, free: 8.258 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.391, allocations: 148.1 kB / 0.5367 GB, free: 8.152 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.391, allocations: 0 / 0.5367 GB, free: 8.152 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002166/0.3912, allocations: 17.16 kB / 0.5368 GB, free: 8.148 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00193/0.3931, allocations: 0.94 MB / 0.5377 GB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.3933, allocations: 43.14 kB / 0.5377 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3933, allocations: 0 / 0.5377 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.578e-05/0.3934, allocations: 19.83 kB / 0.5377 GB, free: 7.375 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.3937, allocations: 28.28 kB / 0.5378 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.3957, allocations: 1.501 MB / 0.5392 GB, free: 6.035 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.396, allocations: 0.7035 MB / 0.5399 GB, free: 5.324 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.783e-05/0.3961, allocations: 16.66 kB / 0.5399 GB, free: 5.316 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.38e-05/0.3962, allocations: 26.47 kB / 0.54 GB, free: 5.297 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3962, allocations: 3.938 kB / 0.54 GB, free: 5.293 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/0.4214, allocations: 3.151 MB / 0.543 GB, free: 3.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.033/8.455, allocations: 6.016 kB / 0.543 GB, free: 3.566 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches