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.001367/0.001367, allocations: 113.6 kB / 17.78 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.001591/0.001591, allocations: 203.9 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.388/1.388, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2109/0.2109, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001365, allocations: 75.88 kB / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3306, allocations: 62.44 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.00332/0.334, allocations: 1.918 MB / 0.5325 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.3357, allocations: 1.124 MB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.888e-05/0.3358, allocations: 5.375 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004575/0.3363, allocations: 255 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004535/0.3368, allocations: 235.2 kB / 0.5341 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.3371, allocations: 111.1 kB / 0.5342 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003251/0.3374, allocations: 273.6 kB / 0.5344 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.3375, allocations: 32.34 kB / 0.5345 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.3377, allocations: 140.1 kB / 0.5346 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.338, allocations: 187.4 kB / 0.5348 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.338, allocations: 8.938 kB / 0.5348 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.3382, allocations: 62.5 kB / 0.5348 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.597e-05/0.3383, allocations: 64.64 kB / 0.5349 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.3384, allocations: 100.8 kB / 0.535 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000312/0.3387, allocations: 254.1 kB / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3387, allocations: 1.156 kB / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3387, allocations: 0 / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3387, allocations: 3.938 kB / 0.5352 GB, free: 10.04 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.0007896/0.3395, allocations: 0.6043 MB / 0.5358 GB, free: 9.465 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.3396, allocations: 10.25 kB / 0.5358 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.174e-05/0.3396, allocations: 37.25 kB / 0.5359 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.3397, allocations: 31.41 kB / 0.5359 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.34, allocations: 295.1 kB / 0.5362 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.3401, allocations: 7.203 kB / 0.5362 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.3401, allocations: 13.12 kB / 0.5362 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.3403, allocations: 113.3 kB / 0.5363 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.3404, allocations: 5.031 kB / 0.5363 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.3404, allocations: 0.9062 kB / 0.5363 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3404, allocations: 2.344 kB / 0.5363 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.3405, allocations: 49.06 kB / 0.5364 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005616/0.3411, allocations: 485.3 kB / 0.5368 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003612/0.3415, allocations: 130.6 kB / 0.537 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.705e-05/0.3416, allocations: 40.67 kB / 0.537 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.3416, allocations: 2.5 kB / 0.537 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002323/0.3419, allocations: 124.9 kB / 0.5371 GB, free: 8.297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 2.826e-06/0.3419, allocations: 0 / 0.5371 GB, free: 8.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001276/0.3432, allocations: 0.5106 MB / 0.5376 GB, free: 8.016 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.3432, allocations: 79.52 kB / 0.5377 GB, free: 7.922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005122/0.3437, allocations: 0.4928 MB / 0.5382 GB, free: 7.652 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.3438, allocations: 35.73 kB / 0.5382 GB, free: 7.613 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.3439, allocations: 169.3 kB / 0.5384 GB, free: 7.457 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.016e-05/0.344, allocations: 73.78 kB / 0.5384 GB, free: 7.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-05/0.344, allocations: 46.64 kB / 0.5385 GB, free: 7.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3442, allocations: 345.4 kB / 0.5388 GB, free: 7.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.3443, allocations: 57.53 kB / 0.5389 GB, free: 6.996 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.3445, allocations: 99.34 kB / 0.539 GB, free: 6.922 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.3448, allocations: 153.2 kB / 0.5391 GB, free: 6.828 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.3448, allocations: 0 / 0.5391 GB, free: 6.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000418/0.3452, allocations: 247.3 kB / 0.5394 GB, free: 6.691 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.3452, allocations: 10.31 kB / 0.5394 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.3452, allocations: 1.484 kB / 0.5394 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3453, allocations: 2.25 kB / 0.5394 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.3454, allocations: 45.67 kB / 0.5394 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.3454, allocations: 10.16 kB / 0.5394 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.621e-05/0.3455, allocations: 4.406 kB / 0.5394 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.3456, allocations: 14.48 kB / 0.5394 GB, free: 6.66 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.0001669/0.3457, allocations: 169.3 kB / 0.5396 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.291e-05/0.3458, allocations: 47.98 kB / 0.5396 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.146e-05/0.3459, allocations: 45.19 kB / 0.5397 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.3459, allocations: 3.5 kB / 0.5397 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.3459, allocations: 3.938 kB / 0.5397 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3459, allocations: 5.156 kB / 0.5397 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009739/0.3469, allocations: 0.7348 MB / 0.5404 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3469, allocations: 1.625 kB / 0.5404 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.264e-05/0.347, allocations: 31.86 kB / 0.5404 GB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.347, allocations: 2.469 kB / 0.5405 GB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.347, allocations: 8.703 kB / 0.5405 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.3471, allocations: 2.188 kB / 0.5405 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.3471, allocations: 6.281 kB / 0.5405 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006318/0.3477, allocations: 428.3 kB / 0.5409 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.13e-05/0.3478, allocations: 105.5 kB / 0.541 GB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.3478, allocations: 12.38 kB / 0.541 GB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.348, allocations: 8.422 kB / 0.541 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/0.3481, allocations: 25.3 kB / 0.541 GB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.3481, allocations: 8.562 kB / 0.541 GB, free: 5.336 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003688/0.3485, allocations: 376.7 kB / 0.5414 GB, free: 5.133 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3485, allocations: 1.062 kB / 0.5414 GB, free: 5.133 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003793/0.3489, allocations: 52.86 kB / 0.5414 GB, free: 5.117 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.001952/0.3508, allocations: 1.361 MB / 0.5428 GB, free: 4.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000393/0.3512, allocations: 162.2 kB / 0.5429 GB, free: 4.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3512, allocations: 0.9688 kB / 0.5429 GB, free: 4.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.3514, allocations: 83.28 kB / 0.543 GB, free: 3.984 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000566/0.352, allocations: 65.45 kB / 0.5431 GB, free: 3.957 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003514/0.3555, allocations: 3.012 MB / 0.546 GB, free: 1.602 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.3559, allocations: 0.7831 MB / 0.5468 GB, free: 0.793 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.356, allocations: 49.86 kB / 0.5468 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.3562, allocations: 107.4 kB / 0.5469 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3562, allocations: 0 / 0.5469 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/0.3777, allocations: 6.638 MB / 0.5534 GB, free: 10.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.014/8.392, allocations: 8.219 kB / 0.5534 GB, free: 10.1 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