Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001358/0.001358, allocations: 118.8 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.001478/0.001479, allocations: 198 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 247 MB, free: 10.41 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.2279/0.2279, allocations: 46.11 MB / 344.4 MB, free: 11.42 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.002348/0.002348, allocations: 84.08 kB / 480.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3722, allocations: 62.44 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003172/0.3755, allocations: 1.597 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.3765, allocations: 0.5435 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.133e-05/0.3766, allocations: 0 / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.3768, allocations: 22.34 kB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002822/0.3771, allocations: 80.56 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.3774, allocations: 109.3 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.3776, allocations: 66.88 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.3778, allocations: 15.16 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.736e-05/0.3778, allocations: 28.36 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.262e-05/0.3779, allocations: 22.86 kB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.3779, allocations: 6.062 kB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.453e-05/0.378, allocations: 36 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.902e-05/0.3781, allocations: 14.03 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.565e-05/0.3781, allocations: 24.61 kB / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.3783, allocations: 83.72 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3784, allocations: 0 / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3784, allocations: 1.719 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3784, allocations: 0 / 0.5332 GB, free: 11.35 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.0005802/0.379, allocations: 392.6 kB / 0.5336 GB, free: 10.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.379, allocations: 9 kB / 0.5336 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.241e-05/0.3791, allocations: 36.5 kB / 0.5336 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.3791, allocations: 12.39 kB / 0.5336 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.3793, allocations: 189.3 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.3794, allocations: 2.188 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.3794, allocations: 6.281 kB / 0.5338 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.3795, allocations: 52.08 kB / 0.5339 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3796, allocations: 0 / 0.5339 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3796, allocations: 1.375 kB / 0.5339 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.3796, allocations: 0 / 0.5339 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.3797, allocations: 29.67 kB / 0.5339 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004446/0.3801, allocations: 289.5 kB / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.3804, allocations: 44.44 kB / 0.5342 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/0.3804, allocations: 15.81 kB / 0.5342 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.3805, allocations: 5.312 kB / 0.5342 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.3805, allocations: 42.56 kB / 0.5343 GB, free: 10.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3805, allocations: 1.375 kB / 0.5343 GB, free: 10.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006231/0.3811, allocations: 150 kB / 0.5344 GB, free: 10.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.3812, allocations: 52.78 kB / 0.5345 GB, free: 10.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.3814, allocations: 167 kB / 0.5346 GB, free: 9.914 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.3814, allocations: 29.7 kB / 0.5347 GB, free: 9.879 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.628e-05/0.3815, allocations: 96.25 kB / 0.5348 GB, free: 9.785 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.3815, allocations: 22.55 kB / 0.5348 GB, free: 9.766 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.3816, allocations: 17.84 kB / 0.5348 GB, free: 9.746 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3817, allocations: 317.6 kB / 0.5351 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.676e-05/0.3818, allocations: 20.36 kB / 0.5351 GB, free: 9.422 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.815e-05/0.3819, allocations: 20.36 kB / 0.5351 GB, free: 9.414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.3821, allocations: 58.94 kB / 0.5352 GB, free: 9.379 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3821, allocations: 0 / 0.5352 GB, free: 9.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002119/0.3823, allocations: 88.22 kB / 0.5353 GB, free: 9.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3823, allocations: 9.438 kB / 0.5353 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3823, allocations: 0 / 0.5353 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3823, allocations: 0 / 0.5353 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.625e-05/0.3824, allocations: 13.61 kB / 0.5353 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3824, allocations: 5.312 kB / 0.5353 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.395e-05/0.3825, allocations: 10.73 kB / 0.5353 GB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.3825, allocations: 17.28 kB / 0.5353 GB, free: 9.285 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 9.074e-05/0.3826, allocations: 116.7 kB / 0.5354 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.3826, allocations: 8.078 kB / 0.5354 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002661/0.3829, allocations: 100.3 kB / 0.5355 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3829, allocations: 1.375 kB / 0.5355 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.3829, allocations: 7.938 kB / 0.5356 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3829, allocations: 0 / 0.5356 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004493/0.3834, allocations: 352.9 kB / 0.5359 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3834, allocations: 1.312 kB / 0.5359 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.628e-05/0.3835, allocations: 13.17 kB / 0.5359 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.3835, allocations: 3.938 kB / 0.5359 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.3835, allocations: 5.062 kB / 0.5359 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3835, allocations: 0.9688 kB / 0.5359 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3835, allocations: 4 kB / 0.5359 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.3838, allocations: 182.8 kB / 0.5361 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.3838, allocations: 83.59 kB / 0.5362 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.3838, allocations: 5.188 kB / 0.5362 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.3839, allocations: 6.641 kB / 0.5362 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.384, allocations: 1.594 kB / 0.5362 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.384, allocations: 6.25 kB / 0.5362 GB, free: 8.445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.3841, allocations: 124.9 kB / 0.5363 GB, free: 8.352 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3841, allocations: 0 / 0.5363 GB, free: 8.352 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.3843, allocations: 22.22 kB / 0.5363 GB, free: 8.34 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.001915/0.3863, allocations: 1.028 MB / 0.5373 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.3865, allocations: 47.06 kB / 0.5374 GB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3865, allocations: 0 / 0.5374 GB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.424e-05/0.3866, allocations: 32.86 kB / 0.5374 GB, free: 7.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.387, allocations: 19.89 kB / 0.5374 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.3887, allocations: 1.482 MB / 0.5389 GB, free: 6.125 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.389, allocations: 0.7014 MB / 0.5396 GB, free: 5.414 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.646e-05/0.3891, allocations: 11.77 kB / 0.5396 GB, free: 5.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.254e-05/0.3892, allocations: 23.92 kB / 0.5396 GB, free: 5.391 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3892, allocations: 1 kB / 0.5396 GB, free: 5.391 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/0.4123, allocations: 2.64 MB / 0.5422 GB, free: 3.914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.05/8.462, allocations: 7.375 kB / 0.5422 GB, free: 3.914 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1)