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.001211/0.001211, allocations: 117.6 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.001235/0.001235, allocations: 204.7 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.449/1.449, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2219/0.2219, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 75.89 kB / 480.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3273, allocations: 62.43 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003069/0.3304, allocations: 1.931 MB / 0.5325 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.3322, allocations: 1.121 MB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.875e-05/0.3323, allocations: 1.344 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004569/0.3327, allocations: 255 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004456/0.3332, allocations: 239.3 kB / 0.5341 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.3335, allocations: 123.4 kB / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003309/0.3338, allocations: 268.6 kB / 0.5344 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.3339, allocations: 21.06 kB / 0.5345 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.3342, allocations: 139.1 kB / 0.5346 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.3344, allocations: 187.8 kB / 0.5348 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.3344, allocations: 9.625 kB / 0.5348 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.3345, allocations: 66.59 kB / 0.5348 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.279e-05/0.3346, allocations: 64.45 kB / 0.5349 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.3348, allocations: 103.8 kB / 0.535 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003435/0.3351, allocations: 254.4 kB / 0.5352 GB, free: 10.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3351, allocations: 1.125 kB / 0.5352 GB, free: 10.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3351, allocations: 0 / 0.5352 GB, free: 10.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.3352, allocations: 4 kB / 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.0008084/0.336, allocations: 0.5933 MB / 0.5358 GB, free: 9.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.336, allocations: 10.25 kB / 0.5358 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.658e-05/0.3361, allocations: 41.14 kB / 0.5359 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.504e-05/0.3361, allocations: 30.88 kB / 0.5359 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004065/0.3366, allocations: 295.7 kB / 0.5362 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.3366, allocations: 11.11 kB / 0.5362 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.3366, allocations: 17.66 kB / 0.5362 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.3369, allocations: 110.7 kB / 0.5363 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.337, allocations: 0.9688 kB / 0.5363 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.337, allocations: 5.344 kB / 0.5363 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.337, allocations: 2.125 kB / 0.5363 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.3372, allocations: 45.11 kB / 0.5364 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007614/0.3379, allocations: 493.7 kB / 0.5368 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000444/0.3384, allocations: 117.8 kB / 0.537 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.3385, allocations: 49 kB / 0.537 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.3386, allocations: 6.281 kB / 0.537 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.3388, allocations: 120.8 kB / 0.5371 GB, free: 8.273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.823e-06/0.3388, allocations: 0 / 0.5371 GB, free: 8.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001456/0.3403, allocations: 0.5142 MB / 0.5376 GB, free: 7.988 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.3404, allocations: 83.95 kB / 0.5377 GB, free: 7.891 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005316/0.3409, allocations: 0.4935 MB / 0.5382 GB, free: 7.621 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.3409, allocations: 31.83 kB / 0.5382 GB, free: 7.586 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.341, allocations: 165.7 kB / 0.5384 GB, free: 7.434 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.448e-05/0.3411, allocations: 77.66 kB / 0.5385 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-05/0.3412, allocations: 41.23 kB / 0.5385 GB, free: 7.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.3413, allocations: 349.8 kB / 0.5388 GB, free: 6.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.3415, allocations: 57.27 kB / 0.5389 GB, free: 6.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.3417, allocations: 100.1 kB / 0.539 GB, free: 6.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.3419, allocations: 156.6 kB / 0.5391 GB, free: 6.797 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.342, allocations: 0 / 0.5391 GB, free: 6.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004425/0.3424, allocations: 248.1 kB / 0.5394 GB, free: 6.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.3424, allocations: 7.938 kB / 0.5394 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3424, allocations: 1.375 kB / 0.5394 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3425, allocations: 1.594 kB / 0.5394 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.3426, allocations: 42.77 kB / 0.5394 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3426, allocations: 2 kB / 0.5394 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.951e-05/0.3427, allocations: 16.3 kB / 0.5394 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.3428, allocations: 10.28 kB / 0.5394 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.0001691/0.3429, allocations: 174.6 kB / 0.5396 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.343, allocations: 38.39 kB / 0.5396 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.366e-05/0.3431, allocations: 50.05 kB / 0.5397 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3431, allocations: 2.125 kB / 0.5397 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.3431, allocations: 5.109 kB / 0.5397 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3431, allocations: 1 kB / 0.5397 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009056/0.344, allocations: 0.7312 MB / 0.5404 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3441, allocations: 3.031 kB / 0.5404 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.845e-05/0.3441, allocations: 34.2 kB / 0.5405 GB, free: 5.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3442, allocations: 2.156 kB / 0.5405 GB, free: 5.801 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.3442, allocations: 4.469 kB / 0.5405 GB, free: 5.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3442, allocations: 3.281 kB / 0.5405 GB, free: 5.801 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.3442, allocations: 9.047 kB / 0.5405 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004727/0.3447, allocations: 424.7 kB / 0.5409 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.408e-05/0.3448, allocations: 114.8 kB / 0.541 GB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/0.3448, allocations: 8.125 kB / 0.541 GB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.345, allocations: 11.41 kB / 0.541 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.345, allocations: 25.84 kB / 0.541 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.3451, allocations: 7.875 kB / 0.541 GB, free: 5.312 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003638/0.3454, allocations: 373.8 kB / 0.5414 GB, free: 5.113 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3454, allocations: 0 / 0.5414 GB, free: 5.113 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003707/0.3458, allocations: 52.8 kB / 0.5414 GB, free: 5.098 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.001838/0.3477, allocations: 1.364 MB / 0.5428 GB, free: 4.062 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003637/0.348, allocations: 163.1 kB / 0.5429 GB, free: 3.992 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3481, allocations: 0 / 0.5429 GB, free: 3.992 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.3482, allocations: 79.5 kB / 0.543 GB, free: 3.961 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005778/0.3488, allocations: 69.97 kB / 0.5431 GB, free: 3.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/0.3522, allocations: 3.01 MB / 0.546 GB, free: 1.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.3526, allocations: 0.7905 MB / 0.5468 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000118/0.3527, allocations: 45.92 kB / 0.5468 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.3528, allocations: 103.4 kB / 0.5469 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3528, allocations: 4 kB / 0.5469 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.3767, allocations: 6.632 MB / 0.5534 GB, free: 10.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.678/8.054, allocations: 8.281 kB / 0.5534 GB, free: 10.09 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