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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 113.7 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 211.2 kB / 20.1 MB, free: 2.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 207.6 MB / 230.5 MB, free: 4.012 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3573/0.3573, allocations: 44.24 MB / 326.6 MB, free: 6.805 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 72.47 kB / 462.2 MB, free: 0.918 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2825, allocations: 60.99 MB / 0.5109 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001728/0.2842, allocations: 0.5071 MB / 0.5114 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003138/0.2874, allocations: 2.234 MB / 0.5136 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.899e-06/0.2874, allocations: 0 / 0.5136 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.997e-06/0.2874, allocations: 0 / 0.5136 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.011e-06/0.2874, allocations: 1.156 kB / 0.5136 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.2892, allocations: 0.6121 MB / 0.5142 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.851e-05/0.2892, allocations: 9.344 kB / 0.5142 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.318e-05/0.2893, allocations: 9.062 kB / 0.5142 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.528e-05/0.2894, allocations: 17.84 kB / 0.5142 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.448e-05/0.2894, allocations: 4.094 kB / 0.5142 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.278e-06/0.2894, allocations: 0 / 0.5142 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008757/0.2903, allocations: 0.6388 MB / 0.5149 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.803e-06/0.2903, allocations: 3.984 kB / 0.5149 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.924e-05/0.2903, allocations: 9.469 kB / 0.5149 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005049/0.2908, allocations: 427.7 kB / 0.5153 GB, free: 10.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2908, allocations: 0 / 0.5153 GB, free: 10.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2908, allocations: 1.375 kB / 0.5153 GB, free: 10.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.2908, allocations: 0 / 0.5153 GB, free: 10.1 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.0004032/0.2912, allocations: 426.8 kB / 0.5157 GB, free: 9.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.2913, allocations: 13.48 kB / 0.5157 GB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.2913, allocations: 106 kB / 0.5158 GB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/0.2914, allocations: 85.58 kB / 0.5159 GB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.877e-05/0.2914, allocations: 243.6 kB / 0.5161 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.2914, allocations: 156.2 kB / 0.5163 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.2915, allocations: 154.5 kB / 0.5164 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.323e-05/0.2915, allocations: 102.4 kB / 0.5165 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.2915, allocations: 75.28 kB / 0.5166 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.2916, allocations: 155.9 kB / 0.5167 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.2916, allocations: 150.6 kB / 0.5169 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.921e-05/0.2916, allocations: 150.6 kB / 0.517 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.2918, allocations: 451.2 kB / 0.5174 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.213e-05/0.2919, allocations: 174.5 kB / 0.5176 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.2919, allocations: 80.14 kB / 0.5177 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.2919, allocations: 80.59 kB / 0.5178 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/0.292, allocations: 140.9 kB / 0.5179 GB, free: 7.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.292, allocations: 0 / 0.5179 GB, free: 7.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.854e-05/0.292, allocations: 31.02 kB / 0.5179 GB, free: 7.234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.2921, allocations: 156.4 kB / 0.5181 GB, free: 7.062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.756e-05/0.2921, allocations: 91.23 kB / 0.5182 GB, free: 6.965 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.2921, allocations: 25.7 kB / 0.5182 GB, free: 6.934 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.22e-05/0.2921, allocations: 81.52 kB / 0.5183 GB, free: 6.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-06/0.2921, allocations: 0 / 0.5183 GB, free: 6.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.272e-05/0.2921, allocations: 17.83 kB / 0.5183 GB, free: 6.832 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.822e-05/0.2922, allocations: 312.2 kB / 0.5186 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.219e-06/0.2922, allocations: 0 / 0.5186 GB, free: 6.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.091e-05/0.2922, allocations: 1.375 kB / 0.5186 GB, free: 6.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.391e-05/0.2923, allocations: 80.69 kB / 0.5187 GB, free: 6.441 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/0.2923, allocations: 75.28 kB / 0.5187 GB, free: 6.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.178e-05/0.2923, allocations: 40.33 kB / 0.5188 GB, free: 6.324 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.2923, allocations: 80.78 kB / 0.5189 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.2924, allocations: 75.28 kB / 0.5189 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.72e-05/0.2924, allocations: 160.1 kB / 0.5191 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.475e-05/0.2924, allocations: 84.61 kB / 0.5192 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.538e-05/0.2924, allocations: 154.6 kB / 0.5193 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.489e-05/0.2925, allocations: 80.59 kB / 0.5194 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.2925, allocations: 76.66 kB / 0.5195 GB, free: 5.633 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 6.534e-05/0.2926, allocations: 263.2 kB / 0.5197 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.2926, allocations: 106.3 kB / 0.5198 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.2926, allocations: 117.4 kB / 0.5199 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.702e-05/0.2927, allocations: 177.6 kB / 0.5201 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.844e-05/0.2927, allocations: 180.2 kB / 0.5203 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.621e-05/0.2927, allocations: 177.6 kB / 0.5204 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.2929, allocations: 406.5 kB / 0.5208 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.95e-05/0.2929, allocations: 110.3 kB / 0.5209 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.63e-05/0.2929, allocations: 106.3 kB / 0.521 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.064e-05/0.2929, allocations: 180.2 kB / 0.5212 GB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.293, allocations: 177.6 kB / 0.5214 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.1e-05/0.293, allocations: 185.6 kB / 0.5215 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.083e-05/0.293, allocations: 185.6 kB / 0.5217 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.614e-05/0.2931, allocations: 311.8 kB / 0.522 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.227e-05/0.2931, allocations: 186.1 kB / 0.5222 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/0.2932, allocations: 179 kB / 0.5224 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.822e-05/0.2932, allocations: 106.3 kB / 0.5225 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.2933, allocations: 185.6 kB / 0.5226 GB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.2933, allocations: 104.9 kB / 0.5227 GB, free: 2.059 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.047e-05/0.2933, allocations: 76.66 kB / 0.5228 GB, free: 1.984 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2933, allocations: 0 / 0.5228 GB, free: 1.984 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006071/0.2939, allocations: 134.7 kB / 0.5229 GB, free: 1.949 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.001056/0.295, allocations: 1.041 MB / 0.524 GB, free: 1.035 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.225e-05/0.295, allocations: 9.234 kB / 0.524 GB, free: 1.027 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.295, allocations: 0 / 0.524 GB, free: 1.027 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.295, allocations: 1.406 kB / 0.524 GB, free: 1.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.2953, allocations: 461.8 kB / 0.5244 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.2956, allocations: 245.5 kB / 0.5246 GB, free: 336 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.2959, allocations: 0.6729 MB / 0.5253 GB, free: 15.63 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.392e-06/0.2959, allocations: 1.406 kB / 0.5253 GB, free: 15.63 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.229e-05/0.2959, allocations: 8.844 kB / 0.5253 GB, free: 15.62 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2959, allocations: 0 / 0.5253 GB, free: 15.62 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/0.3228, allocations: 3.965 MB / 0.5292 GB, free: 11.7 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.157/8.48, allocations: 9.797 kB / 0.5292 GB, free: 11.69 MB / 398.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Math_TestNonlinear.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.281299002002925] Failed to read output from testmodel.py, exit status != 0: 8.557735497000976 8.57212856 8.278397343 Calling exit ...