Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001151/0.001151, 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.001365/0.001365, 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.353/1.353, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.219/0.219, allocations: 46.09 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 79.88 kB / 480.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3363, allocations: 62.44 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002806/0.3392, allocations: 1.693 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.3407, allocations: 1.001 MB / 0.5332 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.414e-05/0.3407, allocations: 0 / 0.5332 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.341, allocations: 56.56 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.3413, allocations: 102.6 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.3414, allocations: 71 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.3416, allocations: 98.17 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.3416, allocations: 17.67 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.843e-05/0.3417, allocations: 38.91 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.441e-05/0.3418, allocations: 25.48 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.3418, allocations: 4.125 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.683e-05/0.3419, allocations: 36.59 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.327e-05/0.3419, allocations: 25.48 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.451e-05/0.342, allocations: 41.31 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.3421, allocations: 121.9 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.243e-05/0.3422, allocations: 1.375 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.3422, allocations: 3.938 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.3422, allocations: 0 / 0.5338 GB, free: 10.9 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.0004732/0.3427, allocations: 438.4 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.3427, allocations: 9.625 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.345e-05/0.3427, allocations: 34.69 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.3428, allocations: 11.72 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.343, allocations: 223.9 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.3431, allocations: 1.719 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.3431, allocations: 5.25 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.3432, allocations: 54.7 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.3432, allocations: 3.938 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.383e-06/0.3432, allocations: 1.312 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3433, allocations: 0 / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.342e-05/0.3433, allocations: 16.23 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001756/0.3435, allocations: 196.1 kB / 0.5348 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.3437, allocations: 51.44 kB / 0.5348 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.13e-05/0.3437, allocations: 24.47 kB / 0.5349 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.3437, allocations: 1.281 kB / 0.5349 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001364/0.3439, allocations: 67.73 kB / 0.5349 GB, free: 9.758 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.3439, allocations: 1.5 kB / 0.5349 GB, free: 9.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002658/0.3442, allocations: 96.2 kB / 0.535 GB, free: 9.695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.3442, allocations: 52.31 kB / 0.5351 GB, free: 9.633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.3445, allocations: 275.1 kB / 0.5353 GB, free: 9.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.3445, allocations: 26.77 kB / 0.5354 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.564e-05/0.3445, allocations: 110.9 kB / 0.5355 GB, free: 9.316 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.3446, allocations: 19.3 kB / 0.5355 GB, free: 9.301 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.3446, allocations: 22.27 kB / 0.5355 GB, free: 9.277 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3447, allocations: 327.4 kB / 0.5358 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.003e-05/0.3448, allocations: 19.95 kB / 0.5358 GB, free: 8.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.782e-05/0.3449, allocations: 31.36 kB / 0.5359 GB, free: 8.914 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.242e-05/0.345, allocations: 44.38 kB / 0.5359 GB, free: 8.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.345, allocations: 3.938 kB / 0.5359 GB, free: 8.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001508/0.3451, allocations: 88.17 kB / 0.536 GB, free: 8.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.3452, allocations: 5.812 kB / 0.536 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3452, allocations: 1.094 kB / 0.536 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.3452, allocations: 1.062 kB / 0.536 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.568e-05/0.3452, allocations: 8.719 kB / 0.536 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3453, allocations: 5.125 kB / 0.536 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.362e-05/0.3453, allocations: 6.688 kB / 0.536 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.3453, allocations: 9.391 kB / 0.536 GB, free: 8.801 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.0001005/0.3454, allocations: 141 kB / 0.5362 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.3455, allocations: 14.34 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.701e-05/0.3455, allocations: 16.59 kB / 0.5362 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3455, allocations: 0 / 0.5362 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3455, allocations: 1.375 kB / 0.5362 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3455, allocations: 11.92 kB / 0.5362 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.3457, allocations: 203.3 kB / 0.5364 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3457, allocations: 0 / 0.5364 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.913e-05/0.3457, allocations: 2.969 kB / 0.5364 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3457, allocations: 1.562 kB / 0.5364 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.3457, allocations: 0 / 0.5364 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3457, allocations: 1.219 kB / 0.5364 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3457, allocations: 0 / 0.5364 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.3459, allocations: 119 kB / 0.5365 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/0.346, allocations: 89.08 kB / 0.5366 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.346, allocations: 5.5 kB / 0.5366 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.664e-05/0.346, allocations: 5.359 kB / 0.5366 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.3461, allocations: 9.312 kB / 0.5366 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.3461, allocations: 2.75 kB / 0.5366 GB, free: 8.195 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001492/0.3462, allocations: 202.8 kB / 0.5368 GB, free: 8.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3462, allocations: 0 / 0.5368 GB, free: 8.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002098/0.3465, allocations: 21.66 kB / 0.5368 GB, free: 8.062 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.001177/0.3476, allocations: 0.9417 MB / 0.5378 GB, free: 7.316 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000158/0.3478, allocations: 48.55 kB / 0.5378 GB, free: 7.293 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3478, allocations: 0 / 0.5378 GB, free: 7.293 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.064e-05/0.3479, allocations: 23.23 kB / 0.5378 GB, free: 7.281 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.3482, allocations: 27.69 kB / 0.5378 GB, free: 7.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.3499, allocations: 1.684 MB / 0.5395 GB, free: 5.863 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.3502, allocations: 0.7111 MB / 0.5402 GB, free: 5.152 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.143e-05/0.3503, allocations: 16.62 kB / 0.5402 GB, free: 5.145 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.275e-05/0.3504, allocations: 45.2 kB / 0.5402 GB, free: 5.105 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3504, allocations: 3.938 kB / 0.5403 GB, free: 5.102 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02036/0.3707, allocations: 3.51 MB / 0.5437 GB, free: 3.219 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.697/8.068, allocations: 13.16 kB / 0.5437 GB, free: 3.211 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1] Variables in the result: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.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time