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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001665/0.001665, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001623/0.001623, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2412/0.2412, allocations: 46.11 MB / 344.2 MB, free: 11.53 MB / 286.1 MB 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.002407/0.002407, allocations: 90.56 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1346, allocations: 62.44 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.005076/0.1397, allocations: 3.085 MB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.1409, allocations: 410.5 kB / 483.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004334/0.1414, allocations: 11.94 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.1416, allocations: 67.31 kB / 483.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004388/0.1421, allocations: 162.5 kB / 483.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.1424, allocations: 107.9 kB / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006043/0.143, allocations: 0.5326 MB / 484.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003205/0.1433, allocations: 164.8 kB / 484.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.1435, allocations: 195.3 kB / 484.9 MB, free: 384 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.1438, allocations: 219 kB / 485.1 MB, free: 164 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.474e-05/0.1439, allocations: 40 kB / 485.2 MB, free: 124 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.301e-05/0.144, allocations: 40 kB / 485.2 MB, free: 84 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.1441, allocations: 91.73 kB / 485.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002528/0.1443, allocations: 254.8 kB / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005413/0.1449, allocations: 0.5102 MB / 486.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1449, allocations: 0 / 486.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1449, allocations: 0 / 486.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.1449, allocations: 0 / 486.1 MB, free: 15.23 MB / 366.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.001049/0.146, allocations: 0.7174 MB / 486.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.146, allocations: 8.031 kB / 486.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.357e-05/0.1461, allocations: 90.64 kB / 486.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.257e-05/0.1462, allocations: 52.28 kB / 486.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.1466, allocations: 296.3 kB / 487.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/0.1466, allocations: 37.38 kB / 487.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.102e-05/0.1467, allocations: 56.28 kB / 487.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007147/0.1474, allocations: 454.7 kB / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/0.1474, allocations: 15.83 kB / 487.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.03e-05/0.1475, allocations: 24 kB / 487.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.1475, allocations: 12 kB / 487.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004914/0.148, allocations: 261.9 kB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002306/0.1503, allocations: 1.695 MB / 489.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005609/0.1509, allocations: 423.9 kB / 490.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.1511, allocations: 155.6 kB / 490.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.1511, allocations: 8 kB / 490.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.1512, allocations: 46.5 kB / 490.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 1.904e-06/0.1512, allocations: 0 / 490.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007567/0.152, allocations: 361.9 kB / 490.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001604/0.1521, allocations: 273.1 kB / 491 MB, free: 9.902 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.1524, allocations: 246.6 kB / 491.2 MB, free: 9.652 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.1525, allocations: 33.7 kB / 491.3 MB, free: 9.613 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.1526, allocations: 243.6 kB / 491.5 MB, free: 9.367 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.1528, allocations: 193.3 kB / 491.7 MB, free: 9.176 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.1529, allocations: 114.6 kB / 491.8 MB, free: 9.055 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1531, allocations: 350.8 kB / 492.1 MB, free: 8.703 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.1533, allocations: 114 kB / 492.3 MB, free: 8.594 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004509/0.1538, allocations: 421.4 kB / 492.7 MB, free: 8.039 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007087/0.1545, allocations: 0.5723 MB / 493.2 MB, free: 7.328 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.1545, allocations: 0 / 493.2 MB, free: 7.328 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000858/0.1554, allocations: 0.5716 MB / 493.8 MB, free: 6.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.1554, allocations: 12 kB / 493.8 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.1554, allocations: 8 kB / 493.8 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.934e-05/0.1555, allocations: 19.94 kB / 493.8 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005599/0.156, allocations: 176.4 kB / 494 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.391e-05/0.1561, allocations: 28.48 kB / 494 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.1563, allocations: 63.38 kB / 494.1 MB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.913e-05/0.1564, allocations: 36 kB / 494.1 MB, free: 6.414 MB / 366.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.0001917/0.1566, allocations: 181.5 kB / 494.3 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.1568, allocations: 35.62 kB / 494.4 MB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.789e-05/0.1569, allocations: 45.7 kB / 494.4 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.1569, allocations: 7.938 kB / 494.4 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/0.1569, allocations: 8 kB / 494.4 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.1569, allocations: 7.922 kB / 494.4 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.158, allocations: 421.1 kB / 494.8 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.158, allocations: 4 kB / 494.8 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005735/0.1586, allocations: 119.9 kB / 495 MB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/0.1586, allocations: 4 kB / 495 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/0.1586, allocations: 16 kB / 495 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.1586, allocations: 7.938 kB / 495 MB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.1586, allocations: 4 kB / 495 MB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.1597, allocations: 1.074 MB / 496.1 MB, free: 4.418 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.1598, allocations: 116.6 kB / 496.2 MB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.381e-05/0.1599, allocations: 19.94 kB / 496.2 MB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003864/0.1603, allocations: 12 kB / 496.2 MB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.1604, allocations: 27.91 kB / 496.2 MB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.1604, allocations: 23.97 kB / 496.3 MB, free: 4.203 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001741/0.1606, allocations: 170 kB / 496.4 MB, free: 4.035 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1606, allocations: 0 / 496.4 MB, free: 4.035 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008086/0.1614, allocations: 131.8 kB / 496.5 MB, free: 3.906 MB / 366.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.001385/0.1628, allocations: 1.631 MB / 498.2 MB, free: 2.242 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006279/0.1634, allocations: 368.9 kB / 498.5 MB, free: 1.883 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1634, allocations: 0 / 498.5 MB, free: 1.883 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.1636, allocations: 131.7 kB / 498.7 MB, free: 1.754 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.1648, allocations: 106.6 kB / 498.8 MB, free: 1.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007382/0.1722, allocations: 5.602 MB / 0.4926 GB, free: 11.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000564/0.1728, allocations: 0.8275 MB / 0.4934 GB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002072/0.173, allocations: 60.08 kB / 0.4934 GB, free: 10.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.1733, allocations: 139.4 kB / 0.4936 GB, free: 10.62 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1733, allocations: 0 / 0.4936 GB, free: 10.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03448/0.2078, allocations: 8.119 MB / 0.5015 GB, free: 2.664 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.056/8.263, allocations: 8.875 kB / 0.5015 GB, free: 2.656 MB / 382.1 MB (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 --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)