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.0008101/0.0008101, allocations: 88.19 kB / 15.7 MB, free: 460 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.001165/0.001165, allocations: 175.2 kB / 16.58 MB, free: 6.84 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.55/1.55, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.3655/0.3655, allocations: 43.55 MB / 314.6 MB, free: 9.055 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.0005273/0.0005274, allocations: 20.2 kB / 384 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1171, allocations: 58.86 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.0005181/0.1177, allocations: 224.4 kB / 443.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00278/0.1205, allocations: 2.115 MB / 445.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.7e-06/0.1205, allocations: 4 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.948e-06/0.1205, allocations: 0 / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.803e-06/0.1205, allocations: 0 / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.1225, allocations: 0.5069 MB / 445.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.173e-05/0.1225, allocations: 4 kB / 445.7 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.807e-05/0.1226, allocations: 3.938 kB / 445.7 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.187e-05/0.1227, allocations: 23.91 kB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.492e-05/0.1227, allocations: 4 kB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.157e-06/0.1227, allocations: 4 kB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009009/0.1236, allocations: 0.5578 MB / 446.3 MB, free: 9.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.48e-06/0.1236, allocations: 0 / 446.3 MB, free: 9.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.1237, allocations: 33.64 kB / 446.4 MB, free: 9.699 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004643/0.1241, allocations: 287.6 kB / 446.6 MB, free: 9.418 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1241, allocations: 0 / 446.6 MB, free: 9.418 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1242, allocations: 0 / 446.6 MB, free: 9.418 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.758e-06/0.1242, allocations: 0 / 446.6 MB, free: 9.418 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.0003994/0.1246, allocations: 421 kB / 447 MB, free: 8.953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1246, allocations: 12.03 kB / 447.1 MB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.591e-05/0.1247, allocations: 109.8 kB / 447.2 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.468e-05/0.1247, allocations: 79.23 kB / 447.2 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.972e-05/0.1249, allocations: 238.3 kB / 447.5 MB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.459e-05/0.1249, allocations: 150.6 kB / 447.6 MB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.696e-05/0.125, allocations: 158.6 kB / 447.8 MB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.832e-05/0.125, allocations: 105 kB / 447.9 MB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.1251, allocations: 75.28 kB / 447.9 MB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.273e-05/0.1251, allocations: 150.6 kB / 448.1 MB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.436e-05/0.1252, allocations: 154.5 kB / 448.2 MB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.055e-05/0.1252, allocations: 158.5 kB / 448.4 MB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/0.1255, allocations: 446 kB / 448.8 MB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.755e-05/0.1256, allocations: 169.1 kB / 449 MB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.1257, allocations: 80.14 kB / 449.1 MB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.1257, allocations: 75.28 kB / 449.2 MB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.854e-05/0.1258, allocations: 139.5 kB / 449.3 MB, free: 6.559 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 7.32e-07/0.1258, allocations: 0 / 449.3 MB, free: 6.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.835e-05/0.1259, allocations: 33.64 kB / 449.3 MB, free: 6.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.956e-05/0.1259, allocations: 156.4 kB / 449.5 MB, free: 6.348 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.523e-05/0.126, allocations: 89.86 kB / 449.6 MB, free: 6.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.126, allocations: 25.7 kB / 449.6 MB, free: 6.219 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.126, allocations: 88.14 kB / 449.7 MB, free: 6.129 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.1261, allocations: 4 kB / 449.7 MB, free: 6.125 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-07/0.1261, allocations: 0 / 449.7 MB, free: 6.125 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1262, allocations: 314.8 kB / 450 MB, free: 5.809 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.03e-06/0.1262, allocations: 0 / 450 MB, free: 5.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.151e-05/0.1262, allocations: 0 / 450 MB, free: 5.809 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.454e-05/0.1263, allocations: 79.28 kB / 450.1 MB, free: 5.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.616e-05/0.1263, allocations: 75.28 kB / 450.1 MB, free: 5.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.877e-05/0.1264, allocations: 29.64 kB / 450.2 MB, free: 5.621 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/0.1264, allocations: 91.25 kB / 450.3 MB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-05/0.1264, allocations: 75.28 kB / 450.3 MB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.407e-05/0.1265, allocations: 154.5 kB / 450.5 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.159e-05/0.1265, allocations: 79.22 kB / 450.6 MB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.077e-05/0.1266, allocations: 158.6 kB / 450.7 MB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.509e-05/0.1267, allocations: 79.36 kB / 450.8 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.1267, allocations: 83.23 kB / 450.9 MB, free: 4.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.1269, allocations: 272.3 kB / 451.1 MB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.543e-05/0.1269, allocations: 104.9 kB / 451.2 MB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.837e-05/0.127, allocations: 112.1 kB / 451.3 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.063e-05/0.127, allocations: 184.3 kB / 451.5 MB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-05/0.1271, allocations: 180.2 kB / 451.7 MB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.304e-05/0.1272, allocations: 180.3 kB / 451.9 MB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.1274, allocations: 413.1 kB / 452.3 MB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.846e-05/0.1275, allocations: 101 kB / 452.4 MB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.642e-05/0.1275, allocations: 109 kB / 452.5 MB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.917e-05/0.1276, allocations: 180.2 kB / 452.7 MB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-05/0.1277, allocations: 184.3 kB / 452.8 MB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.775e-05/0.1277, allocations: 184.2 kB / 453 MB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.528e-05/0.1278, allocations: 176.3 kB / 453.2 MB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.1279, allocations: 307.7 kB / 453.5 MB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-05/0.128, allocations: 186.1 kB / 453.7 MB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.139e-05/0.1281, allocations: 184.2 kB / 453.9 MB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.06e-05/0.1281, allocations: 101 kB / 454 MB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.126e-05/0.1282, allocations: 188.3 kB / 454.1 MB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/0.1283, allocations: 104.9 kB / 454.2 MB, free: 1.309 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.043e-05/0.1283, allocations: 75.28 kB / 454.3 MB, free: 1.234 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1283, allocations: 0 / 454.3 MB, free: 1.234 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005302/0.1289, allocations: 136 kB / 454.5 MB, free: 1.102 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001099/0.13, allocations: 1.038 MB / 455.5 MB, free: 48 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.621e-05/0.13, allocations: 3.938 kB / 455.5 MB, free: 44 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.13, allocations: 4 kB / 455.5 MB, free: 40 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.13, allocations: 0 / 455.5 MB, free: 40 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.234/0.3641, allocations: 0.5152 MB / 456 MB, free: 46.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006308/0.3647, allocations: 228.5 kB / 456.2 MB, free: 46.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.3649, allocations: 0.6724 MB / 456.9 MB, free: 45.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.977e-06/0.3649, allocations: 0 / 456.9 MB, free: 45.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.785e-05/0.3649, allocations: 7.438 kB / 456.9 MB, free: 45.66 MB / 382.1 MB Notification: Performance of SimCode: time 1.483e-06/0.3649, allocations: 0 / 456.9 MB, free: 45.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01577/0.3807, allocations: 3.754 MB / 460.7 MB, free: 45.32 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001456/0.3809, allocations: 212.6 kB / 460.9 MB, free: 45.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/2.181, allocations: 0 / 460.9 MB, free: 45.08 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/linux/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) Environment - environmentSimulation: