Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001479/0.001478, allocations: 118.2 kB / 17.79 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.001399/0.001399, allocations: 201.2 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.506/1.506, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2353/0.2353, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 75.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3549, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.004198/0.3591, allocations: 1.69 MB / 0.5322 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002449/0.3616, allocations: 1.006 MB / 0.5332 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.3618, allocations: 0 / 0.5332 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004638/0.3623, allocations: 64.2 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003923/0.3627, allocations: 109.8 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.3629, allocations: 74.19 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.3631, allocations: 103.2 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.204e-05/0.3632, allocations: 4.359 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.3633, allocations: 56.39 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.3634, allocations: 50.95 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.3635, allocations: 4.125 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-05/0.3636, allocations: 32.61 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.622e-05/0.3636, allocations: 18.8 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.669e-05/0.3637, allocations: 30.62 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.3639, allocations: 113.7 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3639, allocations: 0 / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.364, allocations: 0 / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.364, allocations: 0 / 0.5339 GB, free: 10.87 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006471/0.3646, allocations: 415.5 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.3647, allocations: 9.625 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.619e-05/0.3647, allocations: 36.11 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.691e-05/0.3648, allocations: 16.97 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.3651, allocations: 212 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.3652, allocations: 1.75 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.3652, allocations: 5.312 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.3653, allocations: 47.3 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.3654, allocations: 5.375 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.3654, allocations: 4 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3654, allocations: 5.312 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.512e-05/0.3655, allocations: 6.875 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002009/0.3657, allocations: 191.4 kB / 0.5348 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.3658, allocations: 51.12 kB / 0.5348 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.482e-05/0.3659, allocations: 25.09 kB / 0.5348 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.3659, allocations: 1.375 kB / 0.5348 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.3661, allocations: 67.7 kB / 0.5349 GB, free: 9.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.3661, allocations: 1.375 kB / 0.5349 GB, free: 9.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002899/0.3664, allocations: 94.73 kB / 0.535 GB, free: 9.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.3665, allocations: 52.78 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.3667, allocations: 196.3 kB / 0.5352 GB, free: 9.484 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.3667, allocations: 25.7 kB / 0.5353 GB, free: 9.453 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.3668, allocations: 106.1 kB / 0.5354 GB, free: 9.352 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.3668, allocations: 18.66 kB / 0.5354 GB, free: 9.336 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.3668, allocations: 21.92 kB / 0.5354 GB, free: 9.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.367, allocations: 325.8 kB / 0.5357 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-05/0.367, allocations: 12.38 kB / 0.5357 GB, free: 8.984 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.725e-05/0.3671, allocations: 30.95 kB / 0.5358 GB, free: 8.957 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.3672, allocations: 51.39 kB / 0.5358 GB, free: 8.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3672, allocations: 5.25 kB / 0.5358 GB, free: 8.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001621/0.3674, allocations: 82.44 kB / 0.5359 GB, free: 8.855 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3674, allocations: 9.688 kB / 0.5359 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3674, allocations: 1.25 kB / 0.5359 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3674, allocations: 3.938 kB / 0.5359 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.854e-05/0.3675, allocations: 9.875 kB / 0.5359 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3675, allocations: 8.016 kB / 0.5359 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.375e-05/0.3676, allocations: 2.656 kB / 0.5359 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.3676, allocations: 2.594 kB / 0.5359 GB, free: 8.84 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001105/0.3677, allocations: 126.2 kB / 0.536 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.3677, allocations: 13.59 kB / 0.5361 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.648e-05/0.3678, allocations: 13.59 kB / 0.5361 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3678, allocations: 3.938 kB / 0.5361 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.3678, allocations: 1.094 kB / 0.5361 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3678, allocations: 0 / 0.5361 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.368, allocations: 201.6 kB / 0.5363 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.368, allocations: 0 / 0.5363 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.171e-05/0.368, allocations: 3.344 kB / 0.5363 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.368, allocations: 1.094 kB / 0.5363 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.368, allocations: 1.125 kB / 0.5363 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3681, allocations: 0 / 0.5363 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3681, allocations: 0 / 0.5363 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.3683, allocations: 110.2 kB / 0.5364 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.064e-05/0.3683, allocations: 87.31 kB / 0.5365 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.3684, allocations: 6.203 kB / 0.5365 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.841e-05/0.3684, allocations: 5.219 kB / 0.5365 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.3685, allocations: 2.312 kB / 0.5365 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.3685, allocations: 2.312 kB / 0.5365 GB, free: 8.258 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001616/0.3687, allocations: 152.5 kB / 0.5366 GB, free: 8.148 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3687, allocations: 0 / 0.5366 GB, free: 8.148 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.3689, allocations: 20.56 kB / 0.5366 GB, free: 8.141 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001473/0.3704, allocations: 0.9361 MB / 0.5376 GB, free: 7.398 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.3706, allocations: 46.94 kB / 0.5376 GB, free: 7.375 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3706, allocations: 0 / 0.5376 GB, free: 7.375 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.451e-05/0.3707, allocations: 20.78 kB / 0.5376 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.371, allocations: 39.05 kB / 0.5377 GB, free: 7.344 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.3727, allocations: 1.496 MB / 0.5391 GB, free: 6.023 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.373, allocations: 0.7001 MB / 0.5398 GB, free: 5.316 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.797e-05/0.373, allocations: 16.22 kB / 0.5398 GB, free: 5.309 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.381e-05/0.3731, allocations: 34.7 kB / 0.5399 GB, free: 5.281 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3731, allocations: 4 kB / 0.5399 GB, free: 5.277 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.3939, allocations: 3.142 MB / 0.5429 GB, free: 3.562 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.506/7.9, allocations: 9.141 kB / 0.5429 GB, free: 3.555 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches