Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001321/0.001326, allocations: 118.7 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001418/0.001418, allocations: 198 kB / 18.73 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.512/1.512, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2326/0.2326, allocations: 46.13 MB / 344.4 MB, free: 11.46 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002388, allocations: 75.88 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3194, allocations: 62.46 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.002903/0.3223, allocations: 1.598 MB / 0.5322 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.324, allocations: 1.16 MB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.662e-05/0.3241, allocations: 1.031 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.3243, allocations: 28.52 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002691/0.3246, allocations: 86.05 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.3249, allocations: 109.8 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.325, allocations: 62.97 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.467e-05/0.3252, allocations: 19.72 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.545e-05/0.3252, allocations: 25.89 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.3254, allocations: 34.22 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.3254, allocations: 4.75 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.3256, allocations: 94.56 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.904e-05/0.3256, allocations: 15.55 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/0.3257, allocations: 28.67 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.3259, allocations: 147.4 kB / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.3259, allocations: 0 / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3259, allocations: 0 / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.326, allocations: 0 / 0.534 GB, free: 10.83 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005042/0.3265, allocations: 400.7 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.3265, allocations: 13.03 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.538e-05/0.3266, allocations: 32.34 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.3266, allocations: 7.547 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.3268, allocations: 198.2 kB / 0.5346 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.3268, allocations: 9.594 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.3269, allocations: 1.656 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.327, allocations: 68.27 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.327, allocations: 1.219 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.327, allocations: 0 / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3271, allocations: 5.25 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.38e-05/0.3271, allocations: 24.88 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/0.3276, allocations: 292.1 kB / 0.535 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.3278, allocations: 41.09 kB / 0.535 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.209e-05/0.3278, allocations: 19.81 kB / 0.535 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.3279, allocations: 1.375 kB / 0.535 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.3279, allocations: 35.94 kB / 0.5351 GB, free: 9.656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3279, allocations: 0 / 0.5351 GB, free: 9.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005504/0.3284, allocations: 154 kB / 0.5352 GB, free: 9.562 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/0.3285, allocations: 78.48 kB / 0.5353 GB, free: 9.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.3287, allocations: 141.3 kB / 0.5354 GB, free: 9.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3287, allocations: 27.08 kB / 0.5354 GB, free: 9.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.693e-05/0.3288, allocations: 102.8 kB / 0.5355 GB, free: 9.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.3288, allocations: 18.59 kB / 0.5356 GB, free: 9.199 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.3289, allocations: 17.84 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.329, allocations: 325.5 kB / 0.5359 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.3291, allocations: 20.36 kB / 0.5359 GB, free: 8.848 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.604e-05/0.3292, allocations: 43.44 kB / 0.5359 GB, free: 8.812 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.3293, allocations: 54.98 kB / 0.536 GB, free: 8.781 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3293, allocations: 1.375 kB / 0.536 GB, free: 8.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002031/0.3296, allocations: 82.62 kB / 0.5361 GB, free: 8.727 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3296, allocations: 9.484 kB / 0.5361 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3296, allocations: 0 / 0.5361 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.3296, allocations: 1.375 kB / 0.5361 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.065e-05/0.3297, allocations: 9.625 kB / 0.5361 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3297, allocations: 3.938 kB / 0.5361 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.166e-05/0.3297, allocations: 16.05 kB / 0.5361 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.3298, allocations: 1.375 kB / 0.5361 GB, free: 8.707 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.573e-05/0.3298, allocations: 114 kB / 0.5362 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.3299, allocations: 8.078 kB / 0.5362 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002587/0.3301, allocations: 96.33 kB / 0.5363 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3302, allocations: 0 / 0.5363 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3302, allocations: 1.375 kB / 0.5363 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.3302, allocations: 11.88 kB / 0.5363 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000463/0.3307, allocations: 358.8 kB / 0.5367 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3307, allocations: 3.938 kB / 0.5367 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.804e-05/0.3307, allocations: 13.95 kB / 0.5367 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3308, allocations: 1.062 kB / 0.5367 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.3308, allocations: 4.906 kB / 0.5367 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3308, allocations: 4 kB / 0.5367 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3308, allocations: 1.094 kB / 0.5367 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.331, allocations: 190.2 kB / 0.5369 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.3311, allocations: 83.81 kB / 0.537 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.3311, allocations: 3.938 kB / 0.537 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.638e-05/0.3312, allocations: 7.891 kB / 0.537 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.3312, allocations: 2.812 kB / 0.537 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.3313, allocations: 1.625 kB / 0.537 GB, free: 7.855 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.3314, allocations: 120.2 kB / 0.5371 GB, free: 7.758 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3314, allocations: 0 / 0.5371 GB, free: 7.758 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002842/0.3317, allocations: 39.17 kB / 0.5371 GB, free: 7.742 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.002161/0.3338, allocations: 1.101 MB / 0.5382 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.3341, allocations: 67.23 kB / 0.5383 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3341, allocations: 0 / 0.5383 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.251e-05/0.3342, allocations: 25.58 kB / 0.5383 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.3345, allocations: 15.86 kB / 0.5383 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.3363, allocations: 1.447 MB / 0.5397 GB, free: 5.508 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.3366, allocations: 0.698 MB / 0.5404 GB, free: 4.797 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.968e-05/0.3367, allocations: 26.36 kB / 0.5404 GB, free: 4.781 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.361e-05/0.3368, allocations: 26.17 kB / 0.5405 GB, free: 4.766 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3368, allocations: 0 / 0.5405 GB, free: 4.766 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02583/0.3626, allocations: 3.26 MB / 0.5436 GB, free: 2.902 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.163/8.525, allocations: 8.094 kB / 0.5436 GB, free: 2.902 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1)