Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean.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.001689/0.001689, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.002285/0.002285, allocations: 214 kB / 23.78 MB, free: 4.523 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.536/1.536, allocations: 207.7 MB / 234.6 MB, free: 9.773 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.2356/0.2356, allocations: 44.27 MB / 331.1 MB, free: 9.297 MB / 270.1 MB " [Timeout remaining time 179] 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.Blocks.Mean,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Mean",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Mean,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Mean",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.002253/0.002253, allocations: 75.89 kB / 468.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1331, allocations: 61.03 MB / 0.5169 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Mean): time 0.003866/0.137, allocations: 2.114 MB / 0.519 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.1386, allocations: 0.7761 MB / 0.5197 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.1387, allocations: 7.938 kB / 0.5197 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.1389, allocations: 39.53 kB / 0.5198 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.1391, allocations: 55.45 kB / 0.5198 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003509/0.1395, allocations: 143.7 kB / 0.52 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004211/0.1399, allocations: 363 kB / 0.5203 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000269/0.1402, allocations: 92.72 kB / 0.5204 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/0.1404, allocations: 147.4 kB / 0.5205 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.1406, allocations: 151.2 kB / 0.5207 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.024e-05/0.1407, allocations: 32 kB / 0.5207 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.608e-05/0.1407, allocations: 32 kB / 0.5207 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.1408, allocations: 83.75 kB / 0.5208 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.141, allocations: 127.3 kB / 0.5209 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005046/0.1415, allocations: 362.5 kB / 0.5213 GB, free: 2.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1415, allocations: 0 / 0.5213 GB, free: 2.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1415, allocations: 4 kB / 0.5213 GB, free: 2.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.1415, allocations: 0 / 0.5213 GB, free: 2.664 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001328/0.1428, allocations: 0.6719 MB / 0.522 GB, free: 1.949 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.1429, allocations: 12.03 kB / 0.522 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.062e-05/0.1429, allocations: 12.83 kB / 0.522 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001264/0.1431, allocations: 83.27 kB / 0.5221 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.331e-05/0.1432, allocations: 44.7 kB / 0.5221 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005543/0.1437, allocations: 269.5 kB / 0.5224 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.018e-05/0.1438, allocations: 29.03 kB / 0.5224 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-05/0.1438, allocations: 44.08 kB / 0.5224 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006648/0.1445, allocations: 286 kB / 0.5227 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/0.1445, allocations: 15.88 kB / 0.5227 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.608e-05/0.1446, allocations: 12 kB / 0.5227 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.1446, allocations: 8 kB / 0.5227 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000469/0.145, allocations: 214.4 kB / 0.5229 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.1465, allocations: 0.7301 MB / 0.5237 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005343/0.147, allocations: 236 kB / 0.5239 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/0.1473, allocations: 129.5 kB / 0.524 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/0.1473, allocations: 4.328 kB / 0.524 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005199/0.1478, allocations: 266.1 kB / 0.5243 GB, free: 15.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 2.044e-06/0.1478, allocations: 0 / 0.5243 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.002064/0.1499, allocations: 0.8244 MB / 0.5251 GB, free: 14.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/0.1499, allocations: 67.83 kB / 0.5251 GB, free: 14.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/0.1502, allocations: 237 kB / 0.5254 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.85e-05/0.1503, allocations: 41.7 kB / 0.5254 GB, free: 14.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.1504, allocations: 165.1 kB / 0.5255 GB, free: 14.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.1506, allocations: 186.4 kB / 0.5257 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.1508, allocations: 102.3 kB / 0.5258 GB, free: 13.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.1509, allocations: 350.7 kB / 0.5262 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/0.1512, allocations: 129.2 kB / 0.5263 GB, free: 13.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004315/0.1517, allocations: 298.2 kB / 0.5266 GB, free: 12.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008108/0.1525, allocations: 467.3 kB / 0.527 GB, free: 12.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1525, allocations: 4 kB / 0.527 GB, free: 12.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009717/0.1534, allocations: 0.5005 MB / 0.5275 GB, free: 11.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.1535, allocations: 8 kB / 0.5275 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.1535, allocations: 4.562 kB / 0.5275 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.141e-05/0.1535, allocations: 12 kB / 0.5275 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004859/0.154, allocations: 123.7 kB / 0.5276 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.949e-05/0.154, allocations: 8 kB / 0.5277 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.1542, allocations: 27.92 kB / 0.5277 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.694e-05/0.1543, allocations: 20 kB / 0.5277 GB, free: 11.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y,rectifiedMean.mean.y,$PRE.rectifiedMean.mean.y,mean.y,$PRE.mean.y,harmonic.mean1.y,$PRE.harmonic.mean1.y,harmonic.mean2.y,$PRE.harmonic.mean2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0002801/0.1546, allocations: 185.5 kB / 0.5279 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.1546, allocations: 31.81 kB / 0.5279 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.1557, allocations: 473.5 kB / 0.5284 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.1557, allocations: 4 kB / 0.5284 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1557, allocations: 0 / 0.5284 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.1557, allocations: 11.92 kB / 0.5284 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/0.1576, allocations: 0.975 MB / 0.5293 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.1576, allocations: 4 kB / 0.5293 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004077/0.1581, allocations: 87.83 kB / 0.5294 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.1581, allocations: 7.938 kB / 0.5294 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.646e-05/0.1581, allocations: 19.98 kB / 0.5294 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.827e-06/0.1581, allocations: 4 kB / 0.5294 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.1581, allocations: 8.156 kB / 0.5295 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.1595, allocations: 0.7479 MB / 0.5302 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.795e-05/0.1595, allocations: 27.77 kB / 0.5302 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.968e-05/0.1596, allocations: 20.05 kB / 0.5302 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.1598, allocations: 16.12 kB / 0.5302 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.16, allocations: 52.23 kB / 0.5303 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.912e-05/0.16, allocations: 31.98 kB / 0.5303 GB, free: 8.945 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002023/0.1602, allocations: 164.5 kB / 0.5305 GB, free: 8.781 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1602, allocations: 0 / 0.5305 GB, free: 8.781 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004564/0.1607, allocations: 76 kB / 0.5306 GB, free: 8.707 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (harmonic.mean2.x,harmonic.mean1.x,rootMeanSquare.mean.x,rectifiedMean.mean.x,mean.x) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,harmonic.mean2.y,harmonic.mean1.y,rootMeanSquare.mean.y,rectifiedMean.mean.y,mean.y) * Number of discrete states: 5 (harmonic.mean2.x,harmonic.mean1.x,rootMeanSquare.mean.x,rectifiedMean.mean.x,mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001767/0.1624, allocations: 1.308 MB / 0.5318 GB, free: 7.352 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008473/0.1633, allocations: 374.5 kB / 0.5322 GB, free: 6.988 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.1633, allocations: 1.125 kB / 0.5322 GB, free: 6.988 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004088/0.1637, allocations: 194.7 kB / 0.5324 GB, free: 6.793 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004621/0.1642, allocations: 48.36 kB / 0.5324 GB, free: 6.746 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005267/0.1694, allocations: 3.67 MB / 0.536 GB, free: 2.816 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.1697, allocations: 204.6 kB / 0.5362 GB, free: 2.598 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002069/0.1699, allocations: 59.53 kB / 0.5363 GB, free: 2.539 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.1701, allocations: 127.5 kB / 0.5364 GB, free: 2.414 MB / 414.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1701, allocations: 3.938 kB / 0.5364 GB, free: 2.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2979/0.468, allocations: 7.422 MB / 0.5436 GB, free: 29.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.58, allocations: 5.75 kB / 0.5436 GB, free: 29.12 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_Mean_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219736 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_Mean.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.683887646067888] Failed to read output from testmodel.py, exit status != 0: ['time', 'mean.x', 'mean.y'] 12.748247382929549 12.768803612 12.624299131 Calling exit ...