Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00126/0.00126, allocations: 118.8 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.001314/0.001314, allocations: 197.2 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2132/0.2132, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 76.2 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3602, allocations: 62.42 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003401/0.3637, allocations: 1.696 MB / 0.5322 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.3653, allocations: 1.001 MB / 0.5332 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.379e-05/0.3654, allocations: 1.375 kB / 0.5332 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003568/0.3658, allocations: 64.8 kB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000395/0.3662, allocations: 99.86 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.3665, allocations: 78.64 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.3667, allocations: 109.5 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.558e-05/0.3668, allocations: 3.047 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.3669, allocations: 47.52 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.367, allocations: 48.47 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.3671, allocations: 2.75 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.3672, allocations: 32.61 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.239e-05/0.3673, allocations: 26.72 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.842e-05/0.3673, allocations: 32 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.3675, allocations: 107.1 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3676, allocations: 0 / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3676, allocations: 0 / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3676, 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.0005598/0.3681, allocations: 411.7 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3682, allocations: 9.625 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.604e-05/0.3682, allocations: 32.12 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.3683, allocations: 12.95 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.3686, allocations: 213.2 kB / 0.5345 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3686, allocations: 4.359 kB / 0.5345 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.3686, allocations: 10.69 kB / 0.5345 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.3688, allocations: 47.3 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.3688, allocations: 3.938 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3688, allocations: 7.984 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3688, allocations: 1.375 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.524e-05/0.3689, allocations: 12.25 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/0.3691, allocations: 183.3 kB / 0.5347 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.3692, allocations: 57.67 kB / 0.5348 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.378e-05/0.3693, allocations: 21.09 kB / 0.5348 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.3693, allocations: 5.375 kB / 0.5348 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.3695, allocations: 65.14 kB / 0.5349 GB, free: 9.785 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.3695, allocations: 0 / 0.5349 GB, free: 9.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002868/0.3698, allocations: 94.64 kB / 0.535 GB, free: 9.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.3698, allocations: 52.78 kB / 0.535 GB, free: 9.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.37, allocations: 196.1 kB / 0.5352 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.3701, allocations: 27.08 kB / 0.5352 GB, free: 9.484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.017e-05/0.3701, allocations: 104.2 kB / 0.5353 GB, free: 9.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.3702, allocations: 22.5 kB / 0.5354 GB, free: 9.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.3702, allocations: 19.22 kB / 0.5354 GB, free: 9.344 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.3703, allocations: 321.6 kB / 0.5357 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.86e-05/0.3704, allocations: 16.08 kB / 0.5357 GB, free: 9.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.513e-05/0.3704, allocations: 26.86 kB / 0.5357 GB, free: 8.992 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.343e-05/0.3705, allocations: 43.41 kB / 0.5358 GB, free: 8.961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3706, allocations: 9 kB / 0.5358 GB, free: 8.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001694/0.3707, allocations: 82.95 kB / 0.5359 GB, free: 8.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3708, allocations: 10.28 kB / 0.5359 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.3708, allocations: 0 / 0.5359 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3708, allocations: 1.125 kB / 0.5359 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.455e-05/0.3709, allocations: 13.22 kB / 0.5359 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3709, allocations: 1.156 kB / 0.5359 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.16e-05/0.3709, allocations: 14.48 kB / 0.5359 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.371, allocations: 2.031 kB / 0.5359 GB, free: 8.875 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 9.491e-05/0.3711, allocations: 121.8 kB / 0.536 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.3711, allocations: 13.97 kB / 0.536 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.969e-05/0.3711, allocations: 17.02 kB / 0.536 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3711, allocations: 1.375 kB / 0.536 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3711, allocations: 0 / 0.536 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.3712, allocations: 0 / 0.536 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.3713, allocations: 189 kB / 0.5362 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3713, allocations: 5.031 kB / 0.5362 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.138e-05/0.3714, allocations: 2.938 kB / 0.5362 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3714, allocations: 1.469 kB / 0.5362 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.3714, allocations: 0 / 0.5362 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3714, allocations: 1.062 kB / 0.5362 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3714, allocations: 3.938 kB / 0.5362 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.3716, allocations: 113.5 kB / 0.5363 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.3716, allocations: 88.17 kB / 0.5364 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.3717, allocations: 5.438 kB / 0.5364 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.594e-05/0.3717, allocations: 4.984 kB / 0.5364 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.3718, allocations: 6.25 kB / 0.5364 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.3718, allocations: 2.281 kB / 0.5364 GB, free: 8.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001256/0.3719, allocations: 144 kB / 0.5366 GB, free: 8.191 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3719, allocations: 1.188 kB / 0.5366 GB, free: 8.191 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002162/0.3721, allocations: 21 kB / 0.5366 GB, free: 8.184 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.001262/0.3734, allocations: 0.9542 MB / 0.5375 GB, free: 7.422 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001566/0.3736, allocations: 39.83 kB / 0.5376 GB, free: 7.406 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3736, allocations: 0 / 0.5376 GB, free: 7.406 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.188e-05/0.3736, allocations: 23.05 kB / 0.5376 GB, free: 7.395 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.3739, allocations: 36.42 kB / 0.5376 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.3755, allocations: 1.501 MB / 0.5391 GB, free: 6.062 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.3758, allocations: 0.6998 MB / 0.5398 GB, free: 5.355 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.357e-05/0.3758, allocations: 12.2 kB / 0.5398 GB, free: 5.352 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.64e-05/0.3759, allocations: 29.88 kB / 0.5398 GB, free: 5.328 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3759, allocations: 3.938 kB / 0.5398 GB, free: 5.324 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/0.3965, allocations: 3.182 MB / 0.5429 GB, free: 3.582 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.601/7.998, allocations: 9.328 kB / 0.5429 GB, free: 3.574 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time