Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001028/0.001028, allocations: 117.7 kB / 17.78 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.001084/0.001084, allocations: 203.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.449/1.449, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2143/0.2143, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 79.88 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3744, allocations: 62.43 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003499/0.3779, allocations: 1.728 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.3798, allocations: 1.019 MB / 0.5333 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.3799, allocations: 0 / 0.5333 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004123/0.3803, allocations: 90.11 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004838/0.3808, allocations: 115.4 kB / 0.5335 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.3812, allocations: 74.94 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003783/0.3816, allocations: 117.2 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.3818, allocations: 14.88 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.382, allocations: 57.75 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.3822, allocations: 55.27 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.3822, allocations: 4.125 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.3824, allocations: 48.84 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.206e-05/0.3825, allocations: 24.11 kB / 0.5339 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.329e-05/0.3826, allocations: 36 kB / 0.5339 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000415/0.3831, allocations: 121.9 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.3831, allocations: 5.375 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.3831, allocations: 0 / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.3831, allocations: 0 / 0.534 GB, free: 10.82 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.0009274/0.384, allocations: 431.6 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.608e-05/0.3841, allocations: 13.12 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.818e-05/0.3842, allocations: 39.91 kB / 0.5345 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.433e-05/0.3843, allocations: 14.41 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005081/0.3848, allocations: 217.1 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.3849, allocations: 6.219 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.3849, allocations: 9.406 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.3851, allocations: 58.14 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.3852, allocations: 1.438 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.3852, allocations: 0 / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.3852, allocations: 1.406 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.3853, allocations: 18.2 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005984/0.3859, allocations: 292.7 kB / 0.5351 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.3862, allocations: 57.94 kB / 0.5351 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.855e-05/0.3862, allocations: 20.81 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.3863, allocations: 1.25 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.3864, allocations: 72.97 kB / 0.5352 GB, free: 9.578 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.944e-06/0.3865, allocations: 4 kB / 0.5352 GB, free: 9.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006165/0.3871, allocations: 171.6 kB / 0.5354 GB, free: 9.477 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.3871, allocations: 56.41 kB / 0.5354 GB, free: 9.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.3874, allocations: 229.6 kB / 0.5356 GB, free: 9.242 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.3874, allocations: 30.86 kB / 0.5357 GB, free: 9.207 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.517e-05/0.3875, allocations: 105.8 kB / 0.5358 GB, free: 9.105 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.449e-05/0.3875, allocations: 20.31 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-05/0.3876, allocations: 24.36 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.3877, allocations: 331 kB / 0.5361 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.138e-05/0.3878, allocations: 14.94 kB / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.401e-05/0.3879, allocations: 34.92 kB / 0.5362 GB, free: 8.707 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.388, allocations: 63.73 kB / 0.5362 GB, free: 8.664 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.388, allocations: 0 / 0.5362 GB, free: 8.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001941/0.3882, allocations: 107.6 kB / 0.5363 GB, free: 8.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3882, allocations: 6.188 kB / 0.5364 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3882, allocations: 0 / 0.5364 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3882, allocations: 1.5 kB / 0.5364 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.262e-05/0.3883, allocations: 20.47 kB / 0.5364 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3884, allocations: 5.312 kB / 0.5364 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.984e-05/0.3884, allocations: 10.67 kB / 0.5364 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.3884, allocations: 2.75 kB / 0.5364 GB, free: 8.574 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.0001345/0.3886, allocations: 125 kB / 0.5365 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.3886, allocations: 13.41 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.241e-05/0.3887, allocations: 24.2 kB / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3887, allocations: 1.75 kB / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3887, allocations: 0 / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.3887, allocations: 3.938 kB / 0.5366 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000546/0.3893, allocations: 409.3 kB / 0.5369 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3893, allocations: 0 / 0.5369 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.944e-05/0.3893, allocations: 8.219 kB / 0.5369 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.3893, allocations: 3.969 kB / 0.537 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.3894, allocations: 11.12 kB / 0.537 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3894, allocations: 0 / 0.537 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.349e-05/0.3894, allocations: 9.391 kB / 0.537 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.3897, allocations: 192.1 kB / 0.5372 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.951e-05/0.3898, allocations: 88.33 kB / 0.5372 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.3898, allocations: 10.03 kB / 0.5372 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.947e-05/0.3899, allocations: 6.188 kB / 0.5373 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.39, allocations: 11.41 kB / 0.5373 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.39, allocations: 3.062 kB / 0.5373 GB, free: 7.719 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002099/0.3902, allocations: 165.5 kB / 0.5374 GB, free: 7.609 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3902, allocations: 0 / 0.5374 GB, free: 7.609 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000311/0.3906, allocations: 24.33 kB / 0.5374 GB, free: 7.602 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.001625/0.3922, allocations: 1.095 MB / 0.5385 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.3924, allocations: 70.36 kB / 0.5386 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3924, allocations: 0 / 0.5386 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.402e-05/0.3925, allocations: 30.23 kB / 0.5386 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.3929, allocations: 34.69 kB / 0.5386 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.3948, allocations: 1.715 MB / 0.5403 GB, free: 5.211 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.3952, allocations: 0.708 MB / 0.541 GB, free: 4.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.081e-05/0.3952, allocations: 13.94 kB / 0.541 GB, free: 4.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.56e-05/0.3953, allocations: 40.42 kB / 0.5411 GB, free: 4.465 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3953, allocations: 0 / 0.5411 GB, free: 4.465 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.4157, allocations: 3.596 MB / 0.5446 GB, free: 2.531 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.546/7.961, allocations: 12.45 kB / 0.5446 GB, free: 2.523 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.table[5,1],t_new.table[5,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time