Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 120.2 kB / 17.83 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002317/0.002317, allocations: 204.7 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 207.6 MB / 231.2 MB, free: 4.102 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3787/0.3787, allocations: 44.23 MB / 327.3 MB, free: 6.707 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestNonlinear",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestNonlinear",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002533/0.002533, allocations: 67.91 kB / 462.9 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3645, allocations: 61 MB / 0.5116 GB, free: 13.1 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001612/0.3661, allocations: 0.5003 MB / 0.5121 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002915/0.369, allocations: 2.235 MB / 0.5143 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.162e-06/0.369, allocations: 0 / 0.5143 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.579e-06/0.369, allocations: 0 / 0.5143 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.562e-06/0.369, allocations: 3.219 kB / 0.5143 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002272/0.3713, allocations: 0.6122 MB / 0.5149 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.506e-05/0.3713, allocations: 8.062 kB / 0.5149 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.001e-05/0.3714, allocations: 13.45 kB / 0.5149 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.459e-05/0.3714, allocations: 12.52 kB / 0.5149 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.631e-05/0.3715, allocations: 8.25 kB / 0.5149 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.589e-06/0.3715, allocations: 0 / 0.5149 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009465/0.3724, allocations: 0.6428 MB / 0.5156 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.608e-06/0.3724, allocations: 3.984 kB / 0.5156 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.493e-05/0.3725, allocations: 2.75 kB / 0.5156 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005468/0.373, allocations: 431.6 kB / 0.516 GB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.373, allocations: 0 / 0.516 GB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.373, allocations: 0 / 0.516 GB, free: 10 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.373, allocations: 0 / 0.516 GB, free: 10 MB / 382.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.0003618/0.3734, allocations: 430.8 kB / 0.5164 GB, free: 9.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.3734, allocations: 13.48 kB / 0.5164 GB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.021e-05/0.3735, allocations: 79.47 kB / 0.5165 GB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.431e-05/0.3735, allocations: 107.4 kB / 0.5166 GB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.942e-05/0.3735, allocations: 80.22 kB / 0.5167 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.418e-05/0.3736, allocations: 237 kB / 0.5169 GB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.3736, allocations: 158.6 kB / 0.517 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.3736, allocations: 150.6 kB / 0.5172 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.634e-05/0.3737, allocations: 102.4 kB / 0.5173 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.3737, allocations: 75.28 kB / 0.5173 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.3737, allocations: 155.9 kB / 0.5175 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/0.3738, allocations: 154.5 kB / 0.5176 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.445e-05/0.3738, allocations: 155.9 kB / 0.5178 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.374, allocations: 447.3 kB / 0.5182 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.967e-05/0.374, allocations: 174.5 kB / 0.5184 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.745e-05/0.374, allocations: 84.08 kB / 0.5185 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.3741, allocations: 75.28 kB / 0.5185 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.3741, allocations: 136.9 kB / 0.5187 GB, free: 7.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.3741, allocations: 0 / 0.5187 GB, free: 7.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.817e-05/0.3742, allocations: 31.02 kB / 0.5187 GB, free: 7.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.3742, allocations: 161.8 kB / 0.5189 GB, free: 6.895 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.67e-05/0.3742, allocations: 89.86 kB / 0.5189 GB, free: 6.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.684e-06/0.3742, allocations: 27.08 kB / 0.519 GB, free: 6.766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.827e-05/0.3742, allocations: 80.14 kB / 0.519 GB, free: 6.684 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.3743, allocations: 1.375 kB / 0.519 GB, free: 6.684 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-05/0.3743, allocations: 12.47 kB / 0.5191 GB, free: 6.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.252e-05/0.3743, allocations: 312.2 kB / 0.5194 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.42e-06/0.3743, allocations: 0 / 0.5194 GB, free: 6.355 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.238e-05/0.3743, allocations: 5.375 kB / 0.5194 GB, free: 6.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.568e-05/0.3744, allocations: 80.66 kB / 0.5194 GB, free: 6.273 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.3744, allocations: 75.28 kB / 0.5195 GB, free: 6.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.694e-05/0.3744, allocations: 40.31 kB / 0.5195 GB, free: 6.156 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.3744, allocations: 80.78 kB / 0.5196 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.3745, allocations: 80.64 kB / 0.5197 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.163e-05/0.3745, allocations: 154.7 kB / 0.5198 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.12e-05/0.3745, allocations: 88.64 kB / 0.5199 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.977e-05/0.3745, allocations: 151.9 kB / 0.5201 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.233e-05/0.3746, allocations: 80.59 kB / 0.5202 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.3746, allocations: 80.66 kB / 0.5202 GB, free: 5.461 MB / 382.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 7.065e-05/0.3747, allocations: 267.1 kB / 0.5205 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.3747, allocations: 106.4 kB / 0.5206 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.3747, allocations: 108 kB / 0.5207 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-05/0.3748, allocations: 177.6 kB / 0.5209 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.877e-05/0.3748, allocations: 181.6 kB / 0.521 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-05/0.3748, allocations: 185.6 kB / 0.5212 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.375, allocations: 398.5 kB / 0.5216 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-05/0.375, allocations: 108.9 kB / 0.5217 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.979e-05/0.375, allocations: 102.4 kB / 0.5218 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-05/0.375, allocations: 185.6 kB / 0.522 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/0.3751, allocations: 181.6 kB / 0.5221 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.052e-05/0.3751, allocations: 176.3 kB / 0.5223 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.191e-05/0.3751, allocations: 193.5 kB / 0.5225 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.988e-05/0.3752, allocations: 311.8 kB / 0.5228 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.3753, allocations: 183.5 kB / 0.523 GB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.845e-05/0.3753, allocations: 181.5 kB / 0.5231 GB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.287e-05/0.3754, allocations: 102.3 kB / 0.5232 GB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.3754, allocations: 181.6 kB / 0.5234 GB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.3754, allocations: 110.2 kB / 0.5235 GB, free: 1.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.14e-05/0.3755, allocations: 75.28 kB / 0.5236 GB, free: 1.816 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3755, allocations: 0 / 0.5236 GB, free: 1.816 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005447/0.376, allocations: 131 kB / 0.5237 GB, free: 1.785 MB / 382.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.001017/0.377, allocations: 1.047 MB / 0.5247 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 5.749e-05/0.3771, allocations: 6.906 kB / 0.5247 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3771, allocations: 0 / 0.5247 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.3771, allocations: 4 kB / 0.5247 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.3773, allocations: 454.9 kB / 0.5252 GB, free: 420 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000396/0.3777, allocations: 246.3 kB / 0.5254 GB, free: 168 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.378, allocations: 0.6701 MB / 0.5261 GB, free: 15.47 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.045e-06/0.378, allocations: 0 / 0.5261 GB, free: 15.47 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.735e-05/0.3781, allocations: 8.812 kB / 0.5261 GB, free: 15.46 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3781, allocations: 4 kB / 0.5261 GB, free: 15.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02324/0.4013, allocations: 4.008 MB / 0.53 GB, free: 11.56 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.655/9.056, allocations: 8.062 kB / 0.53 GB, free: 11.55 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestNonlinear_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestNonlinear.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.974999052006751] Failed to read output from testmodel.py, exit status != 0: 9.184246367018204 9.211934851 8.83323236 Calling exit ...