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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007982/0.0007983, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 178.4 kB / 16.91 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.4 MB / 223.1 MB, free: 5.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4099/0.4099, allocations: 43.58 MB / 315 MB, free: 9.039 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005647/0.0005647, allocations: 19.98 kB / 384.7 MB, free: 7.781 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1319, allocations: 58.86 MB / 443.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.000752/0.1327, allocations: 228.4 kB / 443.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004261/0.137, allocations: 2.282 MB / 446 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.446e-06/0.137, allocations: 4 kB / 446 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.991e-06/0.137, allocations: 0 / 446 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.823e-06/0.1371, allocations: 0 / 446 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.1392, allocations: 0.5146 MB / 446.6 MB, free: 9.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.252e-05/0.1393, allocations: 4 kB / 446.6 MB, free: 9.766 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.826e-05/0.1393, allocations: 4 kB / 446.6 MB, free: 9.762 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.359e-05/0.1394, allocations: 8 kB / 446.6 MB, free: 9.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.127e-05/0.1394, allocations: 7.984 kB / 446.6 MB, free: 9.746 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.359e-06/0.1395, allocations: 4 kB / 446.6 MB, free: 9.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008698/0.1403, allocations: 0.6046 MB / 447.2 MB, free: 9.137 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.202e-06/0.1403, allocations: 0 / 447.2 MB, free: 9.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.1404, allocations: 25.7 kB / 447.2 MB, free: 9.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005623/0.1409, allocations: 423.4 kB / 447.6 MB, free: 8.691 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.141, allocations: 0 / 447.6 MB, free: 8.691 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.141, allocations: 0 / 447.6 MB, free: 8.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.141, allocations: 0 / 447.6 MB, free: 8.691 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.0005426/0.1415, allocations: 425.2 kB / 448.1 MB, free: 8.223 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.605e-05/0.1416, allocations: 12.03 kB / 448.1 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.568e-05/0.1417, allocations: 106 kB / 448.2 MB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.074e-05/0.1418, allocations: 80.22 kB / 448.2 MB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.142, allocations: 239.6 kB / 448.5 MB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.39e-05/0.1421, allocations: 150.9 kB / 448.6 MB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.415e-05/0.1422, allocations: 166.5 kB / 448.8 MB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.174e-05/0.1423, allocations: 101 kB / 448.9 MB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.896e-05/0.1423, allocations: 75.28 kB / 449 MB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-05/0.1424, allocations: 150.6 kB / 449.1 MB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.082e-05/0.1425, allocations: 150.6 kB / 449.3 MB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.619e-05/0.1426, allocations: 154.5 kB / 449.4 MB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.1429, allocations: 453.9 kB / 449.8 MB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.1431, allocations: 169.1 kB / 450 MB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.497e-05/0.1431, allocations: 80.14 kB / 450.1 MB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.196e-05/0.1432, allocations: 75.28 kB / 450.2 MB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.364e-05/0.1433, allocations: 139.5 kB / 450.3 MB, free: 5.828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.1433, allocations: 0 / 450.3 MB, free: 5.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 9.477e-05/0.1434, allocations: 29.64 kB / 450.3 MB, free: 5.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.649e-05/0.1435, allocations: 152.4 kB / 450.5 MB, free: 5.625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.579e-05/0.1435, allocations: 93.86 kB / 450.6 MB, free: 5.523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.1435, allocations: 25.7 kB / 450.6 MB, free: 5.492 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.1436, allocations: 92.06 kB / 450.7 MB, free: 5.398 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.1436, allocations: 4 kB / 450.7 MB, free: 5.395 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.022e-05/0.1436, allocations: 9.719 kB / 450.7 MB, free: 5.379 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1437, allocations: 314.8 kB / 451 MB, free: 5.062 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.048e-06/0.1438, allocations: 0 / 451 MB, free: 5.062 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.701e-05/0.1438, allocations: 4 kB / 451 MB, free: 5.059 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.472e-05/0.1438, allocations: 75.28 kB / 451.1 MB, free: 4.984 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.442e-05/0.1438, allocations: 75.28 kB / 451.2 MB, free: 4.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.281e-05/0.1439, allocations: 33.58 kB / 451.2 MB, free: 4.871 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.179e-05/0.1439, allocations: 87.31 kB / 451.3 MB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-05/0.144, allocations: 75.28 kB / 451.3 MB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.714e-05/0.144, allocations: 150.6 kB / 451.5 MB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.878e-05/0.1441, allocations: 87.2 kB / 451.6 MB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.733e-05/0.1441, allocations: 154.6 kB / 451.7 MB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.634e-05/0.1442, allocations: 79.22 kB / 451.8 MB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.1443, allocations: 75.44 kB / 451.9 MB, free: 4.172 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 0.0001085/0.1444, allocations: 264.4 kB / 452.1 MB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.1444, allocations: 112.9 kB / 452.3 MB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.764e-05/0.1445, allocations: 120.1 kB / 452.4 MB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.558e-05/0.1445, allocations: 176.3 kB / 452.5 MB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.667e-05/0.1446, allocations: 180.2 kB / 452.7 MB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.805e-05/0.1447, allocations: 184.2 kB / 452.9 MB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.1449, allocations: 409.1 kB / 453.3 MB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.619e-05/0.1449, allocations: 105 kB / 453.4 MB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.932e-05/0.145, allocations: 101 kB / 453.5 MB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.833e-05/0.145, allocations: 180.2 kB / 453.7 MB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.284e-05/0.1451, allocations: 184.3 kB / 453.9 MB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-05/0.1452, allocations: 184.2 kB / 454 MB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.693e-05/0.1452, allocations: 180.2 kB / 454.2 MB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.1454, allocations: 307.7 kB / 454.5 MB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.898e-05/0.1455, allocations: 190.1 kB / 454.7 MB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.049e-05/0.1455, allocations: 180.2 kB / 454.9 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.1457, allocations: 101 kB / 455 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.1458, allocations: 188.3 kB / 455.2 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.585e-05/0.1459, allocations: 108.9 kB / 455.3 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.646e-05/0.1459, allocations: 75.28 kB / 455.3 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1459, allocations: 3.938 kB / 455.3 MB, free: 500 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005921/0.1465, allocations: 136 kB / 455.5 MB, free: 364 kB / 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.27/0.4165, allocations: 1.03 MB / 456.5 MB, free: 46.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 5.839e-05/0.4167, allocations: 6.688 kB / 456.5 MB, free: 46.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.4167, allocations: 0 / 456.5 MB, free: 46.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.534e-06/0.4167, allocations: 0.875 kB / 456.5 MB, free: 46.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.417, allocations: 0.5228 MB / 457 MB, free: 45.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003878/0.4174, allocations: 241.2 kB / 457.3 MB, free: 45.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.4175, allocations: 0.6692 MB / 457.9 MB, free: 44.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.458e-06/0.4175, allocations: 0 / 457.9 MB, free: 44.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.319e-05/0.4176, allocations: 11.28 kB / 457.9 MB, free: 44.93 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4176, allocations: 2.781 kB / 457.9 MB, free: 44.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01557/0.4331, allocations: 3.726 MB / 461.7 MB, free: 44.57 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00015/0.4333, allocations: 225 kB / 461.9 MB, free: 44.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.928/2.361, allocations: 0 / 461.9 MB, free: 44.32 MB / 382.1 MB (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)