Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001529/0.001529, allocations: 118.1 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001829/0.001829, allocations: 202 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.352/1.352, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.213/0.213, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 76.09 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3231, allocations: 62.44 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003145/0.3263, allocations: 1.738 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0024/0.3287, allocations: 1.632 MB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.022e-05/0.3288, allocations: 0 / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002933/0.3291, allocations: 36.88 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003297/0.3295, allocations: 95.83 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.3297, allocations: 75.97 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.3299, allocations: 110.3 kB / 0.5342 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.621e-05/0.33, allocations: 10.88 kB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.638e-05/0.3301, allocations: 53.66 kB / 0.5343 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.3303, allocations: 46.89 kB / 0.5343 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.3303, allocations: 4.125 kB / 0.5343 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.3305, allocations: 111 kB / 0.5344 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.797e-05/0.3305, allocations: 17.42 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.654e-05/0.3306, allocations: 36.05 kB / 0.5345 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.3309, allocations: 162.4 kB / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3309, allocations: 0 / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3309, allocations: 0 / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3309, allocations: 1.375 kB / 0.5346 GB, free: 10.3 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.0005464/0.3314, allocations: 446 kB / 0.535 GB, free: 9.852 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.3315, allocations: 9.625 kB / 0.535 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.475e-05/0.3315, allocations: 30.75 kB / 0.5351 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.3316, allocations: 14.34 kB / 0.5351 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.3319, allocations: 215.6 kB / 0.5353 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.3319, allocations: 1.375 kB / 0.5353 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.3319, allocations: 6.75 kB / 0.5353 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.3321, allocations: 73.12 kB / 0.5354 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.3321, allocations: 5.312 kB / 0.5354 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3322, allocations: 0 / 0.5354 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3322, allocations: 1.375 kB / 0.5354 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.43e-05/0.3322, allocations: 17.61 kB / 0.5354 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.3326, allocations: 281.5 kB / 0.5357 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.3328, allocations: 65.86 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.574e-05/0.3329, allocations: 22.28 kB / 0.5358 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.3329, allocations: 1.344 kB / 0.5358 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.3331, allocations: 64.39 kB / 0.5358 GB, free: 9.051 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.126e-06/0.3331, allocations: 1.438 kB / 0.5358 GB, free: 9.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000564/0.3337, allocations: 184.2 kB / 0.536 GB, free: 8.938 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.3338, allocations: 86.89 kB / 0.5361 GB, free: 8.836 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.3339, allocations: 162.9 kB / 0.5362 GB, free: 8.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.334, allocations: 26.83 kB / 0.5363 GB, free: 8.672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.795e-05/0.334, allocations: 95.83 kB / 0.5363 GB, free: 8.578 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.3341, allocations: 31.61 kB / 0.5364 GB, free: 8.551 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.3341, allocations: 21.38 kB / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3343, allocations: 325 kB / 0.5367 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.111e-05/0.3343, allocations: 23.33 kB / 0.5367 GB, free: 8.195 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.463e-05/0.3344, allocations: 45.38 kB / 0.5368 GB, free: 8.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.3345, allocations: 58.92 kB / 0.5368 GB, free: 8.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.3345, allocations: 1.219 kB / 0.5368 GB, free: 8.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001968/0.3347, allocations: 102.6 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3348, allocations: 5.625 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3348, allocations: 4.062 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3348, allocations: 1.188 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.3349, allocations: 25.55 kB / 0.537 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3349, allocations: 1.156 kB / 0.537 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.386e-05/0.335, allocations: 2.375 kB / 0.537 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.335, allocations: 2.25 kB / 0.537 GB, free: 8.035 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.0001104/0.3351, allocations: 128.8 kB / 0.5371 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.3351, allocations: 8.953 kB / 0.5371 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.498e-05/0.3352, allocations: 20.03 kB / 0.5371 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.3352, allocations: 5.094 kB / 0.5371 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3352, allocations: 1.219 kB / 0.5371 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3352, allocations: 0 / 0.5371 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005133/0.3357, allocations: 392.6 kB / 0.5375 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3358, allocations: 3.938 kB / 0.5375 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.685e-05/0.3358, allocations: 11.8 kB / 0.5375 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3358, allocations: 1.188 kB / 0.5375 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.3358, allocations: 1.438 kB / 0.5375 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3358, allocations: 5.281 kB / 0.5375 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3359, allocations: 1.375 kB / 0.5375 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.3361, allocations: 203.5 kB / 0.5377 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.558e-05/0.3362, allocations: 91.73 kB / 0.5378 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.3362, allocations: 5.406 kB / 0.5378 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.796e-05/0.3363, allocations: 7 kB / 0.5378 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.3363, allocations: 15.34 kB / 0.5378 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.3363, allocations: 3.438 kB / 0.5378 GB, free: 7.188 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.3365, allocations: 126.9 kB / 0.538 GB, free: 7.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3365, allocations: 0 / 0.538 GB, free: 7.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003018/0.3368, allocations: 46.92 kB / 0.538 GB, free: 7.074 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.0018/0.3386, allocations: 1.192 MB / 0.5392 GB, free: 6.172 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002246/0.3388, allocations: 54 kB / 0.5392 GB, free: 6.152 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3388, allocations: 0 / 0.5392 GB, free: 6.152 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.549e-05/0.3389, allocations: 34.72 kB / 0.5392 GB, free: 6.137 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.3393, allocations: 44.91 kB / 0.5393 GB, free: 6.105 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.3414, allocations: 1.583 MB / 0.5408 GB, free: 4.688 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.3418, allocations: 0.7027 MB / 0.5415 GB, free: 3.977 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.377e-05/0.3419, allocations: 15.59 kB / 0.5415 GB, free: 3.969 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.955e-05/0.342, allocations: 34.39 kB / 0.5416 GB, free: 3.945 MB / 398.1 MB Notification: Performance of SimCode: time 2.395e-06/0.342, allocations: 0 / 0.5416 GB, free: 3.945 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.3642, allocations: 4.008 MB / 0.5455 GB, free: 1.723 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.278, allocations: 15.19 kB / 0.5455 GB, free: 1.715 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches