Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) 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.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_trunk_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.001218/0.001217, allocations: 94.92 kB / 16.98 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001713/0.001713, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.3 MB / 245.9 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2155/0.2155, allocations: 45.92 MB / 344 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003839, allocations: 4 kB / 418.1 MB, free: 20.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1263, allocations: 63.46 MB / 481.5 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003061/0.1294, allocations: 2.427 MB / 483.9 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.1306, allocations: 450.7 kB / 484.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004052/0.1311, allocations: 7.938 kB / 484.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.1313, allocations: 55.55 kB / 484.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006262/0.1319, allocations: 167.6 kB / 484.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.1323, allocations: 75.86 kB / 484.7 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007576/0.1331, allocations: 391.2 kB / 485.1 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003296/0.1334, allocations: 125.1 kB / 485.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003271/0.1338, allocations: 167.4 kB / 485.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003757/0.1342, allocations: 191.2 kB / 485.5 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.232e-05/0.1342, allocations: 24 kB / 485.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.494e-05/0.1343, allocations: 27.94 kB / 485.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.41e-05/0.1344, allocations: 75.73 kB / 485.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.1345, allocations: 117.5 kB / 485.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003523/0.1349, allocations: 375.2 kB / 486.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1349, allocations: 0 / 486.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1349, allocations: 0 / 486.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.1349, allocations: 4 kB / 486.1 MB, free: 0.6445 MB / 350.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.000965/0.1359, allocations: 0.6393 MB / 486.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.1359, allocations: 12.03 kB / 486.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.339e-05/0.136, allocations: 86.45 kB / 486.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.985e-05/0.1361, allocations: 59.39 kB / 486.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.1365, allocations: 294.1 kB / 487.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.203e-05/0.1366, allocations: 33 kB / 487.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.166e-05/0.1366, allocations: 59.84 kB / 487.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006284/0.1373, allocations: 450.1 kB / 487.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.1373, allocations: 4 kB / 487.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.1373, allocations: 23.95 kB / 487.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.1374, allocations: 12 kB / 487.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004193/0.1378, allocations: 259.7 kB / 488 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/0.14, allocations: 1.692 MB / 489.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/0.1405, allocations: 419.6 kB / 490.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.1405, allocations: 15.92 kB / 490.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.1405, allocations: 50.55 kB / 490.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 2.484e-06/0.1405, allocations: 3.938 kB / 490.2 MB, free: 12.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.000712/0.1413, allocations: 349.3 kB / 490.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.1414, allocations: 273.5 kB / 490.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.1417, allocations: 242.7 kB / 491.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.1417, allocations: 33.7 kB / 491.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.1419, allocations: 243.6 kB / 491.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.142, allocations: 185.4 kB / 491.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.876e-05/0.142, allocations: 12 kB / 491.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002312/0.1423, allocations: 350.8 kB / 491.9 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.1425, allocations: 113.9 kB / 492 MB, free: 10.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003622/0.1428, allocations: 421.5 kB / 492.4 MB, free: 9.852 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.1431, allocations: 180.8 kB / 492.6 MB, free: 9.676 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.1431, allocations: 4 kB / 492.6 MB, free: 9.672 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000769/0.1439, allocations: 0.5643 MB / 493.1 MB, free: 9.102 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.1439, allocations: 14.03 kB / 493.1 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.1439, allocations: 16.11 kB / 493.2 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.144, allocations: 16 kB / 493.2 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005504/0.1445, allocations: 179.7 kB / 493.4 MB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/0.1445, allocations: 19.92 kB / 493.4 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.1448, allocations: 59.38 kB / 493.4 MB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.1449, allocations: 36 kB / 493.5 MB, free: 8.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001942/0.1451, allocations: 181.5 kB / 493.6 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.1452, allocations: 47.56 kB / 493.7 MB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.1454, allocations: 45.64 kB / 493.7 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.1454, allocations: 8 kB / 493.7 MB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.1454, allocations: 4 kB / 493.7 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.1454, allocations: 0 / 493.7 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.1465, allocations: 421.1 kB / 494.2 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.1465, allocations: 0 / 494.2 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000536/0.1471, allocations: 127.8 kB / 494.3 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.1471, allocations: 4 kB / 494.3 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.1471, allocations: 15.95 kB / 494.3 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.1471, allocations: 11.98 kB / 494.3 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1471, allocations: 0 / 494.3 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.1482, allocations: 1.171 MB / 495.5 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.004e-05/0.1483, allocations: 116.6 kB / 495.6 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/0.1483, allocations: 12 kB / 495.6 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004163/0.1487, allocations: 8 kB / 495.6 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.1488, allocations: 31.89 kB / 495.6 MB, free: 6.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.1488, allocations: 16 kB / 495.7 MB, free: 6.414 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.149, allocations: 169.9 kB / 495.8 MB, free: 6.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.149, allocations: 0 / 495.8 MB, free: 6.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008847/0.1499, allocations: 135.8 kB / 496 MB, free: 6.117 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001534/0.1514, allocations: 2.27 MB / 498.2 MB, free: 3.785 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006336/0.1521, allocations: 341.2 kB / 498.6 MB, free: 3.453 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1521, allocations: 0 / 498.6 MB, free: 3.453 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.1523, allocations: 124.8 kB / 498.7 MB, free: 3.332 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009281/0.1532, allocations: 87.8 kB / 498.8 MB, free: 3.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008287/0.1615, allocations: 10.48 MB / 0.4973 GB, free: 8.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000506/0.1621, allocations: 0.8434 MB / 0.4981 GB, free: 7.629 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002112/0.1623, allocations: 48.16 kB / 0.4982 GB, free: 7.582 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.1625, allocations: 143.4 kB / 0.4983 GB, free: 7.441 MB / 382.1 MB Notification: Performance of SimCode: time 1.583e-06/0.1625, allocations: 0 / 0.4983 GB, free: 7.441 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/0.1818, allocations: 7.468 MB / 0.5056 GB, free: 160 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2146/0.3965, allocations: 196.3 kB / 0.5058 GB, free: 46.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.897/2.294, allocations: 0 / 0.5058 GB, free: 46.52 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat