Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001135/0.001135, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001319/0.001319, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.9 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.2287/0.2287, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 75.88 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3781, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002933/0.3811, allocations: 1.723 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.3827, allocations: 1.03 MB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.602e-05/0.3828, allocations: 1.781 kB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003087/0.3831, allocations: 44.3 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002861/0.3834, allocations: 86.7 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.3836, allocations: 84.19 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.3838, allocations: 104.4 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3839, allocations: 14.86 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.384, allocations: 48.22 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.65e-05/0.3841, allocations: 29.42 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.3842, allocations: 4.125 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.93e-05/0.3843, allocations: 48.84 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.313e-05/0.3843, allocations: 18.8 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.836e-05/0.3844, allocations: 39.98 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.3846, allocations: 121.9 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.3846, allocations: 3.984 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3846, allocations: 0 / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.3846, allocations: 5.312 kB / 0.5339 GB, free: 10.84 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.0005779/0.3852, allocations: 421.1 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3853, allocations: 9.625 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.447e-05/0.3853, allocations: 32.12 kB / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.3854, allocations: 18.25 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.3857, allocations: 212.5 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.3857, allocations: 5.75 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.3857, allocations: 6.688 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.3859, allocations: 57.98 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.3859, allocations: 0 / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.386, allocations: 1.375 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.386, allocations: 0 / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.26e-05/0.3861, allocations: 22.98 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004706/0.3865, allocations: 284.3 kB / 0.5349 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.3867, allocations: 65.86 kB / 0.535 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.667e-05/0.3868, allocations: 25.03 kB / 0.535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.3868, allocations: 1.375 kB / 0.535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.387, allocations: 72.98 kB / 0.5351 GB, free: 9.613 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.387, allocations: 4 kB / 0.5351 GB, free: 9.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005996/0.3876, allocations: 175.1 kB / 0.5353 GB, free: 9.508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.3877, allocations: 52.97 kB / 0.5353 GB, free: 9.445 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.388, allocations: 207.3 kB / 0.5355 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.388, allocations: 31.05 kB / 0.5355 GB, free: 9.262 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.985e-05/0.3881, allocations: 100.8 kB / 0.5356 GB, free: 9.164 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.3881, allocations: 27.61 kB / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.615e-05/0.3882, allocations: 24.59 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3883, allocations: 327.5 kB / 0.536 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.625e-05/0.3884, allocations: 26.64 kB / 0.536 GB, free: 8.777 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.303e-05/0.3885, allocations: 39.14 kB / 0.5361 GB, free: 8.746 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.3886, allocations: 51.25 kB / 0.5361 GB, free: 8.715 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.3886, allocations: 0 / 0.5361 GB, free: 8.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002408/0.3889, allocations: 116.4 kB / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3889, allocations: 4.656 kB / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3889, allocations: 1.156 kB / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3889, allocations: 1.156 kB / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.549e-05/0.389, allocations: 17.05 kB / 0.5362 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.389, allocations: 1.125 kB / 0.5362 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.651e-05/0.3891, allocations: 6.125 kB / 0.5362 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.3891, allocations: 2.188 kB / 0.5362 GB, free: 8.629 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.0001162/0.3892, allocations: 134.2 kB / 0.5364 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.3893, allocations: 17.66 kB / 0.5364 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.264e-05/0.3893, allocations: 15.16 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3893, allocations: 1.156 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3893, allocations: 1.062 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.3894, allocations: 7.922 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004757/0.3898, allocations: 391.7 kB / 0.5368 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.3898, allocations: 1 kB / 0.5368 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.012e-05/0.3899, allocations: 11.28 kB / 0.5368 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3899, allocations: 8.719 kB / 0.5368 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.3899, allocations: 5.859 kB / 0.5368 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3899, allocations: 1.156 kB / 0.5368 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.3899, allocations: 1.125 kB / 0.5368 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.3902, allocations: 204.4 kB / 0.537 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.3903, allocations: 96.5 kB / 0.5371 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.3903, allocations: 9.281 kB / 0.5371 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.803e-05/0.3904, allocations: 10.8 kB / 0.5371 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.3905, allocations: 2.719 kB / 0.5371 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.3905, allocations: 7.594 kB / 0.5371 GB, free: 7.766 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001669/0.3907, allocations: 158.8 kB / 0.5373 GB, free: 7.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3907, allocations: 0 / 0.5373 GB, free: 7.656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.3909, allocations: 24.64 kB / 0.5373 GB, free: 7.648 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.001582/0.3925, allocations: 1.089 MB / 0.5384 GB, free: 6.797 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000239/0.3928, allocations: 65.89 kB / 0.5384 GB, free: 6.766 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3928, allocations: 0 / 0.5384 GB, free: 6.766 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.3929, allocations: 30.42 kB / 0.5385 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.3933, allocations: 42.11 kB / 0.5385 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.3952, allocations: 1.681 MB / 0.5401 GB, free: 5.277 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.3956, allocations: 0.7071 MB / 0.5408 GB, free: 4.566 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.816e-05/0.3957, allocations: 17.64 kB / 0.5409 GB, free: 4.559 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.852e-05/0.3958, allocations: 39.73 kB / 0.5409 GB, free: 4.527 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3958, allocations: 0 / 0.5409 GB, free: 4.527 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.4175, allocations: 3.558 MB / 0.5444 GB, free: 2.609 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.446/7.864, allocations: 8.891 kB / 0.5444 GB, free: 2.602 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nHeaderLines,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time