Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001718/0.001718, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.001898/0.001898, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.509/1.509, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.237/0.237, allocations: 46.88 MB / 357.4 MB, free: 10.54 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Blocks_Exponentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Exponentiation,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Exponentiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 83.86 kB / 0.4912 GB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1433, allocations: 65.98 MB / 0.5556 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.00309/0.1464, allocations: 1.699 MB / 0.5573 GB, free: 4.758 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002898/0.1467, allocations: 77.38 kB / 0.5574 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.161e-05/0.1468, allocations: 7.938 kB / 0.5574 GB, free: 4.676 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 4.021e-05/0.1468, allocations: 7.875 kB / 0.5574 GB, free: 4.668 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.494e-05/0.1469, allocations: 11.86 kB / 0.5574 GB, free: 4.656 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.147, allocations: 27.97 kB / 0.5574 GB, free: 4.629 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.1471, allocations: 83.75 kB / 0.5575 GB, free: 4.547 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.1473, allocations: 41.38 kB / 0.5575 GB, free: 4.504 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.48e-05/0.1474, allocations: 31.86 kB / 0.5576 GB, free: 4.473 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.35e-05/0.1475, allocations: 43.77 kB / 0.5576 GB, free: 4.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.1475, allocations: 4 kB / 0.5576 GB, free: 4.426 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.478e-05/0.1475, allocations: 8 kB / 0.5576 GB, free: 4.418 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.805e-05/0.1475, allocations: 19.92 kB / 0.5576 GB, free: 4.398 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.93e-05/0.1476, allocations: 39.73 kB / 0.5577 GB, free: 4.359 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.1477, allocations: 79.58 kB / 0.5578 GB, free: 4.281 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1477, allocations: 0 / 0.5578 GB, free: 4.281 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1477, allocations: 3.938 kB / 0.5578 GB, free: 4.277 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.1478, allocations: 4 kB / 0.5578 GB, free: 4.273 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.0005727/0.1483, allocations: 399.2 kB / 0.5582 GB, free: 3.832 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.1484, allocations: 8.031 kB / 0.5582 GB, free: 3.824 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.969e-05/0.1484, allocations: 42.73 kB / 0.5582 GB, free: 3.773 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.1485, allocations: 12.84 kB / 0.5582 GB, free: 3.762 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.1488, allocations: 207.7 kB / 0.5584 GB, free: 3.523 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.1488, allocations: 12.56 kB / 0.5584 GB, free: 3.512 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.1488, allocations: 12.38 kB / 0.5584 GB, free: 3.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/0.1491, allocations: 115.5 kB / 0.5585 GB, free: 3.375 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1491, allocations: 0 / 0.5585 GB, free: 3.375 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1491, allocations: 4 kB / 0.5585 GB, free: 3.371 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.1491, allocations: 4 kB / 0.5586 GB, free: 3.367 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.1494, allocations: 83.83 kB / 0.5586 GB, free: 3.285 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006664/0.1501, allocations: 448.7 kB / 0.5591 GB, free: 2.793 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.1503, allocations: 70.48 kB / 0.5591 GB, free: 2.715 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.1504, allocations: 40.86 kB / 0.5592 GB, free: 2.672 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.1504, allocations: 4 kB / 0.5592 GB, free: 2.668 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.1505, allocations: 34.56 kB / 0.5592 GB, free: 2.625 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.1505, allocations: 0 / 0.5592 GB, free: 2.625 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004411/0.1509, allocations: 129.7 kB / 0.5593 GB, free: 2.492 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.1509, allocations: 55.41 kB / 0.5594 GB, free: 2.426 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.1511, allocations: 127.7 kB / 0.5595 GB, free: 2.293 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.1511, allocations: 29.7 kB / 0.5595 GB, free: 2.258 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.883e-05/0.1512, allocations: 108.2 kB / 0.5596 GB, free: 2.145 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.1512, allocations: 35.8 kB / 0.5597 GB, free: 2.109 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.1513, allocations: 21.66 kB / 0.5597 GB, free: 2.082 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.1514, allocations: 322.8 kB / 0.56 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.1515, allocations: 23.97 kB / 0.56 GB, free: 1.734 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.1516, allocations: 49.64 kB / 0.5601 GB, free: 1.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.1519, allocations: 69.67 kB / 0.5601 GB, free: 1.605 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1519, allocations: 3.938 kB / 0.5601 GB, free: 1.602 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002642/0.1521, allocations: 113.5 kB / 0.5602 GB, free: 1.484 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.1521, allocations: 8 kB / 0.5603 GB, free: 1.477 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1522, allocations: 0 / 0.5603 GB, free: 1.477 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1522, allocations: 7.922 kB / 0.5603 GB, free: 1.469 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.1523, allocations: 19.98 kB / 0.5603 GB, free: 1.449 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1523, allocations: 400 / 0.5603 GB, free: 1.449 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.186e-05/0.1524, allocations: 4 kB / 0.5603 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.1524, allocations: 4 kB / 0.5603 GB, free: 1.441 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 0.0001138/0.1525, allocations: 129.8 kB / 0.5604 GB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.1525, allocations: 11.94 kB / 0.5604 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003235/0.1529, allocations: 118.3 kB / 0.5605 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.1529, allocations: 0 / 0.5605 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1529, allocations: 0 / 0.5605 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1529, allocations: 0 / 0.5605 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.1531, allocations: 201.5 kB / 0.5607 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1531, allocations: 0 / 0.5607 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.932e-05/0.1532, allocations: 23.98 kB / 0.5607 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1532, allocations: 0 / 0.5607 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.1532, allocations: 0 / 0.5607 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1532, allocations: 0 / 0.5607 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1532, allocations: 0 / 0.5607 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.1536, allocations: 203.3 kB / 0.5609 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.704e-05/0.1536, allocations: 89.06 kB / 0.561 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.1537, allocations: 4 kB / 0.561 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.91e-05/0.1537, allocations: 7.984 kB / 0.561 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.1538, allocations: 4 kB / 0.561 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.1538, allocations: 0 / 0.561 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.996e-05/0.1539, allocations: 101.4 kB / 0.5611 GB, free: 476 kB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1539, allocations: 0 / 0.5611 GB, free: 476 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002344/0.1541, allocations: 19.94 kB / 0.5612 GB, free: 456 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.0006637/0.1548, allocations: 0.7359 MB / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002659/0.155, allocations: 67.94 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.155, allocations: 3.938 kB / 0.5619 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.1552, allocations: 36.05 kB / 0.562 GB, free: 15.58 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.1554, allocations: 10.34 kB / 0.562 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.1573, allocations: 1.508 MB / 0.5635 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.1577, allocations: 0.7041 MB / 0.5642 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.751e-05/0.1577, allocations: 4.438 kB / 0.5642 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.933e-05/0.1578, allocations: 27.42 kB / 0.5642 GB, free: 13.21 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1578, allocations: 4 kB / 0.5642 GB, free: 13.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.1825, allocations: 1.992 MB / 0.5661 GB, free: 11.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.313/8.496, allocations: 2.5 kB / 0.5661 GB, free: 11.29 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Exponentiation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Exponentiation.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.416161486878991] Failed to read output from testmodel.py, exit status != 0: 8.562293183989823 8.577940027 8.42704315 Calling exit ...