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.001283/0.001283, allocations: 103.5 kB / 16.27 MB, free: 5.973 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.001231/0.001231, allocations: 188.6 kB / 17.19 MB, free: 5.605 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.45/1.45, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2114/0.2114, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.001415/0.001415, allocations: 64.16 kB / 382.8 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09843/0.09986, allocations: 57.79 MB / 440.6 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001477/0.1014, allocations: 0.4935 MB / 441.1 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.1036, allocations: 2.216 MB / 443.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.41e-06/0.1036, allocations: 0 / 443.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.847e-06/0.1036, allocations: 3.938 kB / 443.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 1.663e-06/0.1036, allocations: 0 / 443.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.1054, allocations: 0.6154 MB / 443.9 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.74e-05/0.1054, allocations: 8 kB / 443.9 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.488e-05/0.1055, allocations: 8 kB / 444 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.321e-05/0.1056, allocations: 8 kB / 444 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.319e-05/0.1056, allocations: 7.984 kB / 444 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.941e-06/0.1056, allocations: 0 / 444 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000714/0.1063, allocations: 0.6007 MB / 444.6 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.043e-06/0.1063, allocations: 0 / 444.6 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.257e-05/0.1064, allocations: 4 kB / 444.6 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004486/0.1068, allocations: 423.4 kB / 445 MB, free: 2.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1068, allocations: 7.984 kB / 445 MB, free: 2.441 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1068, allocations: 0 / 445 MB, free: 2.441 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1069, allocations: 0 / 445 MB, free: 2.441 MB / 318.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.0003151/0.1072, allocations: 425.2 kB / 445.4 MB, free: 1.973 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1072, allocations: 11.89 kB / 445.4 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.56e-05/0.1073, allocations: 110 kB / 445.5 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.612e-05/0.1073, allocations: 76.22 kB / 445.6 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.722e-05/0.1074, allocations: 235.7 kB / 445.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.1074, allocations: 154.9 kB / 446 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.1074, allocations: 154.5 kB / 446.1 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.217e-05/0.1075, allocations: 104.9 kB / 446.2 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1075, allocations: 75.28 kB / 446.3 MB, free: 1.012 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.1075, allocations: 158.5 kB / 446.5 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.1075, allocations: 158.5 kB / 446.6 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.277e-05/0.1076, allocations: 154.6 kB / 446.8 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.1077, allocations: 438 kB / 447.2 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.579e-05/0.1078, allocations: 177 kB / 447.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.283e-05/0.1079, allocations: 84.14 kB / 447.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.1079, allocations: 79.28 kB / 447.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.114e-05/0.108, allocations: 131.5 kB / 447.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.108, allocations: 0 / 447.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.801e-05/0.1081, allocations: 25.7 kB / 447.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.724e-05/0.1081, allocations: 164.3 kB / 447.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.321e-05/0.1082, allocations: 89.86 kB / 447.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.1082, allocations: 29.7 kB / 448 MB, free: 15.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.1082, allocations: 80.14 kB / 448 MB, free: 15.15 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.393e-06/0.1083, allocations: 0 / 448 MB, free: 15.15 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.1083, allocations: 13.72 kB / 448.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1084, allocations: 310.8 kB / 448.4 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.933e-06/0.1084, allocations: 11.94 kB / 448.4 MB, free: 14.81 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.106e-05/0.1084, allocations: 0 / 448.4 MB, free: 14.81 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.802e-05/0.1085, allocations: 75.28 kB / 448.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.11e-05/0.1085, allocations: 79.31 kB / 448.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.312e-05/0.1086, allocations: 37.62 kB / 448.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/0.1086, allocations: 79.28 kB / 448.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.894e-05/0.1087, allocations: 79.3 kB / 448.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.041e-05/0.1087, allocations: 162.6 kB / 448.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.512e-05/0.1088, allocations: 79.22 kB / 448.9 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.964e-05/0.1088, allocations: 158.5 kB / 449.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.222e-05/0.1089, allocations: 79.28 kB / 449.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.109, allocations: 83.22 kB / 449.3 MB, free: 13.9 MB / 334.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.0001211/0.1091, allocations: 264.3 kB / 449.5 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.1092, allocations: 108.9 kB / 449.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.273e-05/0.1092, allocations: 112 kB / 449.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.433e-05/0.1093, allocations: 180.3 kB / 449.9 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-05/0.1093, allocations: 180.3 kB / 450.1 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.318e-05/0.1094, allocations: 188.2 kB / 450.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.1097, allocations: 397.2 kB / 450.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.785e-05/0.1097, allocations: 104.9 kB / 450.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.535e-05/0.1098, allocations: 109 kB / 450.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.854e-05/0.1098, allocations: 180.2 kB / 451 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.358e-05/0.1099, allocations: 184.2 kB / 451.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.306e-05/0.11, allocations: 176.3 kB / 451.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.455e-05/0.1101, allocations: 188.2 kB / 451.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.1102, allocations: 311.8 kB / 451.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-05/0.1103, allocations: 182 kB / 452.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.84e-05/0.1104, allocations: 176.3 kB / 452.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.953e-05/0.1105, allocations: 108.9 kB / 452.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.333e-05/0.1106, allocations: 180.2 kB / 452.5 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/0.1106, allocations: 105 kB / 452.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.293e-05/0.1107, allocations: 79.22 kB / 452.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1107, allocations: 0 / 452.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005146/0.1112, allocations: 132 kB / 452.8 MB, free: 10.11 MB / 334.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.001089/0.1123, allocations: 1.052 MB / 453.9 MB, free: 9.047 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 5.187e-05/0.1123, allocations: 0 / 453.9 MB, free: 9.047 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1124, allocations: 0 / 453.9 MB, free: 9.047 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.068e-06/0.1124, allocations: 3.938 kB / 453.9 MB, free: 9.043 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.1127, allocations: 459.7 kB / 454.3 MB, free: 8.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004243/0.1132, allocations: 230 kB / 454.6 MB, free: 8.324 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.1134, allocations: 0.669 MB / 455.2 MB, free: 7.629 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.176e-06/0.1134, allocations: 3.938 kB / 455.2 MB, free: 7.625 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.673e-05/0.1134, allocations: 11.44 kB / 455.2 MB, free: 7.613 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1134, allocations: 0 / 455.2 MB, free: 7.613 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/0.1338, allocations: 3.939 MB / 459.2 MB, free: 3.684 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.115, allocations: 0 / 459.2 MB, free: 3.684 MB / 334.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)