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.001091/0.001092, allocations: 100.1 kB / 15.88 MB, free: 4 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.00102/0.00102, allocations: 193 kB / 16.79 MB, free: 6.809 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.539/1.539, allocations: 205.1 MB / 222.6 MB, free: 4.535 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.3672/0.3672, allocations: 43.5 MB / 313.5 MB, free: 8.594 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.001428/0.001428, allocations: 71.91 kB / 382.1 MB, free: 8.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.116, allocations: 57.79 MB / 439.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.00187/0.1179, allocations: 0.562 MB / 440.5 MB, free: 14.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003459/0.1214, allocations: 2.309 MB / 442.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.072e-06/0.1214, allocations: 0 / 442.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.12e-06/0.1215, allocations: 0 / 442.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.613e-06/0.1215, allocations: 4 kB / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002063/0.1235, allocations: 0.5147 MB / 443.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.495e-05/0.1236, allocations: 4 kB / 443.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.014e-05/0.1236, allocations: 4 kB / 443.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.042e-05/0.1237, allocations: 11.98 kB / 443.3 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.844e-05/0.1238, allocations: 7.984 kB / 443.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.821e-06/0.1238, allocations: 0 / 443.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009966/0.1248, allocations: 0.6007 MB / 443.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.143e-06/0.1248, allocations: 4 kB / 443.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.86e-05/0.1248, allocations: 0 / 443.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007536/0.1256, allocations: 427.4 kB / 444.4 MB, free: 10.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1256, allocations: 0 / 444.4 MB, free: 10.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.1256, allocations: 0 / 444.4 MB, free: 10.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.1256, allocations: 3.938 kB / 444.4 MB, free: 10.27 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.0004851/0.1261, allocations: 421.3 kB / 444.8 MB, free: 9.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.1262, allocations: 8.031 kB / 444.8 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.121e-05/0.1262, allocations: 106 kB / 444.9 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.299e-05/0.1263, allocations: 84.2 kB / 445 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.1264, allocations: 243.6 kB / 445.2 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.299e-05/0.1265, allocations: 154.9 kB / 445.4 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.249e-05/0.1266, allocations: 158.5 kB / 445.5 MB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.447e-05/0.1266, allocations: 101 kB / 445.6 MB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.605e-05/0.1267, allocations: 75.28 kB / 445.7 MB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.817e-05/0.1267, allocations: 154.6 kB / 445.8 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.536e-05/0.1268, allocations: 150.6 kB / 446 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.124e-05/0.1269, allocations: 162.4 kB / 446.1 MB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/0.1272, allocations: 445.9 kB / 446.6 MB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.394e-05/0.1273, allocations: 173.1 kB / 446.7 MB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.046e-05/0.1273, allocations: 80.14 kB / 446.8 MB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.1273, allocations: 75.28 kB / 446.9 MB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.083e-05/0.1274, allocations: 135.5 kB / 447 MB, free: 7.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/0.1274, allocations: 0 / 447 MB, free: 7.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.667e-05/0.1275, allocations: 29.64 kB / 447.1 MB, free: 7.375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.1276, allocations: 156.4 kB / 447.2 MB, free: 7.203 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.772e-05/0.1276, allocations: 97.8 kB / 447.3 MB, free: 7.098 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1276, allocations: 29.7 kB / 447.3 MB, free: 7.062 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/0.1277, allocations: 80.14 kB / 447.4 MB, free: 6.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.1277, allocations: 0 / 447.4 MB, free: 6.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.1277, allocations: 17.7 kB / 447.4 MB, free: 6.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1278, allocations: 310.8 kB / 447.7 MB, free: 6.645 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.719e-06/0.1279, allocations: 0 / 447.7 MB, free: 6.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.345e-05/0.1279, allocations: 8 kB / 447.7 MB, free: 6.637 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.643e-05/0.1279, allocations: 75.28 kB / 447.8 MB, free: 6.562 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.351e-05/0.1279, allocations: 75.28 kB / 447.9 MB, free: 6.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.114e-05/0.128, allocations: 37.58 kB / 447.9 MB, free: 6.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.825e-05/0.1281, allocations: 83.28 kB / 448 MB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/0.1281, allocations: 75.28 kB / 448.1 MB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.404e-05/0.1282, allocations: 154.5 kB / 448.2 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.492e-05/0.1282, allocations: 87.25 kB / 448.3 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.001e-05/0.1282, allocations: 154.6 kB / 448.5 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.813e-05/0.1283, allocations: 79.36 kB / 448.5 MB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.1284, allocations: 79.3 kB / 448.6 MB, free: 5.742 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.0001149/0.1285, allocations: 260.4 kB / 448.9 MB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.689e-05/0.1285, allocations: 116.9 kB / 449 MB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.99e-05/0.1286, allocations: 116.1 kB / 449.1 MB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-05/0.1286, allocations: 176.3 kB / 449.3 MB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.684e-05/0.1287, allocations: 180.2 kB / 449.5 MB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.589e-05/0.1288, allocations: 176.3 kB / 449.6 MB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.129, allocations: 409.1 kB / 450 MB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.63e-05/0.1291, allocations: 109 kB / 450.1 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.15e-05/0.1291, allocations: 101 kB / 450.2 MB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.459e-05/0.1292, allocations: 184.2 kB / 450.4 MB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.307e-05/0.1293, allocations: 176.3 kB / 450.6 MB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.115e-05/0.1294, allocations: 184.2 kB / 450.8 MB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.118e-05/0.1295, allocations: 180.3 kB / 450.9 MB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.1296, allocations: 307.7 kB / 451.2 MB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.883e-05/0.1297, allocations: 186.1 kB / 451.4 MB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8e-05/0.1298, allocations: 184.1 kB / 451.6 MB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.86e-05/0.1298, allocations: 105 kB / 451.7 MB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.592e-05/0.1299, allocations: 188.3 kB / 451.9 MB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.629e-05/0.13, allocations: 108.9 kB / 452 MB, free: 2.145 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.631e-05/0.13, allocations: 75.28 kB / 452.1 MB, free: 2.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.13, allocations: 0 / 452.1 MB, free: 2.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005026/0.1305, allocations: 132 kB / 452.2 MB, free: 1.941 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.001078/0.1316, allocations: 1.049 MB / 453.2 MB, free: 0.875 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 5.481e-05/0.1317, allocations: 7.938 kB / 453.2 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1317, allocations: 0 / 453.2 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.654e-06/0.1317, allocations: 4 kB / 453.3 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.1321, allocations: 0.5224 MB / 453.8 MB, free: 344 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004644/0.1326, allocations: 223.8 kB / 454 MB, free: 80 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1839/0.3165, allocations: 0.6731 MB / 454.7 MB, free: 48.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.673e-05/0.3165, allocations: 0.8438 kB / 454.7 MB, free: 48.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.3165, allocations: 12.56 kB / 454.7 MB, free: 48.66 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3165, allocations: 0 / 454.7 MB, free: 48.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01587/0.3324, allocations: 3.816 MB / 458.5 MB, free: 48.25 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/0.3326, allocations: 223.3 kB / 458.7 MB, free: 48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/2.081, allocations: 0 / 458.7 MB, free: 48 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)