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.001489/0.001489, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001577/0.001577, allocations: 214.8 kB / 23.77 MB, free: 4.551 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.509/1.509, allocations: 207.7 MB / 234.6 MB, free: 9.793 MB / 190.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.2197/0.2197, allocations: 44.26 MB / 331.1 MB, free: 9.324 MB / 270.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestNonlinear",fmuType="cs",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.0022/0.0022, allocations: 74.7 kB / 468.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1351, allocations: 61.04 MB / 0.5169 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.002166/0.1373, allocations: 0.5027 MB / 0.5174 GB, free: 6.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003633/0.1409, allocations: 2.111 MB / 0.5195 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.981e-06/0.1409, allocations: 0 / 0.5195 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.771e-06/0.141, allocations: 0 / 0.5195 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.623e-06/0.141, allocations: 0 / 0.5195 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002355/0.1433, allocations: 0.6159 MB / 0.5201 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.647e-05/0.1434, allocations: 8 kB / 0.5201 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.776e-05/0.1434, allocations: 7.984 kB / 0.5201 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.988e-05/0.1435, allocations: 7.984 kB / 0.5201 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.267e-05/0.1435, allocations: 12 kB / 0.5201 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.591e-06/0.1435, allocations: 0 / 0.5201 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.1447, allocations: 0.6358 MB / 0.5207 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.185e-06/0.1447, allocations: 0 / 0.5207 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.1448, allocations: 7.984 kB / 0.5207 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007211/0.1455, allocations: 431 kB / 0.5211 GB, free: 2.848 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1455, allocations: 4 kB / 0.5211 GB, free: 2.844 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1455, allocations: 4 kB / 0.5211 GB, free: 2.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1455, allocations: 0 / 0.5211 GB, free: 2.84 MB / 398.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.0004223/0.1459, allocations: 343.3 kB / 0.5215 GB, free: 2.469 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.146, allocations: 12.03 kB / 0.5215 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.471e-05/0.146, allocations: 79.47 kB / 0.5215 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.322e-05/0.1461, allocations: 106 kB / 0.5216 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.746e-05/0.1462, allocations: 76.22 kB / 0.5217 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.1463, allocations: 189.8 kB / 0.5219 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.463e-05/0.1463, allocations: 154.7 kB / 0.5221 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.862e-05/0.1464, allocations: 150.6 kB / 0.5222 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.628e-05/0.1465, allocations: 108.9 kB / 0.5223 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.796e-05/0.1465, allocations: 83.22 kB / 0.5224 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.12e-05/0.1466, allocations: 150.6 kB / 0.5225 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-05/0.1467, allocations: 150.6 kB / 0.5227 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.815e-05/0.1467, allocations: 158.6 kB / 0.5228 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.147, allocations: 409 kB / 0.5232 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.1471, allocations: 177 kB / 0.5234 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.29e-05/0.1472, allocations: 84.14 kB / 0.5235 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.062e-05/0.1472, allocations: 75.28 kB / 0.5235 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.315e-05/0.1473, allocations: 135.5 kB / 0.5237 GB, free: 100 kB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.1473, allocations: 0 / 0.5237 GB, free: 100 kB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.116e-05/0.1474, allocations: 33.7 kB / 0.5237 GB, free: 60 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.1475, allocations: 152.4 kB / 0.5238 GB, free: 15.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.001e-05/0.1476, allocations: 89.86 kB / 0.5239 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.1476, allocations: 25.7 kB / 0.5239 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.1476, allocations: 84.14 kB / 0.524 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/0.1476, allocations: 0 / 0.524 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.1477, allocations: 13.72 kB / 0.524 GB, free: 15.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1478, allocations: 318.8 kB / 0.5243 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.769e-06/0.1478, allocations: 0 / 0.5243 GB, free: 15.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.953e-05/0.1478, allocations: 37.62 kB / 0.5244 GB, free: 15.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.454e-05/0.1479, allocations: 75.28 kB / 0.5244 GB, free: 15.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-05/0.1479, allocations: 79.31 kB / 0.5245 GB, free: 15.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.978e-05/0.148, allocations: 33.64 kB / 0.5246 GB, free: 15.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.605e-05/0.148, allocations: 79.28 kB / 0.5246 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.469e-05/0.148, allocations: 79.22 kB / 0.5247 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.218e-05/0.1481, allocations: 154.6 kB / 0.5249 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.219e-05/0.1482, allocations: 75.28 kB / 0.5249 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.331e-05/0.1482, allocations: 158.5 kB / 0.5251 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.1483, allocations: 83.28 kB / 0.5252 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.1484, allocations: 83.27 kB / 0.5252 GB, free: 14.4 MB / 414.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.0001621/0.1485, allocations: 264.3 kB / 0.5255 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.089e-05/0.1486, allocations: 105 kB / 0.5256 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.504e-05/0.1487, allocations: 108 kB / 0.5257 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.054e-05/0.1487, allocations: 184.2 kB / 0.5259 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.79e-05/0.1488, allocations: 180.3 kB / 0.526 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.615e-05/0.1489, allocations: 184.2 kB / 0.5262 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.1492, allocations: 376.2 kB / 0.5266 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-05/0.1492, allocations: 109 kB / 0.5267 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.605e-05/0.1493, allocations: 104.9 kB / 0.5268 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001059/0.1494, allocations: 180.3 kB / 0.5269 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-05/0.1495, allocations: 184.2 kB / 0.5271 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.431e-05/0.1496, allocations: 180.3 kB / 0.5273 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.918e-05/0.1496, allocations: 180.2 kB / 0.5275 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.1498, allocations: 311.8 kB / 0.5278 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.1499, allocations: 112.9 kB / 0.5279 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.662e-05/0.1499, allocations: 184.2 kB / 0.528 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.753e-05/0.15, allocations: 101 kB / 0.5281 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.509e-05/0.1501, allocations: 180.2 kB / 0.5283 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.835e-05/0.1502, allocations: 109.4 kB / 0.5284 GB, free: 10.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.891e-05/0.1502, allocations: 75.28 kB / 0.5285 GB, free: 10.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1502, allocations: 0 / 0.5285 GB, free: 10.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005844/0.1508, allocations: 135.6 kB / 0.5286 GB, free: 10.73 MB / 414.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.001389/0.1522, allocations: 1.053 MB / 0.5297 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.16e-05/0.1522, allocations: 0 / 0.5297 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1522, allocations: 0 / 0.5297 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.1522, allocations: 0 / 0.5297 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.1527, allocations: 459.6 kB / 0.5301 GB, free: 9.203 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004831/0.1531, allocations: 257.3 kB / 0.5303 GB, free: 8.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.596e-05/0.1532, allocations: 51.36 kB / 0.5304 GB, free: 8.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.553e-06/0.1532, allocations: 0 / 0.5304 GB, free: 8.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.1532, allocations: 11.44 kB / 0.5304 GB, free: 8.828 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1532, allocations: 0 / 0.5304 GB, free: 8.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02694/0.1802, allocations: 4.165 MB / 0.5345 GB, free: 4.672 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.08, allocations: 5.062 kB / 0.5345 GB, free: 4.668 MB / 414.1 MB " [Timeout remaining time 648] (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: 15.184234805987217] Failed to read output from testmodel.py, exit status != 0: 12.239335481077433 12.465288119 12.317060287 Calling exit ...