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.001185/0.001185, allocations: 91.42 kB / 17 MB, free: 6.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001576/0.001576, allocations: 194.2 kB / 17.91 MB, free: 5.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.3 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1939/0.1939, allocations: 45.91 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002755/0.0002755, allocations: 11.94 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1191, allocations: 63.47 MB / 481.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003213/0.1223, allocations: 2.603 MB / 484.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000687/0.123, allocations: 414.5 kB / 484.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.1232, allocations: 8 kB / 484.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.916e-05/0.1232, allocations: 51.61 kB / 484.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.1235, allocations: 142.8 kB / 484.8 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.1237, allocations: 67.92 kB / 484.9 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005068/0.1242, allocations: 0.513 MB / 485.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002376/0.1245, allocations: 129.1 kB / 485.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.1247, allocations: 171.3 kB / 485.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/0.125, allocations: 191.2 kB / 485.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.506e-05/0.125, allocations: 24 kB / 485.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.915e-05/0.1251, allocations: 24 kB / 486 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.778e-05/0.1251, allocations: 83.67 kB / 486 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.1253, allocations: 113.5 kB / 486.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.1256, allocations: 383.1 kB / 486.5 MB, free: 364 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1256, allocations: 3.938 kB / 486.5 MB, free: 360 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1256, allocations: 0 / 486.5 MB, free: 360 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.1256, allocations: 4 kB / 486.5 MB, free: 356 kB / 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.0008172/0.1265, allocations: 0.6354 MB / 487.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1265, allocations: 12.03 kB / 487.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001076/0.1266, allocations: 86.52 kB / 487.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.193e-05/0.1267, allocations: 55.39 kB / 487.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.127, allocations: 294.1 kB / 487.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.127, allocations: 33 kB / 487.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-05/0.1271, allocations: 55.91 kB / 487.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006263/0.1278, allocations: 450.1 kB / 488.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.1278, allocations: 4 kB / 488.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.805e-05/0.1278, allocations: 27.95 kB / 488.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.1278, allocations: 12 kB / 488.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003933/0.1282, allocations: 259.6 kB / 488.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.1303, allocations: 1.696 MB / 490.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005232/0.1309, allocations: 415.3 kB / 490.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.1311, allocations: 151.7 kB / 490.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.1311, allocations: 8.531 kB / 490.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.1312, allocations: 50.5 kB / 490.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 2.043e-06/0.1312, allocations: 4 kB / 490.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007147/0.1319, allocations: 356.8 kB / 491.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/0.132, allocations: 269 kB / 491.3 MB, free: 11.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.1323, allocations: 246.7 kB / 491.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.1323, allocations: 29.7 kB / 491.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.1325, allocations: 244.1 kB / 491.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.1326, allocations: 189.3 kB / 492 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/0.1326, allocations: 16 kB / 492.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1328, allocations: 346.8 kB / 492.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.133, allocations: 117.9 kB / 492.5 MB, free: 9.934 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003713/0.1334, allocations: 409.6 kB / 492.9 MB, free: 9.395 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.1337, allocations: 188.3 kB / 493.1 MB, free: 9.211 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.1337, allocations: 0 / 493.1 MB, free: 9.211 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007972/0.1345, allocations: 0.572 MB / 493.7 MB, free: 8.633 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.1345, allocations: 8 kB / 493.7 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.1345, allocations: 15.98 kB / 493.7 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.1345, allocations: 16 kB / 493.7 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000533/0.1351, allocations: 176.3 kB / 493.9 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.32e-05/0.1351, allocations: 24.16 kB / 493.9 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.1354, allocations: 59.38 kB / 494 MB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.803e-05/0.1354, allocations: 36 kB / 494 MB, free: 8.305 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.0001824/0.1356, allocations: 189.5 kB / 494.2 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.1358, allocations: 43.55 kB / 494.2 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.975e-05/0.1359, allocations: 45.7 kB / 494.3 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.1359, allocations: 4 kB / 494.3 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.1359, allocations: 4 kB / 494.3 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1359, allocations: 0 / 494.3 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009621/0.1369, allocations: 421.2 kB / 494.7 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1369, allocations: 4 kB / 494.7 MB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006079/0.1375, allocations: 123.8 kB / 494.8 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/0.1375, allocations: 7.953 kB / 494.8 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.1376, allocations: 12 kB / 494.8 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.1376, allocations: 7.984 kB / 494.8 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.1376, allocations: 7.984 kB / 494.8 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008182/0.1384, allocations: 1.075 MB / 495.9 MB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.456e-05/0.1385, allocations: 112.6 kB / 496 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/0.1386, allocations: 15.95 kB / 496 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003768/0.139, allocations: 12 kB / 496.1 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.139, allocations: 35.94 kB / 496.1 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.139, allocations: 12.12 kB / 496.1 MB, free: 6.086 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001501/0.1392, allocations: 166 kB / 496.3 MB, free: 5.926 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.517e-06/0.1392, allocations: 4 kB / 496.3 MB, free: 5.922 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001262/0.1405, allocations: 139.6 kB / 496.4 MB, free: 5.785 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.001518/0.142, allocations: 1.636 MB / 498 MB, free: 4.117 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008583/0.1429, allocations: 337.2 kB / 498.4 MB, free: 3.789 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.1429, allocations: 4 kB / 498.4 MB, free: 3.785 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002855/0.1432, allocations: 123.8 kB / 498.5 MB, free: 3.664 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/0.1449, allocations: 86.45 kB / 498.6 MB, free: 3.586 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007945/0.1529, allocations: 3.884 MB / 0.4907 GB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006336/0.1535, allocations: 0.8278 MB / 0.4915 GB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002795/0.1538, allocations: 52.14 kB / 0.4915 GB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/0.1541, allocations: 139.4 kB / 0.4917 GB, free: 14.45 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.1541, allocations: 0 / 0.4917 GB, free: 14.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.1808, allocations: 7.499 MB / 0.499 GB, free: 7.137 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003927/0.1813, allocations: 199.6 kB / 0.4992 GB, free: 6.895 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.033/2.215, allocations: 0 / 0.4992 GB, free: 6.895 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