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.00163/0.00163, allocations: 104.1 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00192/0.001921, allocations: 199.2 kB / 16.91 MB, free: 6.195 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.715/1.715, allocations: 205.1 MB / 222.8 MB, free: 4.684 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.3701/0.3701, allocations: 43.5 MB / 313.6 MB, free: 8.512 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.001606/0.001606, allocations: 59.91 kB / 382.3 MB, free: 8.531 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1292, allocations: 57.78 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001957/0.1313, allocations: 0.5659 MB / 440.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004242/0.1355, allocations: 2.227 MB / 442.9 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.454e-06/0.1356, allocations: 0 / 442.9 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.338e-06/0.1356, allocations: 0 / 442.9 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.076e-06/0.1356, allocations: 0 / 442.9 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002651/0.1383, allocations: 0.5618 MB / 443.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.078e-05/0.1384, allocations: 8 kB / 443.5 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.191e-05/0.1384, allocations: 0 / 443.5 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.1385, allocations: 11.98 kB / 443.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.248e-05/0.1386, allocations: 7.984 kB / 443.5 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.582e-06/0.1386, allocations: 3.938 kB / 443.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009676/0.1396, allocations: 0.6008 MB / 444.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.404e-06/0.1396, allocations: 0 / 444.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.837e-05/0.1396, allocations: 4 kB / 444.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00055/0.1402, allocations: 419.4 kB / 444.5 MB, free: 10.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.1402, allocations: 0 / 444.5 MB, free: 10.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1402, allocations: 3.938 kB / 444.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.1402, allocations: 0 / 444.5 MB, free: 10.21 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.0003996/0.1406, allocations: 421.3 kB / 444.9 MB, free: 9.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.1406, allocations: 11.89 kB / 444.9 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.121e-05/0.1407, allocations: 114 kB / 445 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.343e-05/0.1408, allocations: 88.14 kB / 445.1 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.1409, allocations: 235.7 kB / 445.3 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.781e-05/0.141, allocations: 150.9 kB / 445.5 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-05/0.1411, allocations: 154.5 kB / 445.6 MB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.626e-05/0.1412, allocations: 105 kB / 445.7 MB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.613e-05/0.1412, allocations: 83.22 kB / 445.8 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.185e-05/0.1413, allocations: 154.6 kB / 446 MB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.665e-05/0.1414, allocations: 150.6 kB / 446.1 MB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.716e-05/0.1414, allocations: 154.5 kB / 446.3 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000299/0.1417, allocations: 441.9 kB / 446.7 MB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.813e-05/0.1418, allocations: 177.1 kB / 446.9 MB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.764e-05/0.1419, allocations: 84.14 kB / 447 MB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.1419, allocations: 79.27 kB / 447 MB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.538e-05/0.142, allocations: 131.5 kB / 447.2 MB, free: 7.344 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.1421, allocations: 0 / 447.2 MB, free: 7.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 9.976e-05/0.1422, allocations: 33.64 kB / 447.2 MB, free: 7.305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.1423, allocations: 160.3 kB / 447.4 MB, free: 7.129 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.737e-05/0.1423, allocations: 89.86 kB / 447.4 MB, free: 7.031 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.1423, allocations: 25.7 kB / 447.5 MB, free: 7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/0.1424, allocations: 84.14 kB / 447.6 MB, free: 6.914 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.1424, allocations: 0 / 447.6 MB, free: 6.914 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.1425, allocations: 17.7 kB / 447.6 MB, free: 6.891 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1426, allocations: 310.8 kB / 447.9 MB, free: 6.578 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.024e-06/0.1426, allocations: 4 kB / 447.9 MB, free: 6.574 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.471e-05/0.1427, allocations: 4 kB / 447.9 MB, free: 6.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.498e-05/0.1427, allocations: 75.28 kB / 448 MB, free: 6.496 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-05/0.1427, allocations: 75.28 kB / 448 MB, free: 6.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.326e-05/0.1428, allocations: 37.58 kB / 448.1 MB, free: 6.379 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.037e-05/0.1429, allocations: 79.28 kB / 448.1 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-05/0.1429, allocations: 75.28 kB / 448.2 MB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.589e-05/0.143, allocations: 166.6 kB / 448.4 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.011e-05/0.1431, allocations: 79.3 kB / 448.5 MB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.627e-05/0.1431, allocations: 154.6 kB / 448.6 MB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.357e-05/0.1432, allocations: 79.22 kB / 448.7 MB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.1433, allocations: 79.28 kB / 448.8 MB, free: 5.676 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.0001496/0.1434, allocations: 256.4 kB / 449 MB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.962e-05/0.1435, allocations: 120.9 kB / 449.1 MB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.506e-05/0.1436, allocations: 116.1 kB / 449.2 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-05/0.1437, allocations: 176.3 kB / 449.4 MB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.868e-05/0.1437, allocations: 180.2 kB / 449.6 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.402e-05/0.1438, allocations: 180.3 kB / 449.8 MB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.1441, allocations: 409.1 kB / 450.2 MB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.634e-05/0.1441, allocations: 101 kB / 450.3 MB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.432e-05/0.1442, allocations: 109 kB / 450.4 MB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.052e-05/0.1443, allocations: 180.2 kB / 450.6 MB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.089e-05/0.1443, allocations: 176.3 kB / 450.7 MB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.108e-05/0.1444, allocations: 184.2 kB / 450.9 MB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.255e-05/0.1445, allocations: 188.2 kB / 451.1 MB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.1447, allocations: 307.7 kB / 451.4 MB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.516e-05/0.1448, allocations: 182.1 kB / 451.6 MB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.06e-05/0.1449, allocations: 180.2 kB / 451.7 MB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.472e-05/0.1449, allocations: 109 kB / 451.8 MB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.706e-05/0.145, allocations: 192.1 kB / 452 MB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.152e-05/0.1451, allocations: 101 kB / 452.1 MB, free: 2.078 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.336e-05/0.1451, allocations: 75.28 kB / 452.2 MB, free: 2.004 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1451, allocations: 0 / 452.2 MB, free: 2.004 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005564/0.1457, allocations: 132 kB / 452.3 MB, free: 1.875 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.001328/0.147, allocations: 1.049 MB / 453.4 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.035e-05/0.1471, allocations: 3.984 kB / 453.4 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1471, allocations: 4 kB / 453.4 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.1471, allocations: 0 / 453.4 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.1475, allocations: 459.7 kB / 453.8 MB, free: 356 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004426/0.1479, allocations: 237.7 kB / 454.1 MB, free: 76 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2077/0.3556, allocations: 0.6735 MB / 454.7 MB, free: 48.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.788e-05/0.3557, allocations: 0 / 454.7 MB, free: 48.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.091e-05/0.3557, allocations: 10.31 kB / 454.8 MB, free: 48.91 MB / 382.1 MB Notification: Performance of SimCode: time 1.282e-06/0.3557, allocations: 0 / 454.8 MB, free: 48.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01541/0.3712, allocations: 3.86 MB / 458.6 MB, free: 48.48 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/0.3713, allocations: 221.3 kB / 458.8 MB, free: 48.22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.025/2.396, allocations: 0 / 458.8 MB, free: 48.22 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)