Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.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.00166/0.00166, allocations: 109 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.00216/0.00216, allocations: 213.6 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.439/1.439, allocations: 230.5 MB / 258.2 MB, free: 7.973 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.2371/0.2371, allocations: 46.94 MB / 361.6 MB, free: 4.184 MB / 286.1 MB " [Timeout remaining time 179] 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.Math.TestNonlinear,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestNonlinear",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.003889/0.003889, allocations: 79.88 kB / 0.497 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3856, allocations: 66.09 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001726/0.3873, allocations: 489.1 kB / 0.562 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003793/0.3911, allocations: 2.327 MB / 0.5642 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.911e-06/0.3911, allocations: 0 / 0.5642 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.37e-06/0.3911, allocations: 0 / 0.5642 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.263e-06/0.3911, allocations: 4 kB / 0.5642 GB, free: 1.465 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/Nonlinear.mo:8:5-88:27:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.quadratureLobatto1' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/Nonlinear.mo:90:5-160:27:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.quadratureLobatto2' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/Nonlinear.mo:162:5-239:33:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.solveNonlinearEquations1' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/Nonlinear.mo:241:5-319:33:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.solveNonlinearEquations2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002141/0.3932, allocations: 0.6365 MB / 0.5649 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.655e-05/0.3933, allocations: 8 kB / 0.5649 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.825e-05/0.3933, allocations: 0 / 0.5649 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.3935, allocations: 19.92 kB / 0.5649 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.052e-05/0.3935, allocations: 7.984 kB / 0.5649 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.41e-06/0.3935, allocations: 0 / 0.5649 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.3946, allocations: 0.6788 MB / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.304e-06/0.3946, allocations: 0 / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.3947, allocations: 4 kB / 0.5656 GB, free: 116 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006503/0.3953, allocations: 439.2 kB / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3953, allocations: 3.938 kB / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3953, allocations: 0 / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.3953, allocations: 0 / 0.566 GB, free: 15.68 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.0004809/0.3958, allocations: 355.3 kB / 0.5663 GB, free: 15.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3959, allocations: 8.031 kB / 0.5663 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.395e-05/0.3959, allocations: 110 kB / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.397e-05/0.396, allocations: 80.22 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.3961, allocations: 185.8 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.459e-05/0.3962, allocations: 154.9 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.939e-05/0.3963, allocations: 154.5 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.375e-05/0.3963, allocations: 109 kB / 0.5671 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.959e-05/0.3964, allocations: 75.28 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.884e-05/0.3964, allocations: 150.6 kB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-05/0.3965, allocations: 150.6 kB / 0.5674 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.193e-05/0.3966, allocations: 158.5 kB / 0.5676 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003117/0.3969, allocations: 421 kB / 0.568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.397, allocations: 169.1 kB / 0.5682 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.381e-05/0.3971, allocations: 84.08 kB / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.461e-05/0.3971, allocations: 75.28 kB / 0.5683 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.791e-05/0.3972, allocations: 143.5 kB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3972, allocations: 0 / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 9.23e-05/0.3973, allocations: 37.62 kB / 0.5685 GB, free: 12.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.292e-05/0.3974, allocations: 152.4 kB / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.291e-05/0.3974, allocations: 89.86 kB / 0.5687 GB, free: 12.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.3975, allocations: 25.7 kB / 0.5687 GB, free: 12.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.3975, allocations: 84.14 kB / 0.5688 GB, free: 12.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.3975, allocations: 0 / 0.5688 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.3975, allocations: 17.72 kB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3977, allocations: 310.8 kB / 0.5691 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.03e-06/0.3977, allocations: 0 / 0.5691 GB, free: 12.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.319e-05/0.3977, allocations: 0 / 0.5691 GB, free: 12.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.921e-05/0.3977, allocations: 79.27 kB / 0.5692 GB, free: 12.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.652e-05/0.3978, allocations: 83.28 kB / 0.5693 GB, free: 12.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.883e-05/0.3979, allocations: 33.64 kB / 0.5693 GB, free: 12.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.936e-05/0.3979, allocations: 85.62 kB / 0.5694 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.889e-05/0.398, allocations: 83.33 kB / 0.5695 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.982e-05/0.398, allocations: 150.6 kB / 0.5696 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.177e-05/0.3981, allocations: 79.22 kB / 0.5697 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.754e-05/0.3981, allocations: 150.6 kB / 0.5698 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.194e-05/0.3982, allocations: 87.2 kB / 0.5699 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/0.3982, allocations: 79.33 kB / 0.57 GB, free: 11.33 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.000145/0.3984, allocations: 268.4 kB / 0.5703 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.984e-05/0.3985, allocations: 108.9 kB / 0.5704 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.645e-05/0.3985, allocations: 107.8 kB / 0.5705 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.494e-05/0.3986, allocations: 180.3 kB / 0.5706 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.557e-05/0.3987, allocations: 188.2 kB / 0.5708 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.595e-05/0.3988, allocations: 184.3 kB / 0.571 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.399, allocations: 376.2 kB / 0.5714 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.093e-05/0.3991, allocations: 101 kB / 0.5714 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.603e-05/0.3991, allocations: 105 kB / 0.5715 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.811e-05/0.3992, allocations: 180.2 kB / 0.5717 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.731e-05/0.3993, allocations: 184.3 kB / 0.5719 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.275e-05/0.3994, allocations: 184.2 kB / 0.5721 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.642e-05/0.3994, allocations: 176.3 kB / 0.5722 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.3996, allocations: 311.7 kB / 0.5725 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.3997, allocations: 112.9 kB / 0.5726 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.721e-05/0.3998, allocations: 184.2 kB / 0.5728 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.638e-05/0.3998, allocations: 101 kB / 0.5729 GB, free: 8.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.872e-05/0.3999, allocations: 184.2 kB / 0.5731 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.674e-05/0.4, allocations: 108.9 kB / 0.5732 GB, free: 7.859 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.011e-05/0.4, allocations: 75.28 kB / 0.5733 GB, free: 7.785 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4, allocations: 0 / 0.5733 GB, free: 7.785 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005202/0.4005, allocations: 143.6 kB / 0.5734 GB, free: 7.645 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.001142/0.4017, allocations: 1.037 MB / 0.5744 GB, free: 6.582 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.957e-05/0.4017, allocations: 7.938 kB / 0.5744 GB, free: 6.574 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4017, allocations: 0 / 0.5744 GB, free: 6.574 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.4017, allocations: 0 / 0.5744 GB, free: 6.574 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.4021, allocations: 459.7 kB / 0.5749 GB, free: 6.121 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004408/0.4026, allocations: 238.1 kB / 0.5751 GB, free: 5.848 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.4029, allocations: 0.6768 MB / 0.5757 GB, free: 5.145 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.141e-06/0.4029, allocations: 0 / 0.5757 GB, free: 5.145 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.532e-05/0.4029, allocations: 7.438 kB / 0.5758 GB, free: 5.137 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4029, allocations: 0 / 0.5758 GB, free: 5.137 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02607/0.429, allocations: 4.194 MB / 0.5799 GB, free: 1.004 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.039/8.468, allocations: 8 kB / 0.5799 GB, free: 0.9961 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestNonlinear_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestNonlinear.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.288183934986591] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.539677957072854 8.558063315 8.15948192 Calling exit ...