Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001513/0.001513, allocations: 121.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001657/0.001657, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2316/0.2316, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 83.88 kB / 481 MB, free: 4.391 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3602, allocations: 62.45 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003716/0.364, allocations: 1.722 MB / 0.5324 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.366, allocations: 1.017 MB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.3661, allocations: 5.812 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003323/0.3665, allocations: 37.52 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003867/0.3669, allocations: 93.06 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.3672, allocations: 79.3 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000229/0.3674, allocations: 101 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.3676, allocations: 18.45 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.3677, allocations: 44.44 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.894e-05/0.3678, allocations: 29.73 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.3678, allocations: 3.812 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.3679, allocations: 39.89 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.374e-05/0.368, allocations: 25.34 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.289e-05/0.3681, allocations: 32.05 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.3683, allocations: 115.1 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3683, allocations: 7.984 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3683, allocations: 0 / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.3684, allocations: 1.375 kB / 0.534 GB, free: 10.79 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.0006534/0.369, allocations: 410.2 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.3691, allocations: 9.625 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.589e-05/0.3691, allocations: 40.11 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.46e-05/0.3692, allocations: 9.016 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.3695, allocations: 206.4 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.3696, allocations: 5.75 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.3696, allocations: 10.69 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.3697, allocations: 54.05 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3698, allocations: 7.922 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.3698, allocations: 0 / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3698, allocations: 1.375 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.916e-05/0.3699, allocations: 18.98 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.3703, allocations: 296 kB / 0.535 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.3705, allocations: 57.94 kB / 0.5351 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.731e-05/0.3706, allocations: 22.47 kB / 0.5351 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.3706, allocations: 1.375 kB / 0.5351 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/0.3708, allocations: 73.08 kB / 0.5352 GB, free: 9.574 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.3708, allocations: 4 kB / 0.5352 GB, free: 9.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005492/0.3713, allocations: 165.1 kB / 0.5353 GB, free: 9.477 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.3714, allocations: 56.72 kB / 0.5354 GB, free: 9.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.3717, allocations: 172.8 kB / 0.5355 GB, free: 9.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.3717, allocations: 27.08 kB / 0.5356 GB, free: 9.238 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.871e-05/0.3718, allocations: 100.2 kB / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.3718, allocations: 27.91 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.3719, allocations: 24.59 kB / 0.5357 GB, free: 9.094 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.372, allocations: 325.6 kB / 0.536 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.524e-05/0.3721, allocations: 18.83 kB / 0.536 GB, free: 8.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.917e-05/0.3722, allocations: 34.86 kB / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.3723, allocations: 67.58 kB / 0.5361 GB, free: 8.688 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3723, allocations: 0 / 0.5361 GB, free: 8.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002014/0.3725, allocations: 108 kB / 0.5362 GB, free: 8.617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3725, allocations: 9.156 kB / 0.5362 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3725, allocations: 0 / 0.5362 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3726, allocations: 1.094 kB / 0.5362 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.246e-05/0.3727, allocations: 22.11 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3727, allocations: 0 / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.5e-05/0.3727, allocations: 6.375 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.3727, allocations: 2.562 kB / 0.5363 GB, free: 8.602 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.0001101/0.3729, allocations: 123.4 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.3729, allocations: 16.75 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.254e-05/0.3729, allocations: 12.62 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3729, allocations: 1.344 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.373, allocations: 0 / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.373, allocations: 4.969 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004903/0.3735, allocations: 391.9 kB / 0.5368 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3735, allocations: 1.281 kB / 0.5368 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/0.3735, allocations: 15.73 kB / 0.5368 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.3735, allocations: 5.031 kB / 0.5368 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.3735, allocations: 5.156 kB / 0.5368 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.3735, allocations: 1.25 kB / 0.5368 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.3736, allocations: 4.312 kB / 0.5368 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.3738, allocations: 196.8 kB / 0.537 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.94e-05/0.3739, allocations: 87.33 kB / 0.5371 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.3739, allocations: 10.17 kB / 0.5371 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.789e-05/0.374, allocations: 10.22 kB / 0.5371 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.3741, allocations: 7.469 kB / 0.5371 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.3741, allocations: 7.391 kB / 0.5371 GB, free: 7.762 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.3742, allocations: 125.3 kB / 0.5373 GB, free: 7.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3743, allocations: 0 / 0.5373 GB, free: 7.668 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.3745, allocations: 23.91 kB / 0.5373 GB, free: 7.66 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.002173/0.3767, allocations: 1.098 MB / 0.5384 GB, free: 6.801 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.3769, allocations: 60.94 kB / 0.5384 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3769, allocations: 0 / 0.5384 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.017e-05/0.377, allocations: 30.64 kB / 0.5384 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.3773, allocations: 45.33 kB / 0.5385 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.3792, allocations: 1.585 MB / 0.54 GB, free: 5.324 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.3796, allocations: 0.7032 MB / 0.5407 GB, free: 4.613 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.498e-05/0.3796, allocations: 13.66 kB / 0.5407 GB, free: 4.605 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.906e-05/0.3797, allocations: 35.55 kB / 0.5408 GB, free: 4.578 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3797, allocations: 5.25 kB / 0.5408 GB, free: 4.574 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.403, allocations: 3.333 MB / 0.544 GB, free: 2.762 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.98/8.383, allocations: 6.016 kB / 0.544 GB, free: 2.758 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches