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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 117.9 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 192.7 kB / 20.07 MB, free: 2.992 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.546/1.546, allocations: 207.6 MB / 230.5 MB, free: 4.059 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.353/0.353, allocations: 44.23 MB / 326.5 MB, free: 6.836 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.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"}) [Timeout 660] "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.00237/0.00237, allocations: 83.88 kB / 462.2 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2889, allocations: 60.98 MB / 0.5109 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001422/0.2904, allocations: 0.4997 MB / 0.5114 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002388/0.2927, allocations: 2.237 MB / 0.5136 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.07e-06/0.2928, allocations: 1.875 kB / 0.5136 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.837e-06/0.2928, allocations: 0 / 0.5136 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.142e-06/0.2928, allocations: 0 / 0.5136 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.2946, allocations: 0.6165 MB / 0.5142 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.214e-05/0.2946, allocations: 6.688 kB / 0.5142 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.565e-05/0.2947, allocations: 7.984 kB / 0.5142 GB, free: 10.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.7e-05/0.2947, allocations: 14.16 kB / 0.5142 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.14e-05/0.2948, allocations: 7.297 kB / 0.5142 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.308e-06/0.2948, allocations: 0 / 0.5142 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008126/0.2956, allocations: 0.6461 MB / 0.5148 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.873e-06/0.2956, allocations: 0 / 0.5148 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.515e-05/0.2956, allocations: 6.188 kB / 0.5148 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004733/0.2961, allocations: 423.7 kB / 0.5152 GB, free: 10.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2961, allocations: 0 / 0.5152 GB, free: 10.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2961, allocations: 0 / 0.5152 GB, free: 10.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.2961, allocations: 4.875 kB / 0.5152 GB, free: 10.18 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.0002829/0.2964, allocations: 430.2 kB / 0.5156 GB, free: 9.742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.2964, allocations: 14.33 kB / 0.5157 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.183e-05/0.2964, allocations: 110 kB / 0.5158 GB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.2965, allocations: 81.41 kB / 0.5158 GB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.45e-05/0.2965, allocations: 235.7 kB / 0.5161 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.2966, allocations: 152.4 kB / 0.5162 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.2966, allocations: 154.5 kB / 0.5164 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.312e-05/0.2966, allocations: 105 kB / 0.5165 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.2966, allocations: 76.22 kB / 0.5165 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.2967, allocations: 155.6 kB / 0.5167 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.2967, allocations: 150.6 kB / 0.5168 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.136e-05/0.2967, allocations: 155.8 kB / 0.517 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.2968, allocations: 443.6 kB / 0.5174 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.771e-05/0.2969, allocations: 178.8 kB / 0.5176 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.502e-05/0.2969, allocations: 84.08 kB / 0.5177 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.2969, allocations: 75.28 kB / 0.5177 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.297, allocations: 136.8 kB / 0.5179 GB, free: 7.363 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.297, allocations: 0 / 0.5179 GB, free: 7.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.47e-05/0.297, allocations: 26.83 kB / 0.5179 GB, free: 7.332 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.2971, allocations: 157.8 kB / 0.518 GB, free: 7.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.433e-05/0.2971, allocations: 93.84 kB / 0.5181 GB, free: 7.059 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.385e-06/0.2971, allocations: 30.8 kB / 0.5181 GB, free: 7.023 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.438e-05/0.2971, allocations: 81.27 kB / 0.5182 GB, free: 6.941 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.2971, allocations: 3.984 kB / 0.5182 GB, free: 6.938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.067e-05/0.2971, allocations: 13.94 kB / 0.5182 GB, free: 6.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.877e-05/0.2972, allocations: 310.8 kB / 0.5185 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.499e-06/0.2972, allocations: 0 / 0.5185 GB, free: 6.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.982e-05/0.2972, allocations: 6.75 kB / 0.5185 GB, free: 6.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.233e-05/0.2972, allocations: 75.28 kB / 0.5186 GB, free: 6.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.2972, allocations: 75.28 kB / 0.5187 GB, free: 6.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.46e-05/0.2972, allocations: 36.55 kB / 0.5187 GB, free: 6.418 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.2973, allocations: 84.61 kB / 0.5188 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.2973, allocations: 81.25 kB / 0.5189 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.613e-05/0.2973, allocations: 158.6 kB / 0.519 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.402e-05/0.2973, allocations: 84.45 kB / 0.5191 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.296e-05/0.2974, allocations: 155.9 kB / 0.5193 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.229e-05/0.2974, allocations: 81.06 kB / 0.5193 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.2974, allocations: 75.28 kB / 0.5194 GB, free: 5.719 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 5.773e-05/0.2975, allocations: 258.8 kB / 0.5197 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.666e-05/0.2975, allocations: 114.7 kB / 0.5198 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.261e-05/0.2975, allocations: 113.4 kB / 0.5199 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.17e-05/0.2976, allocations: 182 kB / 0.52 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-05/0.2976, allocations: 180.2 kB / 0.5202 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.123e-05/0.2976, allocations: 177.5 kB / 0.5204 GB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.2977, allocations: 406.6 kB / 0.5208 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/0.2977, allocations: 110.2 kB / 0.5209 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.43e-05/0.2978, allocations: 102.5 kB / 0.521 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.389e-05/0.2978, allocations: 180.2 kB / 0.5212 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.2978, allocations: 181.5 kB / 0.5213 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.653e-05/0.2978, allocations: 181.5 kB / 0.5215 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.57e-05/0.2979, allocations: 185.8 kB / 0.5217 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.269e-05/0.2979, allocations: 314.5 kB / 0.522 GB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.645e-05/0.2979, allocations: 179.6 kB / 0.5221 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.298, allocations: 181.7 kB / 0.5223 GB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.407e-05/0.298, allocations: 102.5 kB / 0.5224 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.2981, allocations: 193.7 kB / 0.5226 GB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.2981, allocations: 106.6 kB / 0.5227 GB, free: 2.141 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.418e-05/0.2981, allocations: 75.28 kB / 0.5228 GB, free: 2.066 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2981, allocations: 0 / 0.5228 GB, free: 2.066 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004709/0.2986, allocations: 126.7 kB / 0.5229 GB, free: 2.039 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.0007894/0.2994, allocations: 1.048 MB / 0.5239 GB, free: 1.117 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.831e-05/0.2994, allocations: 5.312 kB / 0.5239 GB, free: 1.113 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2994, allocations: 0 / 0.5239 GB, free: 1.113 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.2994, allocations: 1.375 kB / 0.5239 GB, free: 1.113 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.2996, allocations: 464.5 kB / 0.5244 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/0.3, allocations: 244.9 kB / 0.5246 GB, free: 412 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.3002, allocations: 0.6729 MB / 0.5253 GB, free: 15.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.042e-06/0.3002, allocations: 0 / 0.5253 GB, free: 15.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.889e-06/0.3002, allocations: 7.438 kB / 0.5253 GB, free: 15.7 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3002, allocations: 3.938 kB / 0.5253 GB, free: 15.69 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/0.3307, allocations: 3.962 MB / 0.5291 GB, free: 11.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.217/8.547, allocations: 6.219 kB / 0.5291 GB, free: 11.72 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 & /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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.255328672938049] Failed to read output from testmodel.py, exit status != 0: 8.617310277651995 8.639522556 8.339670422 Calling exit ...