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.001329/0.001329, allocations: 122.1 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.001268/0.001268, 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.436/1.436, allocations: 227.4 MB / 247 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.2277/0.2277, allocations: 46.14 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 87.81 kB / 481 MB, free: 4.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3305, allocations: 62.44 MB / 0.5307 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003832/0.3343, allocations: 1.926 MB / 0.5326 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.3365, allocations: 1.121 MB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.3366, allocations: 5.562 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005094/0.3372, allocations: 254.4 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006334/0.3378, allocations: 239.2 kB / 0.5341 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003968/0.3383, allocations: 115.1 kB / 0.5343 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004097/0.3387, allocations: 268.3 kB / 0.5345 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.3388, allocations: 28.78 kB / 0.5345 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002408/0.3391, allocations: 142.5 kB / 0.5347 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002847/0.3394, allocations: 183.8 kB / 0.5349 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.3394, allocations: 12.03 kB / 0.5349 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.3396, allocations: 63.39 kB / 0.5349 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.3397, allocations: 68.25 kB / 0.535 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.3398, allocations: 95.55 kB / 0.5351 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004273/0.3403, allocations: 255.1 kB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3403, allocations: 0 / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3403, allocations: 5.219 kB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.3403, allocations: 0 / 0.5353 GB, free: 10.02 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.0009396/0.3412, allocations: 0.5926 MB / 0.5359 GB, free: 9.449 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.3413, allocations: 9.812 kB / 0.5359 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.02e-05/0.3414, allocations: 40.95 kB / 0.536 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.938e-05/0.3414, allocations: 31.66 kB / 0.536 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/0.3419, allocations: 299.9 kB / 0.5363 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.3419, allocations: 10.81 kB / 0.5363 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.342, allocations: 10.16 kB / 0.5363 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.3422, allocations: 106.8 kB / 0.5364 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.3423, allocations: 4.906 kB / 0.5364 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.3423, allocations: 5.156 kB / 0.5364 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.3423, allocations: 2.344 kB / 0.5364 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.3424, allocations: 48.2 kB / 0.5365 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006355/0.3431, allocations: 489.7 kB / 0.5369 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003776/0.3435, allocations: 119.4 kB / 0.537 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.3436, allocations: 44.55 kB / 0.5371 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.3436, allocations: 10.58 kB / 0.5371 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.3439, allocations: 120.6 kB / 0.5372 GB, free: 8.273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.3439, allocations: 0 / 0.5372 GB, free: 8.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001387/0.3453, allocations: 0.5137 MB / 0.5377 GB, free: 7.988 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.3453, allocations: 88.44 kB / 0.5378 GB, free: 7.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005704/0.3459, allocations: 0.4923 MB / 0.5383 GB, free: 7.617 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.346, allocations: 32.89 kB / 0.5383 GB, free: 7.582 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.3461, allocations: 164.9 kB / 0.5385 GB, free: 7.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.612e-05/0.3462, allocations: 73.83 kB / 0.5385 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.342e-05/0.3463, allocations: 41.23 kB / 0.5386 GB, free: 7.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3464, allocations: 350.3 kB / 0.5389 GB, free: 6.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.3466, allocations: 56.91 kB / 0.539 GB, free: 6.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.3467, allocations: 104.2 kB / 0.5391 GB, free: 6.891 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.347, allocations: 156 kB / 0.5392 GB, free: 6.793 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.347, allocations: 1.5 kB / 0.5392 GB, free: 6.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004452/0.3475, allocations: 238.9 kB / 0.5394 GB, free: 6.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.3475, allocations: 10.11 kB / 0.5394 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.3475, allocations: 1.438 kB / 0.5394 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3475, allocations: 1.531 kB / 0.5394 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.3477, allocations: 46.39 kB / 0.5395 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.3477, allocations: 2.656 kB / 0.5395 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.894e-05/0.3478, allocations: 11.03 kB / 0.5395 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.3478, allocations: 11.55 kB / 0.5395 GB, free: 6.637 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.0001785/0.348, allocations: 177 kB / 0.5397 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.272e-05/0.3481, allocations: 39.95 kB / 0.5397 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.583e-05/0.3482, allocations: 45.42 kB / 0.5398 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3482, allocations: 2.281 kB / 0.5398 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.3482, allocations: 0.9062 kB / 0.5398 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.3482, allocations: 4.984 kB / 0.5398 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009729/0.3492, allocations: 0.7435 MB / 0.5405 GB, free: 5.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.3492, allocations: 1.281 kB / 0.5405 GB, free: 5.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.919e-05/0.3493, allocations: 27.3 kB / 0.5405 GB, free: 5.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3493, allocations: 2.781 kB / 0.5405 GB, free: 5.797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.3493, allocations: 8.031 kB / 0.5405 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.3493, allocations: 2.906 kB / 0.5405 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/0.3493, allocations: 13.38 kB / 0.5406 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005215/0.3499, allocations: 416.9 kB / 0.5409 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.379e-05/0.35, allocations: 109.6 kB / 0.5411 GB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.59e-05/0.35, allocations: 12.27 kB / 0.5411 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.3502, allocations: 12.59 kB / 0.5411 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.997e-05/0.3503, allocations: 29.69 kB / 0.5411 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.3503, allocations: 7.594 kB / 0.5411 GB, free: 5.305 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004075/0.3507, allocations: 374.2 kB / 0.5415 GB, free: 5.105 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3507, allocations: 0 / 0.5415 GB, free: 5.105 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003766/0.3511, allocations: 53.89 kB / 0.5415 GB, free: 5.09 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.002816/0.3539, allocations: 1.355 MB / 0.5428 GB, free: 4.066 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005133/0.3545, allocations: 163.6 kB / 0.543 GB, free: 3.996 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.3545, allocations: 0 / 0.543 GB, free: 3.996 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.3547, allocations: 79.03 kB / 0.5431 GB, free: 3.965 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007049/0.3554, allocations: 67.72 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.004488/0.3599, allocations: 3.016 MB / 0.5461 GB, free: 1.566 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/0.3605, allocations: 0.7831 MB / 0.5468 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001591/0.3606, allocations: 45.92 kB / 0.5469 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.3608, allocations: 103.4 kB / 0.547 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3608, allocations: 0 / 0.547 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.3898, allocations: 6.633 MB / 0.5535 GB, free: 10.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.035/8.424, allocations: 8.219 kB / 0.5535 GB, free: 10.07 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