Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001413/0.001413, allocations: 118.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001373/0.001373, allocations: 202 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.451/1.451, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.215/0.215, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 79.81 kB / 480.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3204, allocations: 62.43 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.004205/0.3247, allocations: 1.923 MB / 0.5325 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002411/0.3271, allocations: 1.124 MB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002503/0.3274, allocations: 5.25 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007051/0.3281, allocations: 252.1 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006264/0.3288, allocations: 238.8 kB / 0.5341 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.3292, allocations: 119.2 kB / 0.5342 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004637/0.3297, allocations: 268.3 kB / 0.5344 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.3298, allocations: 28.81 kB / 0.5345 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003044/0.3302, allocations: 143.9 kB / 0.5346 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003646/0.3305, allocations: 179.9 kB / 0.5348 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.79e-05/0.3306, allocations: 8.25 kB / 0.5348 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002524/0.3309, allocations: 63.48 kB / 0.5348 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.331, allocations: 69.09 kB / 0.5349 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.3312, allocations: 103.7 kB / 0.535 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006034/0.3318, allocations: 250.7 kB / 0.5352 GB, free: 10.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3318, allocations: 3.938 kB / 0.5352 GB, free: 10.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.3318, allocations: 0 / 0.5352 GB, free: 10.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.3318, allocations: 1.125 kB / 0.5352 GB, free: 10.03 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001103/0.3329, allocations: 0.5967 MB / 0.5358 GB, free: 9.457 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.333, allocations: 9.688 kB / 0.5358 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.556e-05/0.333, allocations: 40.95 kB / 0.5359 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.718e-05/0.3331, allocations: 31.5 kB / 0.5359 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005282/0.3337, allocations: 299.3 kB / 0.5362 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.3337, allocations: 7.875 kB / 0.5362 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.3338, allocations: 9.5 kB / 0.5362 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.334, allocations: 113.5 kB / 0.5363 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.3341, allocations: 0.9688 kB / 0.5363 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.3341, allocations: 4.5 kB / 0.5363 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.3341, allocations: 6.203 kB / 0.5363 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.3343, allocations: 52.55 kB / 0.5364 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000723/0.335, allocations: 485.8 kB / 0.5368 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004109/0.3354, allocations: 123.5 kB / 0.537 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.3356, allocations: 43.8 kB / 0.537 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.3356, allocations: 7.172 kB / 0.537 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002465/0.3359, allocations: 131 kB / 0.5371 GB, free: 8.273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 3.587e-06/0.3359, allocations: 5.344 kB / 0.5371 GB, free: 8.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001404/0.3373, allocations: 0.5014 MB / 0.5376 GB, free: 7.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.3373, allocations: 88.34 kB / 0.5377 GB, free: 7.895 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006/0.338, allocations: 0.4923 MB / 0.5382 GB, free: 7.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.338, allocations: 32.11 kB / 0.5382 GB, free: 7.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.3381, allocations: 165 kB / 0.5384 GB, free: 7.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.812e-05/0.3382, allocations: 81.75 kB / 0.5385 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.574e-05/0.3383, allocations: 42.23 kB / 0.5385 GB, free: 7.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3385, allocations: 345.5 kB / 0.5388 GB, free: 7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.3386, allocations: 57.59 kB / 0.5389 GB, free: 6.973 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.3388, allocations: 95.58 kB / 0.539 GB, free: 6.902 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.339, allocations: 161 kB / 0.5391 GB, free: 6.801 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3391, allocations: 0 / 0.5391 GB, free: 6.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004103/0.3395, allocations: 244.6 kB / 0.5394 GB, free: 6.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3395, allocations: 8.766 kB / 0.5394 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3395, allocations: 1.531 kB / 0.5394 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3395, allocations: 1.562 kB / 0.5394 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.3397, allocations: 46.77 kB / 0.5394 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.3397, allocations: 2.594 kB / 0.5394 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.163e-05/0.3398, allocations: 11 kB / 0.5394 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.3398, allocations: 11.8 kB / 0.5394 GB, free: 6.641 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001625/0.34, allocations: 173.5 kB / 0.5396 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/0.34, allocations: 39.02 kB / 0.5396 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.599e-05/0.3401, allocations: 41.11 kB / 0.5397 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3401, allocations: 8.062 kB / 0.5397 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3402, allocations: 0 / 0.5397 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.3402, allocations: 7.984 kB / 0.5397 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009249/0.3411, allocations: 0.7316 MB / 0.5404 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3411, allocations: 2.281 kB / 0.5404 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.063e-05/0.3412, allocations: 31.73 kB / 0.5404 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.3412, allocations: 6.406 kB / 0.5404 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.3412, allocations: 11.75 kB / 0.5405 GB, free: 5.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3412, allocations: 2.969 kB / 0.5405 GB, free: 5.797 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.3413, allocations: 5.031 kB / 0.5405 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004721/0.3417, allocations: 429 kB / 0.5409 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.115e-05/0.3418, allocations: 105.5 kB / 0.541 GB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/0.3419, allocations: 11.98 kB / 0.541 GB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.342, allocations: 8.375 kB / 0.541 GB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.3421, allocations: 20.69 kB / 0.541 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.3421, allocations: 16.88 kB / 0.541 GB, free: 5.316 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000387/0.3425, allocations: 376.8 kB / 0.5414 GB, free: 5.113 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3425, allocations: 1.5 kB / 0.5414 GB, free: 5.113 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003734/0.3429, allocations: 48.7 kB / 0.5414 GB, free: 5.102 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001778/0.3447, allocations: 1.352 MB / 0.5428 GB, free: 4.078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003537/0.345, allocations: 159.7 kB / 0.5429 GB, free: 4.012 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3451, allocations: 0 / 0.5429 GB, free: 4.012 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.3452, allocations: 86.91 kB / 0.543 GB, free: 3.973 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005488/0.3458, allocations: 78.09 kB / 0.5431 GB, free: 3.934 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003881/0.3497, allocations: 3.019 MB / 0.546 GB, free: 1.586 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.3501, allocations: 0.787 MB / 0.5468 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.3502, allocations: 33.92 kB / 0.5468 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.3504, allocations: 103.4 kB / 0.5469 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3504, allocations: 0 / 0.5469 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.373, allocations: 6.637 MB / 0.5534 GB, free: 10.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.592/7.965, allocations: 7.031 kB / 0.5534 GB, free: 10.1 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches