Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 193.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.699/1.699, allocations: 205.1 MB / 222.4 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3629/0.3629, allocations: 39.93 MB / 309.7 MB, free: 9.32 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 67.91 kB / 377.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1254, allocations: 56.88 MB / 434.5 MB, free: 3.715 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004013/0.1294, allocations: 3.075 MB / 437.6 MB, free: 0.625 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000709/0.1302, allocations: 410.5 kB / 438 MB, free: 228 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.1303, allocations: 11.94 kB / 438 MB, free: 216 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.1304, allocations: 59.31 kB / 438 MB, free: 156 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.1307, allocations: 162.6 kB / 438.2 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.131, allocations: 107.8 kB / 438.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004731/0.1315, allocations: 0.5403 MB / 438.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002783/0.1318, allocations: 172.6 kB / 439 MB, free: 15.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.132, allocations: 187.4 kB / 439.2 MB, free: 14.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.1322, allocations: 219 kB / 439.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.608e-05/0.1323, allocations: 40 kB / 439.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.179e-05/0.1323, allocations: 40 kB / 439.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.607e-05/0.1324, allocations: 95.69 kB / 439.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.1326, allocations: 254.8 kB / 439.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004429/0.1331, allocations: 0.5102 MB / 440.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1331, allocations: 0 / 440.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.407e-06/0.1331, allocations: 4 kB / 440.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.1331, allocations: 4 kB / 440.3 MB, free: 13.83 MB / 382.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.001009/0.1341, allocations: 0.7096 MB / 441 MB, free: 13.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1342, allocations: 11.89 kB / 441.1 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.611e-05/0.1343, allocations: 52.38 kB / 441.1 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.1346, allocations: 295.5 kB / 441.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.515e-05/0.1347, allocations: 33.38 kB / 441.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.877e-05/0.1348, allocations: 60.28 kB / 441.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006856/0.1354, allocations: 462.5 kB / 441.9 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/0.1355, allocations: 12.08 kB / 442 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.559e-05/0.1355, allocations: 27.94 kB / 442 MB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.1356, allocations: 16 kB / 442 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004048/0.136, allocations: 247.7 kB / 442.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002194/0.1382, allocations: 1.699 MB / 443.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005012/0.1387, allocations: 419.9 kB / 444.3 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.1389, allocations: 159.6 kB / 444.5 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.1389, allocations: 4 kB / 444.5 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.139, allocations: 54.5 kB / 444.6 MB, free: 9.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 2.064e-06/0.139, allocations: 0 / 444.6 MB, free: 9.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007215/0.1397, allocations: 349.5 kB / 444.9 MB, free: 8.934 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.1398, allocations: 280.9 kB / 445.2 MB, free: 8.598 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.1401, allocations: 254.5 kB / 445.4 MB, free: 8.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.1401, allocations: 33.7 kB / 445.5 MB, free: 8.301 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.1403, allocations: 243.6 kB / 445.7 MB, free: 8.059 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.1405, allocations: 181.5 kB / 445.9 MB, free: 7.879 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.1406, allocations: 114.6 kB / 446 MB, free: 7.762 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1408, allocations: 354.8 kB / 446.3 MB, free: 7.406 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.141, allocations: 114 kB / 446.4 MB, free: 7.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004168/0.1414, allocations: 417.6 kB / 446.9 MB, free: 6.742 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006582/0.1421, allocations: 0.5693 MB / 447.4 MB, free: 6.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.1421, allocations: 4 kB / 447.4 MB, free: 6.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000789/0.1429, allocations: 0.5756 MB / 448 MB, free: 5.449 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.1429, allocations: 8 kB / 448 MB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.1429, allocations: 12 kB / 448 MB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.577e-05/0.143, allocations: 12 kB / 448 MB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005228/0.1435, allocations: 184.2 kB / 448.2 MB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.043e-05/0.1435, allocations: 19.92 kB / 448.2 MB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.1438, allocations: 71.38 kB / 448.3 MB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.1438, allocations: 32 kB / 448.3 MB, free: 5.117 MB / 382.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.0001771/0.144, allocations: 185.5 kB / 448.5 MB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/0.1442, allocations: 39.53 kB / 448.6 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.713e-05/0.1443, allocations: 41.7 kB / 448.6 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.1443, allocations: 11.94 kB / 448.6 MB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.1443, allocations: 0 / 448.6 MB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.1443, allocations: 7.984 kB / 448.6 MB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000949/0.1453, allocations: 417.2 kB / 449 MB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1453, allocations: 0 / 449 MB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00053/0.1458, allocations: 127.8 kB / 449.1 MB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.1459, allocations: 4 kB / 449.1 MB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.1459, allocations: 16 kB / 449.2 MB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.1459, allocations: 7.938 kB / 449.2 MB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1459, allocations: 0 / 449.2 MB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008087/0.1467, allocations: 1.078 MB / 450.3 MB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.327e-05/0.1468, allocations: 116.6 kB / 450.4 MB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.1469, allocations: 12 kB / 450.4 MB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003923/0.1473, allocations: 15.94 kB / 450.4 MB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.1473, allocations: 27.97 kB / 450.4 MB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.1474, allocations: 19.92 kB / 450.4 MB, free: 2.898 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.1475, allocations: 170 kB / 450.6 MB, free: 2.734 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.683e-06/0.1475, allocations: 0 / 450.6 MB, free: 2.734 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008172/0.1483, allocations: 139.6 kB / 450.7 MB, free: 2.598 MB / 382.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.0002025/0.1485, allocations: 122.9 kB / 450.9 MB, free: 2.469 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005777/0.1491, allocations: 369.5 kB / 451.2 MB, free: 2.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1491, allocations: 4.062 kB / 451.2 MB, free: 2.105 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.1493, allocations: 127.8 kB / 451.4 MB, free: 1.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.1505, allocations: 94.09 kB / 451.4 MB, free: 1.891 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2115/0.362, allocations: 1.958 MB / 453.4 MB, free: 50.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.3624, allocations: 0.8306 MB / 454.2 MB, free: 49.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002706/0.3627, allocations: 50.58 kB / 454.3 MB, free: 49.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.452e-05/0.3628, allocations: 33 kB / 454.3 MB, free: 49.96 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3628, allocations: 0 / 454.3 MB, free: 49.96 MB / 382.1 MB Notification: Performance of Templates: time 0.007718/0.3705, allocations: 4.085 MB / 458.4 MB, free: 49.86 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1)