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.001669/0.001669, allocations: 118.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001901/0.001901, allocations: 197.2 kB / 18.73 MB, free: 4.363 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.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2148/0.2148, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 79.86 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3636, allocations: 62.42 MB / 0.5306 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003084/0.3667, allocations: 1.737 MB / 0.5323 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.3683, allocations: 1.016 MB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.832e-05/0.3684, allocations: 5.125 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.3687, allocations: 41.7 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002999/0.3691, allocations: 93.48 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.3692, allocations: 75.83 kB / 0.5335 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.3694, allocations: 104.8 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.626e-05/0.3695, allocations: 14.31 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.07e-05/0.3696, allocations: 41.3 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.37e-05/0.3697, allocations: 33.8 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.3697, allocations: 4 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.964e-05/0.3698, allocations: 46.91 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.3e-05/0.3699, allocations: 22.83 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.665e-05/0.37, allocations: 31.42 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.3702, allocations: 114.2 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3702, allocations: 0 / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3702, allocations: 0 / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3702, allocations: 0 / 0.5339 GB, free: 10.89 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.0005336/0.3707, allocations: 411.3 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3708, allocations: 8.938 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.444e-05/0.3708, allocations: 36.05 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.3708, allocations: 9.031 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.3711, allocations: 218.7 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.3711, allocations: 5.734 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.3712, allocations: 6.688 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.3713, allocations: 54.05 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3713, allocations: 3.938 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.3714, allocations: 5.375 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3714, allocations: 0 / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.144e-05/0.3714, allocations: 18.98 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.3718, allocations: 289.4 kB / 0.5349 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.372, allocations: 57.92 kB / 0.535 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.213e-05/0.372, allocations: 21.11 kB / 0.535 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.372, allocations: 1.375 kB / 0.535 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001396/0.3722, allocations: 65.14 kB / 0.535 GB, free: 9.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.3722, allocations: 3.938 kB / 0.535 GB, free: 9.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005223/0.3727, allocations: 176.8 kB / 0.5352 GB, free: 9.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.3728, allocations: 52.78 kB / 0.5353 GB, free: 9.508 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.3729, allocations: 180.7 kB / 0.5354 GB, free: 9.359 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.373, allocations: 31.08 kB / 0.5355 GB, free: 9.324 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.373, allocations: 100.2 kB / 0.5356 GB, free: 9.227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.3731, allocations: 19.83 kB / 0.5356 GB, free: 9.211 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.016e-05/0.3731, allocations: 24.59 kB / 0.5356 GB, free: 9.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3732, allocations: 321.6 kB / 0.5359 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.519e-05/0.3733, allocations: 22.98 kB / 0.5359 GB, free: 8.855 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.419e-05/0.3734, allocations: 39.45 kB / 0.536 GB, free: 8.824 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.3735, allocations: 55.78 kB / 0.536 GB, free: 8.789 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3735, allocations: 3.938 kB / 0.536 GB, free: 8.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001761/0.3737, allocations: 98.83 kB / 0.5361 GB, free: 8.723 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3737, allocations: 5.5 kB / 0.5361 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3737, allocations: 0 / 0.5361 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3737, allocations: 1.375 kB / 0.5361 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.899e-05/0.3738, allocations: 21.08 kB / 0.5361 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3738, allocations: 5.094 kB / 0.5361 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.512e-05/0.3739, allocations: 6.125 kB / 0.5362 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.3739, allocations: 3.125 kB / 0.5362 GB, free: 8.707 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 9.309e-05/0.374, allocations: 124.4 kB / 0.5363 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.374, allocations: 17.36 kB / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.252e-05/0.3741, allocations: 12.34 kB / 0.5363 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3741, allocations: 1.344 kB / 0.5363 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3741, allocations: 1.25 kB / 0.5363 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3741, allocations: 3.938 kB / 0.5363 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/0.3746, allocations: 396.4 kB / 0.5367 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.3746, allocations: 5.266 kB / 0.5367 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.317e-05/0.3746, allocations: 11.28 kB / 0.5367 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.3746, allocations: 4.75 kB / 0.5367 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.3746, allocations: 1.938 kB / 0.5367 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3746, allocations: 1.125 kB / 0.5367 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.3746, allocations: 0 / 0.5367 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.3749, allocations: 207.9 kB / 0.5369 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.3749, allocations: 87.81 kB / 0.537 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.375, allocations: 6.531 kB / 0.537 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.804e-05/0.375, allocations: 5.125 kB / 0.537 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.3751, allocations: 8.672 kB / 0.537 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.3751, allocations: 3.312 kB / 0.537 GB, free: 7.867 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.3752, allocations: 133.4 kB / 0.5371 GB, free: 7.766 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3752, allocations: 0 / 0.5371 GB, free: 7.766 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.3755, allocations: 28.03 kB / 0.5372 GB, free: 7.754 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.00144/0.3769, allocations: 1.089 MB / 0.5382 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001873/0.3771, allocations: 57.14 kB / 0.5383 GB, free: 6.879 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3772, allocations: 0.8438 kB / 0.5383 GB, free: 6.879 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.606e-05/0.3772, allocations: 30 kB / 0.5383 GB, free: 6.867 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.3776, allocations: 39.31 kB / 0.5384 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.3792, allocations: 1.595 MB / 0.5399 GB, free: 5.426 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.3795, allocations: 0.6992 MB / 0.5406 GB, free: 4.719 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.041e-05/0.3795, allocations: 18.41 kB / 0.5406 GB, free: 4.707 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.137e-05/0.3796, allocations: 34.89 kB / 0.5406 GB, free: 4.68 MB / 398.1 MB Notification: Performance of SimCode: time 1.553e-06/0.3796, allocations: 0 / 0.5406 GB, free: 4.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/0.4012, allocations: 3.362 MB / 0.5439 GB, free: 2.855 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.589/7.99, allocations: 19.89 kB / 0.5439 GB, free: 2.84 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