Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001216/0.001216, allocations: 121.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001313, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2365/0.2365, allocations: 46.13 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 79.86 kB / 481 MB, free: 4.391 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3614, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003814/0.3652, allocations: 1.746 MB / 0.5324 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.3672, allocations: 1.034 MB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.437e-05/0.3673, allocations: 1.844 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.3677, allocations: 89.45 kB / 0.5335 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003402/0.3681, allocations: 121.2 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.3683, allocations: 78.92 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.3685, allocations: 116 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3686, allocations: 28.16 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.54e-05/0.3687, allocations: 51.16 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.3688, allocations: 63.42 kB / 0.534 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.3688, allocations: 4.125 kB / 0.534 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.3689, allocations: 62.47 kB / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.761e-05/0.369, allocations: 29.42 kB / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.876e-05/0.3691, allocations: 41.36 kB / 0.5341 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.3693, allocations: 145.9 kB / 0.5342 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3693, allocations: 1.375 kB / 0.5342 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.598e-06/0.3693, allocations: 0 / 0.5342 GB, free: 10.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.3694, allocations: 7.938 kB / 0.5342 GB, free: 10.68 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006334/0.37, allocations: 442.2 kB / 0.5347 GB, free: 10.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.37, allocations: 9.625 kB / 0.5347 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.901e-05/0.3701, allocations: 40.05 kB / 0.5347 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.3701, allocations: 14.34 kB / 0.5347 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.3704, allocations: 231.5 kB / 0.5349 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.3705, allocations: 3.125 kB / 0.5349 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.3705, allocations: 6.688 kB / 0.5349 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.3707, allocations: 64.78 kB / 0.535 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3707, allocations: 0 / 0.535 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.3707, allocations: 4 kB / 0.535 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3707, allocations: 1.375 kB / 0.535 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.369e-05/0.3708, allocations: 20.36 kB / 0.535 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.3712, allocations: 305.6 kB / 0.5353 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.3714, allocations: 61.31 kB / 0.5354 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.454e-05/0.3715, allocations: 22.62 kB / 0.5354 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.3715, allocations: 2.188 kB / 0.5354 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001689/0.3717, allocations: 69.45 kB / 0.5355 GB, free: 9.418 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.3717, allocations: 0 / 0.5355 GB, free: 9.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007887/0.3725, allocations: 260.2 kB / 0.5357 GB, free: 9.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.3726, allocations: 56.38 kB / 0.5358 GB, free: 9.203 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.3729, allocations: 232.3 kB / 0.536 GB, free: 9.047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.3729, allocations: 30.98 kB / 0.536 GB, free: 9.012 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.203e-05/0.373, allocations: 110.9 kB / 0.5361 GB, free: 8.906 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.373, allocations: 36.48 kB / 0.5362 GB, free: 8.875 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/0.3731, allocations: 26.7 kB / 0.5362 GB, free: 8.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3733, allocations: 327.5 kB / 0.5365 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.498e-05/0.3733, allocations: 34.8 kB / 0.5365 GB, free: 8.508 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.492e-05/0.3734, allocations: 47.55 kB / 0.5366 GB, free: 8.477 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.3736, allocations: 80.84 kB / 0.5367 GB, free: 8.426 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3736, allocations: 0 / 0.5367 GB, free: 8.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002308/0.3738, allocations: 130.3 kB / 0.5368 GB, free: 8.348 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3739, allocations: 9.656 kB / 0.5368 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3739, allocations: 8.031 kB / 0.5368 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3739, allocations: 1.062 kB / 0.5368 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.239e-05/0.374, allocations: 22.09 kB / 0.5368 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.374, allocations: 1.281 kB / 0.5368 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.383e-05/0.3741, allocations: 10.33 kB / 0.5368 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.3741, allocations: 2.719 kB / 0.5368 GB, free: 8.324 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 (13): * Single equations (assignments): 13 * 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.0001242/0.3742, allocations: 130.9 kB / 0.537 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.3742, allocations: 14.62 kB / 0.537 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.419e-05/0.3743, allocations: 20.38 kB / 0.537 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3743, allocations: 13.12 kB / 0.537 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3743, allocations: 1.125 kB / 0.537 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.3743, allocations: 3.984 kB / 0.537 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005733/0.3749, allocations: 451.2 kB / 0.5374 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.3749, allocations: 5.453 kB / 0.5374 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-05/0.375, allocations: 14.94 kB / 0.5375 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.375, allocations: 1.281 kB / 0.5375 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.375, allocations: 10.5 kB / 0.5375 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.375, allocations: 1.438 kB / 0.5375 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.375, allocations: 1.469 kB / 0.5375 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.3753, allocations: 237.9 kB / 0.5377 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.714e-05/0.3754, allocations: 88.73 kB / 0.5378 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.3754, allocations: 6.281 kB / 0.5378 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.605e-05/0.3755, allocations: 10.48 kB / 0.5378 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.3755, allocations: 4.438 kB / 0.5378 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.3756, allocations: 9.484 kB / 0.5378 GB, free: 7.406 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001802/0.3758, allocations: 173 kB / 0.538 GB, free: 7.293 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3758, allocations: 0 / 0.538 GB, free: 7.293 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002773/0.376, allocations: 33.14 kB / 0.538 GB, free: 7.281 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002398/0.3784, allocations: 1.168 MB / 0.5392 GB, free: 6.391 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002135/0.3787, allocations: 81.12 kB / 0.5392 GB, free: 6.355 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3787, allocations: 0 / 0.5392 GB, free: 6.355 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.721e-05/0.3788, allocations: 48.52 kB / 0.5393 GB, free: 6.332 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.3792, allocations: 43.98 kB / 0.5393 GB, free: 6.309 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.3813, allocations: 1.842 MB / 0.5411 GB, free: 4.766 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.3817, allocations: 0.7243 MB / 0.5418 GB, free: 4.043 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.982e-05/0.3818, allocations: 19.47 kB / 0.5418 GB, free: 4.031 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.422e-05/0.3819, allocations: 45.25 kB / 0.5419 GB, free: 3.996 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3819, allocations: 0 / 0.5419 GB, free: 3.996 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/0.408, allocations: 3.939 MB / 0.5457 GB, free: 1.902 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.153/8.561, allocations: 12.27 kB / 0.5457 GB, free: 1.895 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches