Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001668/0.001668, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002017/0.002018, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2414/0.2414, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 76.09 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3699, allocations: 62.44 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.004187/0.3741, allocations: 1.73 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.3762, allocations: 1.026 MB / 0.5333 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.3764, allocations: 0 / 0.5333 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003846/0.3768, allocations: 38.78 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004863/0.3774, allocations: 89.67 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.3778, allocations: 84.28 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003034/0.3781, allocations: 100.9 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.3782, allocations: 14.88 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.3784, allocations: 48.27 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.3785, allocations: 29.42 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.3786, allocations: 4.125 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.3787, allocations: 47.47 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.259e-05/0.3788, allocations: 22.73 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.839e-05/0.3789, allocations: 32 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.3792, allocations: 115.2 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3792, allocations: 4 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3792, allocations: 0 / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.3793, allocations: 1.375 kB / 0.5339 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006935/0.38, allocations: 407 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.625e-05/0.38, allocations: 9.844 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.182e-05/0.3801, allocations: 35.89 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.364e-05/0.3802, allocations: 13.34 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004939/0.3807, allocations: 219.9 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.3807, allocations: 5.688 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.3807, allocations: 6.906 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.3809, allocations: 53.42 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.381, allocations: 0 / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.381, allocations: 1.281 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.381, allocations: 0 / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.921e-05/0.3811, allocations: 22.33 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005419/0.3816, allocations: 287.5 kB / 0.5349 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.3818, allocations: 60.77 kB / 0.535 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.877e-05/0.3819, allocations: 17.39 kB / 0.535 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.3819, allocations: 1.188 kB / 0.535 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002891/0.3822, allocations: 65.42 kB / 0.535 GB, free: 9.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.893e-06/0.3822, allocations: 7.938 kB / 0.5351 GB, free: 9.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006459/0.3829, allocations: 169.7 kB / 0.5352 GB, free: 9.566 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.383, allocations: 56.66 kB / 0.5353 GB, free: 9.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.3832, allocations: 198.3 kB / 0.5355 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.3832, allocations: 26.86 kB / 0.5355 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.958e-05/0.3833, allocations: 108.9 kB / 0.5356 GB, free: 9.207 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.3834, allocations: 23.03 kB / 0.5356 GB, free: 9.188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.3834, allocations: 24.52 kB / 0.5356 GB, free: 9.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3836, allocations: 326.3 kB / 0.5359 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.197e-05/0.3836, allocations: 18.34 kB / 0.536 GB, free: 8.832 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.529e-05/0.3837, allocations: 35.61 kB / 0.536 GB, free: 8.805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.3838, allocations: 54.73 kB / 0.536 GB, free: 8.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3839, allocations: 5.469 kB / 0.536 GB, free: 8.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000208/0.3841, allocations: 102.8 kB / 0.5361 GB, free: 8.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3841, allocations: 10.27 kB / 0.5362 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.3841, allocations: 0 / 0.5362 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.3841, allocations: 5.156 kB / 0.5362 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.799e-05/0.3842, allocations: 16.91 kB / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.3843, allocations: 1.312 kB / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.457e-05/0.3843, allocations: 6.75 kB / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.3844, allocations: 9.422 kB / 0.5362 GB, free: 8.676 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.0001076/0.3845, allocations: 118.8 kB / 0.5363 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.3845, allocations: 17.31 kB / 0.5363 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.637e-05/0.3846, allocations: 17.52 kB / 0.5363 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3846, allocations: 1.375 kB / 0.5363 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3846, allocations: 0 / 0.5363 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3846, allocations: 5.312 kB / 0.5363 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004541/0.3851, allocations: 393.3 kB / 0.5367 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.3851, allocations: 0 / 0.5367 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.724e-05/0.3851, allocations: 16.17 kB / 0.5367 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.3852, allocations: 9.344 kB / 0.5367 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.3852, allocations: 5.375 kB / 0.5368 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.3852, allocations: 1.375 kB / 0.5368 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3852, allocations: 0 / 0.5368 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.3854, allocations: 200.2 kB / 0.5369 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.3855, allocations: 87.67 kB / 0.537 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.3856, allocations: 11.03 kB / 0.537 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.34e-05/0.3856, allocations: 9.484 kB / 0.537 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.3857, allocations: 3.281 kB / 0.5371 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.3857, allocations: 3.344 kB / 0.5371 GB, free: 7.832 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.3859, allocations: 143.1 kB / 0.5372 GB, free: 7.727 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3859, allocations: 0.9375 kB / 0.5372 GB, free: 7.727 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.3862, allocations: 24.38 kB / 0.5372 GB, free: 7.719 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.002103/0.3883, allocations: 1.088 MB / 0.5383 GB, free: 6.867 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000232/0.3886, allocations: 57.8 kB / 0.5383 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3886, allocations: 0 / 0.5383 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.148e-05/0.3887, allocations: 30.58 kB / 0.5384 GB, free: 6.832 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.3891, allocations: 38.78 kB / 0.5384 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/0.3918, allocations: 1.646 MB / 0.54 GB, free: 5.359 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007487/0.3926, allocations: 0.7004 MB / 0.5407 GB, free: 4.652 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.454e-05/0.3927, allocations: 10.77 kB / 0.5407 GB, free: 4.652 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.58e-05/0.3928, allocations: 39.3 kB / 0.5407 GB, free: 4.621 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3928, allocations: 0 / 0.5407 GB, free: 4.621 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/0.4178, allocations: 3.418 MB / 0.5441 GB, free: 2.773 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.673/8.091, allocations: 16.08 kB / 0.5441 GB, free: 2.762 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time