Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008085/0.0008085, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008036/0.0008036, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3395/0.3395, allocations: 38.03 MB / 308.4 MB, free: 10.46 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.1. 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.0005309/0.000531, allocations: 16 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1108, allocations: 57.53 MB / 434 MB, free: 5.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.001797/0.1127, allocations: 1.509 MB / 435.5 MB, free: 4.039 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002913/0.113, allocations: 159.4 kB / 435.6 MB, free: 3.883 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.474e-05/0.113, allocations: 0 / 435.6 MB, free: 3.883 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.1131, allocations: 19.84 kB / 435.6 MB, free: 3.863 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.1132, allocations: 39.69 kB / 435.7 MB, free: 3.824 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001107/0.1133, allocations: 27.97 kB / 435.7 MB, free: 3.797 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.1135, allocations: 167.1 kB / 435.9 MB, free: 3.633 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1136, allocations: 57.81 kB / 435.9 MB, free: 3.574 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.947e-05/0.1137, allocations: 51.8 kB / 436 MB, free: 3.523 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.535e-05/0.1138, allocations: 67.7 kB / 436 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.1138, allocations: 8 kB / 436.1 MB, free: 3.449 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.263e-05/0.1138, allocations: 8 kB / 436.1 MB, free: 3.441 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.1139, allocations: 27.91 kB / 436.1 MB, free: 3.414 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.1139, allocations: 57.58 kB / 436.1 MB, free: 3.352 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.1141, allocations: 135.9 kB / 436.3 MB, free: 3.219 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.1141, allocations: 0 / 436.3 MB, free: 3.219 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1141, allocations: 7.938 kB / 436.3 MB, free: 3.211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.1141, allocations: 0 / 436.3 MB, free: 3.211 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004217/0.1145, allocations: 423.2 kB / 436.7 MB, free: 2.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.1145, allocations: 8.031 kB / 436.7 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.1146, allocations: 19.77 kB / 436.7 MB, free: 2.723 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.1148, allocations: 202.8 kB / 436.9 MB, free: 2.484 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.1148, allocations: 12.33 kB / 436.9 MB, free: 2.473 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.1148, allocations: 23.94 kB / 437 MB, free: 2.449 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.1151, allocations: 165.6 kB / 437.1 MB, free: 2.277 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.1151, allocations: 4 kB / 437.1 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.1151, allocations: 8 kB / 437.1 MB, free: 2.266 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1151, allocations: 4 kB / 437.1 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.1153, allocations: 87.88 kB / 437.2 MB, free: 2.176 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006805/0.116, allocations: 0.6111 MB / 437.8 MB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.1162, allocations: 133.2 kB / 438 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.916e-05/0.1162, allocations: 49.7 kB / 438 MB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.1163, allocations: 4.172 kB / 438 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.1163, allocations: 42.5 kB / 438.1 MB, free: 1.246 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.133e-06/0.1163, allocations: 0 / 438.1 MB, free: 1.246 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006897/0.117, allocations: 389.1 kB / 438.4 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.117, allocations: 81.11 kB / 438.5 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.1172, allocations: 138 kB / 438.7 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.1172, allocations: 25.7 kB / 438.7 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.822e-05/0.1173, allocations: 132 kB / 438.8 MB, free: 416 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.1173, allocations: 51.2 kB / 438.9 MB, free: 364 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.884e-06/0.1173, allocations: 8 kB / 438.9 MB, free: 356 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1174, allocations: 322.8 kB / 439.2 MB, free: 24 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.38e-05/0.1175, allocations: 39.97 kB / 439.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.931e-05/0.1176, allocations: 104.5 kB / 439.3 MB, free: 15.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.064e-05/0.1177, allocations: 47.98 kB / 439.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1177, allocations: 4 kB / 439.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003286/0.118, allocations: 222.9 kB / 439.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1181, allocations: 7.938 kB / 439.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.1181, allocations: 7.953 kB / 439.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002131/0.1183, allocations: 53.94 kB / 439.7 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.1184, allocations: 35.92 kB / 439.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/0.1203, allocations: 2.716 MB / 442.4 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.889e-05/0.1204, allocations: 15.84 kB / 442.4 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.1204, allocations: 8 kB / 442.4 MB, free: 12.45 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.1205, allocations: 134.8 kB / 442.6 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.547e-05/0.1206, allocations: 12.36 kB / 442.6 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.601e-05/0.1206, allocations: 16.72 kB / 442.6 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1206, allocations: 8.031 kB / 442.6 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.1206, allocations: 4 kB / 442.6 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1206, allocations: 0 / 442.6 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.1209, allocations: 241.4 kB / 442.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.1209, allocations: 4 kB / 442.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.1211, allocations: 23.98 kB / 442.9 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001179/0.1212, allocations: 41.7 kB / 442.9 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.1212, allocations: 8 kB / 442.9 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/0.1228, allocations: 2.716 MB / 445.6 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1229, allocations: 3.984 kB / 445.6 MB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.1232, allocations: 376.5 kB / 446 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.617e-05/0.1233, allocations: 85.02 kB / 446.1 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.1233, allocations: 4 kB / 446.1 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.395e-05/0.1234, allocations: 4.062 kB / 446.1 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.1234, allocations: 15.91 kB / 446.1 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.1234, allocations: 8 kB / 446.1 MB, free: 8.391 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.566e-05/0.1235, allocations: 103.2 kB / 446.2 MB, free: 8.289 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1235, allocations: 0 / 446.2 MB, free: 8.289 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004046/0.1239, allocations: 55.91 kB / 446.3 MB, free: 8.234 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.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 (10): * Single equations (assignments): 8 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001027/0.124, allocations: 91.25 kB / 446.4 MB, free: 8.137 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004884/0.1245, allocations: 345.5 kB / 446.7 MB, free: 7.773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1245, allocations: 0 / 446.7 MB, free: 7.773 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002865/0.1248, allocations: 293.2 kB / 447 MB, free: 7.461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.1253, allocations: 27.94 kB / 447 MB, free: 7.434 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009673/0.1263, allocations: 0.7842 MB / 447.8 MB, free: 6.621 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.1265, allocations: 0.7242 MB / 448.5 MB, free: 5.871 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.002e-05/0.1266, allocations: 9.422 kB / 448.5 MB, free: 5.863 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/0.1266, allocations: 19.38 kB / 448.6 MB, free: 5.844 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1266, allocations: 0 / 448.6 MB, free: 5.844 MB / 382.1 MB Notification: Performance of Templates: time 0.004032/0.1307, allocations: 1.768 MB / 450.3 MB, free: 4.074 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) Environment - environmentSimulation: