Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001277/0.001277, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001354, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 230.5 MB / 258.2 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2334/0.2334, allocations: 46.93 MB / 361.6 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] 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.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002467/0.002467, allocations: 79.88 kB / 0.497 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3501, allocations: 66.08 MB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.00166/0.3518, allocations: 497 kB / 0.562 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003405/0.3552, allocations: 2.159 MB / 0.5641 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.697e-05/0.3552, allocations: 4 kB / 0.5641 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.919e-05/0.3552, allocations: 7.938 kB / 0.5641 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.62e-05/0.3552, allocations: 0 / 0.5641 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.3564, allocations: 394.8 kB / 0.5645 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.727e-05/0.3564, allocations: 7.922 kB / 0.5645 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.3565, allocations: 11.98 kB / 0.5645 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.672e-05/0.3565, allocations: 3.938 kB / 0.5645 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02031/0.3768, allocations: 3.377 MB / 0.5678 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.3768, allocations: 0 / 0.5678 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-05/0.3769, allocations: 7.984 kB / 0.5678 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.769e-06/0.3769, allocations: 0 / 0.5678 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.524e-05/0.377, allocations: 7.938 kB / 0.5678 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.3771, allocations: 11.98 kB / 0.5678 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3771, allocations: 0 / 0.5678 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3771, allocations: 4 kB / 0.5678 GB, free: 14.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.3771, allocations: 0 / 0.5678 GB, free: 14.44 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003162/0.3774, allocations: 238.4 kB / 0.568 GB, free: 14.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.3775, allocations: 12.03 kB / 0.568 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.932e-05/0.3775, allocations: 110 kB / 0.5681 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.3777, allocations: 80.22 kB / 0.5682 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.3779, allocations: 185.8 kB / 0.5684 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.1e-05/0.378, allocations: 154.9 kB / 0.5686 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.848e-05/0.378, allocations: 158.9 kB / 0.5687 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.09e-05/0.3781, allocations: 109 kB / 0.5688 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.814e-05/0.3781, allocations: 75.28 kB / 0.5689 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-05/0.3782, allocations: 150.6 kB / 0.569 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.461e-05/0.3783, allocations: 158.6 kB / 0.5692 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.815e-05/0.3784, allocations: 150.6 kB / 0.5693 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003271/0.3787, allocations: 413 kB / 0.5697 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.3788, allocations: 169.1 kB / 0.5699 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.243e-05/0.3788, allocations: 80.14 kB / 0.5699 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.912e-05/0.3789, allocations: 83.28 kB / 0.57 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.178e-05/0.379, allocations: 117.8 kB / 0.5701 GB, free: 11.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.379, allocations: 0 / 0.5701 GB, free: 11.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.354e-05/0.379, allocations: 25.7 kB / 0.5702 GB, free: 11.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.3791, allocations: 186 kB / 0.5703 GB, free: 11.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.3792, allocations: 93.86 kB / 0.5704 GB, free: 11.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.3793, allocations: 25.7 kB / 0.5705 GB, free: 11.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.937e-05/0.3793, allocations: 80.14 kB / 0.5705 GB, free: 11.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.423e-06/0.3793, allocations: 0 / 0.5705 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.3793, allocations: 17.72 kB / 0.5705 GB, free: 11.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.3795, allocations: 310.8 kB / 0.5708 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.078e-06/0.3795, allocations: 0 / 0.5708 GB, free: 11.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.702e-05/0.3795, allocations: 17.7 kB / 0.5709 GB, free: 11.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.252e-05/0.3796, allocations: 79.44 kB / 0.5709 GB, free: 11.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.35e-05/0.3796, allocations: 75.28 kB / 0.571 GB, free: 10.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.612e-05/0.3797, allocations: 33.64 kB / 0.571 GB, free: 10.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.12e-05/0.3797, allocations: 79.28 kB / 0.5711 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-05/0.3797, allocations: 79.22 kB / 0.5712 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.483e-05/0.3798, allocations: 154.6 kB / 0.5713 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.462e-05/0.3799, allocations: 87.22 kB / 0.5714 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.455e-05/0.3799, allocations: 158.5 kB / 0.5716 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.677e-05/0.38, allocations: 79.27 kB / 0.5716 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.318e-05/0.3801, allocations: 87.16 kB / 0.5717 GB, free: 10.19 MB / 414.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 (0): * Single equations (assignments): 0 * 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.0001505/0.3802, allocations: 257.3 kB / 0.572 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.849e-05/0.3803, allocations: 104.9 kB / 0.5721 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.286e-05/0.3804, allocations: 123.7 kB / 0.5722 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.895e-05/0.3805, allocations: 180.2 kB / 0.5724 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.704e-05/0.3805, allocations: 176.3 kB / 0.5725 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.792e-05/0.3806, allocations: 180.2 kB / 0.5727 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.3809, allocations: 376.3 kB / 0.5731 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-05/0.3809, allocations: 108.9 kB / 0.5732 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.644e-05/0.381, allocations: 108.9 kB / 0.5733 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.347e-05/0.3811, allocations: 184.2 kB / 0.5735 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.343e-05/0.3812, allocations: 176.3 kB / 0.5736 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.125e-05/0.3812, allocations: 176.3 kB / 0.5738 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-05/0.3813, allocations: 188.2 kB / 0.574 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.3815, allocations: 308.1 kB / 0.5743 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.3815, allocations: 108.9 kB / 0.5744 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.3816, allocations: 188.3 kB / 0.5745 GB, free: 7.133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.521e-05/0.3817, allocations: 108.9 kB / 0.5746 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.656e-05/0.3818, allocations: 180.3 kB / 0.5748 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.554e-05/0.3819, allocations: 104.9 kB / 0.5749 GB, free: 6.727 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.926e-05/0.3819, allocations: 75.28 kB / 0.575 GB, free: 6.652 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3819, allocations: 0 / 0.575 GB, free: 6.652 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.3822, allocations: 4 kB / 0.575 GB, free: 6.648 MB / 414.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 (0): * Single equations (assignments): 0 * 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.0004585/0.3826, allocations: 0.8049 MB / 0.5758 GB, free: 5.812 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.519e-05/0.3827, allocations: 0 / 0.5758 GB, free: 5.812 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3827, allocations: 3.938 kB / 0.5758 GB, free: 5.809 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.233e-06/0.3827, allocations: 0 / 0.5758 GB, free: 5.809 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.3831, allocations: 459.7 kB / 0.5762 GB, free: 5.355 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/0.3835, allocations: 178 kB / 0.5764 GB, free: 5.141 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.3838, allocations: 0.6729 MB / 0.5771 GB, free: 4.441 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.099e-05/0.3838, allocations: 0 / 0.5771 GB, free: 4.441 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.3838, allocations: 11.42 kB / 0.5771 GB, free: 4.43 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3838, allocations: 0 / 0.5771 GB, free: 4.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.4067, allocations: 1.021 MB / 0.5781 GB, free: 3.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.98/8.387, allocations: 2.656 kB / 0.5781 GB, free: 3.48 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestExamplesCalculator_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestExamplesCalculator.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.144379021134228] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.460340456105769 8.487629966 8.105336233 Calling exit ...