Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001678/0.001678, allocations: 117.3 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002082/0.002082, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.622/1.622, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2422/0.2422, allocations: 46.9 MB / 357.4 MB, free: 10.48 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Exponentiation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Exponentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Exponentiation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Exponentiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 75.88 kB / 0.4912 GB, free: 8.355 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1482, allocations: 65.99 MB / 0.5557 GB, free: 6.23 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.003009/0.1512, allocations: 1.686 MB / 0.5573 GB, free: 4.523 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002248/0.1514, allocations: 81.36 kB / 0.5574 GB, free: 4.445 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.949e-05/0.1515, allocations: 4 kB / 0.5574 GB, free: 4.441 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 3.341e-05/0.1515, allocations: 11.81 kB / 0.5574 GB, free: 4.43 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 3.893e-05/0.1516, allocations: 7.875 kB / 0.5574 GB, free: 4.422 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.16e-05/0.1517, allocations: 23.97 kB / 0.5575 GB, free: 4.398 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.1518, allocations: 83.81 kB / 0.5575 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.77e-05/0.1519, allocations: 41.38 kB / 0.5576 GB, free: 4.273 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.365e-05/0.1519, allocations: 39.78 kB / 0.5576 GB, free: 4.234 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.433e-05/0.152, allocations: 39.78 kB / 0.5577 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.152, allocations: 4 kB / 0.5577 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.207e-05/0.152, allocations: 8 kB / 0.5577 GB, free: 4.184 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.246e-05/0.1521, allocations: 19.92 kB / 0.5577 GB, free: 4.164 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.424e-05/0.1521, allocations: 39.73 kB / 0.5577 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.1522, allocations: 75.59 kB / 0.5578 GB, free: 4.051 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1522, allocations: 0 / 0.5578 GB, free: 4.051 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1522, allocations: 0 / 0.5578 GB, free: 4.051 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.1522, allocations: 4 kB / 0.5578 GB, free: 4.047 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005739/0.1528, allocations: 399.2 kB / 0.5582 GB, free: 3.605 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1529, allocations: 11.97 kB / 0.5582 GB, free: 3.594 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.665e-05/0.1529, allocations: 46.73 kB / 0.5582 GB, free: 3.539 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.1529, allocations: 12.84 kB / 0.5582 GB, free: 3.527 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.1532, allocations: 204.2 kB / 0.5584 GB, free: 3.289 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.1532, allocations: 12.56 kB / 0.5585 GB, free: 3.277 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.1533, allocations: 8.375 kB / 0.5585 GB, free: 3.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.1535, allocations: 119.4 kB / 0.5586 GB, free: 3.141 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1535, allocations: 3.984 kB / 0.5586 GB, free: 3.137 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.1536, allocations: 4 kB / 0.5586 GB, free: 3.133 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1536, allocations: 4 kB / 0.5586 GB, free: 3.129 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.1538, allocations: 79.89 kB / 0.5587 GB, free: 3.051 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006047/0.1544, allocations: 448.7 kB / 0.5591 GB, free: 2.559 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.1546, allocations: 82.41 kB / 0.5592 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.1547, allocations: 36.88 kB / 0.5592 GB, free: 2.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.1547, allocations: 4 kB / 0.5592 GB, free: 2.426 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.1547, allocations: 30.56 kB / 0.5592 GB, free: 2.387 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.1547, allocations: 0 / 0.5592 GB, free: 2.387 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004075/0.1552, allocations: 129.8 kB / 0.5594 GB, free: 2.254 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.1552, allocations: 59.34 kB / 0.5594 GB, free: 2.184 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.1553, allocations: 131.2 kB / 0.5595 GB, free: 2.047 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.1553, allocations: 29.7 kB / 0.5596 GB, free: 2.012 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.266e-05/0.1554, allocations: 108.2 kB / 0.5597 GB, free: 1.898 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.1554, allocations: 31.73 kB / 0.5597 GB, free: 1.867 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.1555, allocations: 17.72 kB / 0.5597 GB, free: 1.844 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1556, allocations: 322.8 kB / 0.56 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.512e-05/0.1557, allocations: 19.98 kB / 0.5601 GB, free: 1.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.1558, allocations: 49.69 kB / 0.5601 GB, free: 1.445 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.156, allocations: 73.61 kB / 0.5602 GB, free: 1.367 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.156, allocations: 3.938 kB / 0.5602 GB, free: 1.363 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002563/0.1563, allocations: 113.9 kB / 0.5603 GB, free: 1.246 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1563, allocations: 11.94 kB / 0.5603 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1563, allocations: 0 / 0.5603 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1563, allocations: 0 / 0.5603 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.1565, allocations: 23.92 kB / 0.5603 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1565, allocations: 0 / 0.5603 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.44e-05/0.1565, allocations: 11.92 kB / 0.5603 GB, free: 1.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.1565, allocations: 4 kB / 0.5603 GB, free: 1.195 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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 9.981e-05/0.1566, allocations: 121.8 kB / 0.5604 GB, free: 1.066 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.1567, allocations: 7.953 kB / 0.5605 GB, free: 1.059 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003055/0.157, allocations: 118.3 kB / 0.5606 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.157, allocations: 0 / 0.5606 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.157, allocations: 0 / 0.5606 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.157, allocations: 0 / 0.5606 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.1572, allocations: 205.5 kB / 0.5608 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1572, allocations: 0 / 0.5608 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.5e-05/0.1573, allocations: 23.98 kB / 0.5608 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1573, allocations: 0 / 0.5608 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.1573, allocations: 192 / 0.5608 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1573, allocations: 0 / 0.5608 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1573, allocations: 3.938 kB / 0.5608 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/0.1576, allocations: 199.3 kB / 0.561 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.459e-05/0.1577, allocations: 89.05 kB / 0.5611 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.1577, allocations: 8 kB / 0.5611 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.492e-05/0.1578, allocations: 4 kB / 0.5611 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.1578, allocations: 7.984 kB / 0.5611 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.1578, allocations: 4 kB / 0.5611 GB, free: 324 kB / 414.1 MB Notification: Performance of sorting global known variables: time 7.375e-05/0.1579, allocations: 101 kB / 0.5612 GB, free: 224 kB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1579, allocations: 0 / 0.5612 GB, free: 224 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002289/0.1581, allocations: 15.94 kB / 0.5612 GB, free: 208 kB / 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 (8): * Single equations (assignments): 8 * 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.0006214/0.1587, allocations: 0.728 MB / 0.5619 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002626/0.159, allocations: 71.88 kB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.159, allocations: 0 / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.1591, allocations: 43.97 kB / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.1594, allocations: 8 kB / 0.562 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.1612, allocations: 1.497 MB / 0.5635 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.1616, allocations: 0.7002 MB / 0.5642 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.943e-05/0.1616, allocations: 8.422 kB / 0.5642 GB, free: 13.01 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.694e-05/0.1617, allocations: 23.44 kB / 0.5642 GB, free: 12.99 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1617, allocations: 4 kB / 0.5642 GB, free: 12.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.1846, allocations: 1.99 MB / 0.5662 GB, free: 11.06 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.164/8.349, allocations: 6.531 kB / 0.5662 GB, free: 11.05 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Exponentiation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Exponentiation.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.53656685212627] Failed to read output from testmodel.py, exit status != 0: 8.41930424887687 8.435205064 8.280085398 Calling exit ...