Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.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.001346/0.001346, allocations: 116.5 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.001458/0.001458, allocations: 216.9 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.506/1.506, allocations: 230.2 MB / 254.5 MB, free: 15.4 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.2472/0.2472, allocations: 46.89 MB / 357.4 MB, free: 10.52 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.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_Inertia",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.002371/0.002371, allocations: 80.39 kB / 0.4912 GB, free: 26.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.128, allocations: 65.98 MB / 0.5556 GB, free: 9.148 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004829/0.1329, allocations: 3.097 MB / 0.5587 GB, free: 6.027 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009687/0.1338, allocations: 414.5 kB / 0.5591 GB, free: 5.621 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.134, allocations: 11.94 kB / 0.5591 GB, free: 5.609 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.1342, allocations: 63.31 kB / 0.5591 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003495/0.1345, allocations: 162.6 kB / 0.5593 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.1348, allocations: 111.8 kB / 0.5594 GB, free: 5.277 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005821/0.1354, allocations: 0.5287 MB / 0.5599 GB, free: 4.746 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002593/0.1356, allocations: 124.8 kB / 0.56 GB, free: 4.621 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.1359, allocations: 199.3 kB / 0.5602 GB, free: 4.426 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002849/0.1362, allocations: 219 kB / 0.5604 GB, free: 4.211 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.506e-05/0.1362, allocations: 40 kB / 0.5605 GB, free: 4.172 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.25e-05/0.1363, allocations: 44 kB / 0.5605 GB, free: 4.129 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.833e-05/0.1364, allocations: 95.67 kB / 0.5606 GB, free: 4.035 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002546/0.1366, allocations: 246.9 kB / 0.5608 GB, free: 3.793 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006509/0.1373, allocations: 0.5293 MB / 0.5613 GB, free: 3.262 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1373, allocations: 0 / 0.5613 GB, free: 3.262 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1373, allocations: 0 / 0.5613 GB, free: 3.262 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.1373, allocations: 0 / 0.5613 GB, free: 3.262 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001126/0.1384, allocations: 0.7247 MB / 0.5621 GB, free: 2.484 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1385, allocations: 12.03 kB / 0.5621 GB, free: 2.473 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/0.1386, allocations: 90.7 kB / 0.5622 GB, free: 2.375 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.607e-05/0.1387, allocations: 56.55 kB / 0.5622 GB, free: 2.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.1391, allocations: 291.6 kB / 0.5625 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.718e-05/0.1391, allocations: 37.38 kB / 0.5625 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.621e-05/0.1392, allocations: 56.27 kB / 0.5626 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007089/0.1399, allocations: 458.7 kB / 0.563 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.073e-05/0.1399, allocations: 19.88 kB / 0.563 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/0.14, allocations: 16 kB / 0.563 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.14, allocations: 12 kB / 0.5631 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004538/0.1405, allocations: 263.6 kB / 0.5633 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002506/0.143, allocations: 1.7 MB / 0.565 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006025/0.1436, allocations: 395.5 kB / 0.5653 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.1438, allocations: 159.6 kB / 0.5655 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.1438, allocations: 4 kB / 0.5655 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/0.1438, allocations: 50.5 kB / 0.5656 GB, free: 14.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=42): time 2.494e-06/0.1438, allocations: 0 / 0.5656 GB, free: 14.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008024/0.1447, allocations: 353.5 kB / 0.5659 GB, free: 14.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001889/0.1448, allocations: 273 kB / 0.5661 GB, free: 13.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002956/0.1451, allocations: 251.3 kB / 0.5664 GB, free: 13.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.1452, allocations: 29.7 kB / 0.5664 GB, free: 13.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.1454, allocations: 256.2 kB / 0.5667 GB, free: 13.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.1455, allocations: 186.4 kB / 0.5668 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.1457, allocations: 118.6 kB / 0.567 GB, free: 13.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.1459, allocations: 346.8 kB / 0.5673 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.1461, allocations: 117.9 kB / 0.5674 GB, free: 12.63 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004711/0.1466, allocations: 417.6 kB / 0.5678 GB, free: 12.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007773/0.1473, allocations: 0.5737 MB / 0.5684 GB, free: 11.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.1474, allocations: 4 kB / 0.5684 GB, free: 11.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009206/0.1483, allocations: 0.568 MB / 0.5689 GB, free: 10.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.1483, allocations: 16 kB / 0.5689 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.1483, allocations: 8 kB / 0.5689 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.318e-05/0.1483, allocations: 19.94 kB / 0.569 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005576/0.1489, allocations: 179.7 kB / 0.5691 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.791e-05/0.1489, allocations: 23.92 kB / 0.5691 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.1492, allocations: 63.52 kB / 0.5692 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/0.1493, allocations: 32 kB / 0.5692 GB, free: 10.46 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.0002246/0.1495, allocations: 185.5 kB / 0.5694 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/0.1497, allocations: 43.77 kB / 0.5695 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.105e-05/0.1498, allocations: 41.7 kB / 0.5695 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.1498, allocations: 7.938 kB / 0.5695 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.1498, allocations: 4 kB / 0.5695 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.1498, allocations: 7.984 kB / 0.5695 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.1509, allocations: 409.3 kB / 0.5699 GB, free: 9.719 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.1509, allocations: 4 kB / 0.5699 GB, free: 9.715 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005743/0.1515, allocations: 127.8 kB / 0.57 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.899e-06/0.1515, allocations: 7.984 kB / 0.57 GB, free: 9.582 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.574e-05/0.1515, allocations: 12 kB / 0.5701 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.1515, allocations: 11.94 kB / 0.5701 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.1515, allocations: 4 kB / 0.5701 GB, free: 9.555 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.1526, allocations: 1.086 MB / 0.5711 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.1527, allocations: 112.8 kB / 0.5712 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.066e-05/0.1528, allocations: 23.88 kB / 0.5713 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004025/0.1532, allocations: 8 kB / 0.5713 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.1532, allocations: 23.97 kB / 0.5713 GB, free: 8.258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.1532, allocations: 20.11 kB / 0.5713 GB, free: 8.238 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001661/0.1534, allocations: 177.9 kB / 0.5715 GB, free: 8.066 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1534, allocations: 0 / 0.5715 GB, free: 8.066 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008565/0.1543, allocations: 139.7 kB / 0.5716 GB, free: 7.93 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * 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 (42): * Single equations (assignments): 42 * 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.00141/0.1557, allocations: 1.631 MB / 0.5732 GB, free: 6.262 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006218/0.1563, allocations: 333 kB / 0.5735 GB, free: 5.938 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1563, allocations: 3.938 kB / 0.5735 GB, free: 5.934 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.1565, allocations: 121.6 kB / 0.5736 GB, free: 5.816 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.1577, allocations: 100.9 kB / 0.5737 GB, free: 5.727 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007458/0.1652, allocations: 5.622 MB / 0.5792 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005666/0.1657, allocations: 0.8275 MB / 0.58 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002067/0.1659, allocations: 48.16 kB / 0.5801 GB, free: 14.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.1662, allocations: 139.4 kB / 0.5802 GB, free: 14.68 MB / 446.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1662, allocations: 4 kB / 0.5802 GB, free: 14.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03651/0.2027, allocations: 8.385 MB / 0.5884 GB, free: 6.457 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.765/8.968, allocations: 7.438 kB / 0.5884 GB, free: 6.453 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.130812640301883] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia1.phi', 'inertia1.w', 'inertia2.phi', 'inertia2.w', 'inertia3.phi', 'inertia3.w', 'inertia4.phi', 'inertia4.w', 'inertia5.phi', 'inertia5.w', 'inertia6.phi', 'inertia6.w', 'inertia7.phi', 'inertia7.w', 'inertia7a.phi', 'inertia7a.w', 'inertia8.phi', 'inertia8.w', 'inertia8a.phi', 'inertia8a.w', 'inertia9.phi', 'inertia9.w', 'inertia9a.phi', 'inertia9a.w'] 9.045944215264171 9.072958646 8.930061978 Calling exit ...