Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001944/0.001944, allocations: 117.2 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.002169/0.002169, allocations: 207.8 kB / 18.74 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.499/1.499, allocations: 227.4 MB / 247 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.2137/0.2137, allocations: 46.12 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 79.81 kB / 481 MB, free: 4.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3216, allocations: 62.44 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.004937/0.3266, allocations: 1.922 MB / 0.5326 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002908/0.3296, allocations: 1.125 MB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.3298, allocations: 1.375 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006486/0.3304, allocations: 255 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006604/0.3311, allocations: 238 kB / 0.5341 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004174/0.3316, allocations: 112.3 kB / 0.5343 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004707/0.3321, allocations: 271.5 kB / 0.5345 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.3322, allocations: 32.62 kB / 0.5345 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002657/0.3325, allocations: 131.2 kB / 0.5347 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000331/0.3329, allocations: 191.1 kB / 0.5349 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.3329, allocations: 13.19 kB / 0.5349 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.3332, allocations: 62.67 kB / 0.5349 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.3333, allocations: 64.5 kB / 0.535 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.3335, allocations: 99.8 kB / 0.5351 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005044/0.334, allocations: 255.2 kB / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.334, allocations: 3.938 kB / 0.5353 GB, free: 10 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.334, allocations: 0 / 0.5353 GB, free: 10 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.3341, allocations: 0 / 0.5353 GB, free: 10 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.001134/0.3352, allocations: 0.5971 MB / 0.5359 GB, free: 9.434 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.3353, allocations: 13.48 kB / 0.5359 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.438e-05/0.3353, allocations: 38.16 kB / 0.536 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.109e-05/0.3354, allocations: 31.16 kB / 0.536 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005952/0.336, allocations: 291.8 kB / 0.5363 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.3361, allocations: 7.469 kB / 0.5363 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.354e-05/0.3361, allocations: 12.27 kB / 0.5363 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003779/0.3365, allocations: 114.4 kB / 0.5364 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.3366, allocations: 0 / 0.5364 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.3366, allocations: 13.27 kB / 0.5364 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.3366, allocations: 2.469 kB / 0.5364 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.3369, allocations: 44.39 kB / 0.5365 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008947/0.3378, allocations: 486.1 kB / 0.5369 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006077/0.3384, allocations: 126.5 kB / 0.537 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.3386, allocations: 41.33 kB / 0.5371 GB, free: 8.375 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.589e-05/0.3386, allocations: 5.156 kB / 0.5371 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000378/0.339, allocations: 129.3 kB / 0.5372 GB, free: 8.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 2.515e-06/0.3391, allocations: 0 / 0.5372 GB, free: 8.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.002169/0.3412, allocations: 0.5066 MB / 0.5377 GB, free: 7.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.582e-05/0.3413, allocations: 83.36 kB / 0.5378 GB, free: 7.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008576/0.3422, allocations: 0.4972 MB / 0.5383 GB, free: 7.609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.339e-05/0.3423, allocations: 31.7 kB / 0.5383 GB, free: 7.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.3425, allocations: 165 kB / 0.5385 GB, free: 7.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.3426, allocations: 74.45 kB / 0.5385 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.3427, allocations: 41.36 kB / 0.5386 GB, free: 7.328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002553/0.343, allocations: 350 kB / 0.5389 GB, free: 6.988 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.3432, allocations: 53.02 kB / 0.5389 GB, free: 6.965 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/0.3435, allocations: 103.5 kB / 0.539 GB, free: 6.887 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004913/0.3441, allocations: 153.6 kB / 0.5392 GB, free: 6.793 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3441, allocations: 0 / 0.5392 GB, free: 6.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007502/0.3448, allocations: 255.7 kB / 0.5394 GB, free: 6.648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3449, allocations: 5.656 kB / 0.5394 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3449, allocations: 1 kB / 0.5394 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.3449, allocations: 2.188 kB / 0.5394 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/0.3452, allocations: 45.92 kB / 0.5395 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.3452, allocations: 3.078 kB / 0.5395 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.3453, allocations: 12.08 kB / 0.5395 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.3454, allocations: 6.844 kB / 0.5395 GB, free: 6.629 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.0002865/0.3457, allocations: 173.2 kB / 0.5397 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-05/0.3458, allocations: 43.36 kB / 0.5397 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.3459, allocations: 49.2 kB / 0.5398 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.346, allocations: 8.312 kB / 0.5398 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.346, allocations: 0 / 0.5398 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.346, allocations: 0 / 0.5398 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/0.3476, allocations: 0.7404 MB / 0.5405 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3476, allocations: 1.5 kB / 0.5405 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.3478, allocations: 31.17 kB / 0.5405 GB, free: 5.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.3478, allocations: 2.938 kB / 0.5405 GB, free: 5.785 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-05/0.3479, allocations: 12.3 kB / 0.5405 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.3479, allocations: 1.469 kB / 0.5405 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.3479, allocations: 6.812 kB / 0.5405 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008511/0.3488, allocations: 420.6 kB / 0.5409 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.3489, allocations: 109.7 kB / 0.5411 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.813e-05/0.349, allocations: 8.125 kB / 0.5411 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.3493, allocations: 8.375 kB / 0.5411 GB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.3494, allocations: 32.25 kB / 0.5411 GB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/0.3495, allocations: 9.438 kB / 0.5411 GB, free: 5.297 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006417/0.3501, allocations: 373 kB / 0.5415 GB, free: 5.098 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.614e-06/0.3501, allocations: 0 / 0.5415 GB, free: 5.098 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006714/0.3508, allocations: 57.08 kB / 0.5415 GB, free: 5.078 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.004218/0.355, allocations: 1.352 MB / 0.5428 GB, free: 4.059 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006384/0.3557, allocations: 166.9 kB / 0.543 GB, free: 3.984 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3557, allocations: 1.531 kB / 0.543 GB, free: 3.984 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003012/0.356, allocations: 78.59 kB / 0.5431 GB, free: 3.953 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000974/0.357, allocations: 61.23 kB / 0.5431 GB, free: 3.926 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006288/0.3633, allocations: 3.017 MB / 0.5461 GB, free: 1.539 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006945/0.3641, allocations: 0.7905 MB / 0.5469 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000214/0.3643, allocations: 41.92 kB / 0.5469 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/0.3645, allocations: 99.39 kB / 0.547 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3646, allocations: 4 kB / 0.547 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03941/0.404, allocations: 6.636 MB / 0.5535 GB, free: 10.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.152/8.557, allocations: 15.38 kB / 0.5535 GB, free: 10.04 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_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_Test74.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches