Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.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.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001991/0.001991, allocations: 121.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002155/0.002155, allocations: 204.6 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.517/1.517, allocations: 227.4 MB / 247 MB, free: 10.46 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.2386/0.2386, allocations: 46.12 MB / 344.4 MB, free: 11.47 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.002557/0.002557, allocations: 87.81 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.369, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003149/0.3722, allocations: 1.68 MB / 0.5323 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.3733, allocations: 0.5721 MB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.912e-05/0.3734, allocations: 5.875 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002617/0.3736, allocations: 75.05 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003075/0.374, allocations: 108.6 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004754/0.3745, allocations: 189.4 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.3746, allocations: 96.98 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.972e-05/0.3748, allocations: 15.23 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.605e-05/0.3748, allocations: 44.02 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.3749, allocations: 55.3 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.375, allocations: 3.344 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.3751, allocations: 52.62 kB / 0.5335 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.198e-05/0.3752, allocations: 34.91 kB / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.722e-05/0.3752, allocations: 35.44 kB / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.3755, allocations: 126.2 kB / 0.5336 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3755, allocations: 0 / 0.5336 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3755, allocations: 0 / 0.5336 GB, free: 11.13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.3755, allocations: 1.25 kB / 0.5336 GB, free: 11.13 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005999/0.3761, allocations: 443.1 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.3762, allocations: 8.812 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.3762, allocations: 33.09 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.3763, allocations: 18.25 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.3765, allocations: 210 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.3765, allocations: 1.719 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.3765, allocations: 3.188 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.3767, allocations: 78.06 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3768, allocations: 0 / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.3768, allocations: 4 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3768, allocations: 1.062 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.3769, allocations: 44.95 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.3774, allocations: 331.8 kB / 0.5348 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.3777, allocations: 59.98 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.15e-05/0.3778, allocations: 30.89 kB / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.3778, allocations: 3.984 kB / 0.5349 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.3779, allocations: 35.88 kB / 0.5349 GB, free: 9.879 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3779, allocations: 0 / 0.5349 GB, free: 9.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001511/0.3794, allocations: 432.4 kB / 0.5353 GB, free: 9.664 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.3794, allocations: 52.78 kB / 0.5353 GB, free: 9.602 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.3797, allocations: 222.5 kB / 0.5356 GB, free: 9.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.3797, allocations: 30.7 kB / 0.5356 GB, free: 9.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/0.3798, allocations: 110.4 kB / 0.5357 GB, free: 9.305 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.3798, allocations: 32.17 kB / 0.5357 GB, free: 9.277 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/0.3799, allocations: 30.3 kB / 0.5358 GB, free: 9.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.38, allocations: 331.6 kB / 0.5361 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.3802, allocations: 51.95 kB / 0.5361 GB, free: 8.898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.3803, allocations: 57.05 kB / 0.5362 GB, free: 8.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.3806, allocations: 123.8 kB / 0.5363 GB, free: 8.809 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3806, allocations: 5.094 kB / 0.5363 GB, free: 8.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003569/0.381, allocations: 169 kB / 0.5365 GB, free: 8.707 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.381, allocations: 5.344 kB / 0.5365 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.381, allocations: 0 / 0.5365 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.381, allocations: 5.188 kB / 0.5365 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.3812, allocations: 27.56 kB / 0.5365 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.3812, allocations: 1.219 kB / 0.5365 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.11e-05/0.3813, allocations: 18.73 kB / 0.5365 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.3813, allocations: 2.219 kB / 0.5365 GB, free: 8.684 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 (11): * Single equations (assignments): 11 * 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.0001176/0.3814, allocations: 135.3 kB / 0.5366 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.3814, allocations: 13.69 kB / 0.5367 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004441/0.3819, allocations: 187.9 kB / 0.5368 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3819, allocations: 10.16 kB / 0.5368 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3819, allocations: 3.984 kB / 0.5369 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3819, allocations: 0 / 0.5369 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007799/0.3827, allocations: 0.5084 MB / 0.5373 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3827, allocations: 1.062 kB / 0.5374 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.3828, allocations: 32.61 kB / 0.5374 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3829, allocations: 1.031 kB / 0.5374 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.3829, allocations: 6.219 kB / 0.5374 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.3829, allocations: 1.25 kB / 0.5374 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3829, allocations: 1.219 kB / 0.5374 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004252/0.3833, allocations: 281.5 kB / 0.5377 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.51e-05/0.3834, allocations: 93.34 kB / 0.5377 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.3834, allocations: 6.219 kB / 0.5378 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.3835, allocations: 10.48 kB / 0.5378 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.3836, allocations: 12.86 kB / 0.5378 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-06/0.3836, allocations: 2.625 kB / 0.5378 GB, free: 7.602 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.3838, allocations: 178.1 kB / 0.5379 GB, free: 7.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.354e-06/0.3838, allocations: 0 / 0.5379 GB, free: 7.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000272/0.384, allocations: 35.52 kB / 0.538 GB, free: 7.465 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002193/0.3862, allocations: 1.156 MB / 0.5391 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003595/0.3866, allocations: 128.6 kB / 0.5392 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3866, allocations: 0 / 0.5392 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.3868, allocations: 71.11 kB / 0.5393 GB, free: 6.484 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.3872, allocations: 20.11 kB / 0.5393 GB, free: 6.473 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.3897, allocations: 1.983 MB / 0.5413 GB, free: 4.867 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.39, allocations: 0.7233 MB / 0.542 GB, free: 4.148 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.389e-05/0.3901, allocations: 30.84 kB / 0.542 GB, free: 4.137 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.398e-05/0.3902, allocations: 43.11 kB / 0.542 GB, free: 4.102 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3902, allocations: 0 / 0.542 GB, free: 4.102 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.4136, allocations: 3.643 MB / 0.5456 GB, free: 2.156 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.159/8.572, allocations: 7.234 kB / 0.5456 GB, free: 2.152 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1)