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.008202/0.008202, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001975/0.001975, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.63/1.63, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.389/0.389, allocations: 38 MB / 307.9 MB, free: 10.03 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.001504/0.001504, allocations: 71.88 kB / 433 MB, free: 5.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3943, allocations: 56.47 MB / 489.4 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003537/0.3979, allocations: 1.839 MB / 491.3 MB, free: 18.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003609/0.3983, allocations: 146.6 kB / 491.4 MB, free: 18.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.205e-05/0.3984, allocations: 6.625 kB / 491.4 MB, free: 18.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.814e-05/0.3985, allocations: 20.5 kB / 491.5 MB, free: 18.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.3986, allocations: 58.09 kB / 491.5 MB, free: 18.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.3989, allocations: 42.44 kB / 491.6 MB, free: 18.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.3991, allocations: 180.8 kB / 491.7 MB, free: 18.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/0.3994, allocations: 57.06 kB / 491.8 MB, free: 18.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.3995, allocations: 72.17 kB / 491.9 MB, free: 18.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.3997, allocations: 71.69 kB / 491.9 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.67e-05/0.3997, allocations: 17.66 kB / 491.9 MB, free: 18.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.516e-05/0.3998, allocations: 14.41 kB / 492 MB, free: 18.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.006e-05/0.3998, allocations: 33.7 kB / 492 MB, free: 18.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.4, allocations: 87.45 kB / 492.1 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.4003, allocations: 180.6 kB / 492.2 MB, free: 18.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4003, allocations: 0 / 492.2 MB, free: 18.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.4003, allocations: 0 / 492.2 MB, free: 18.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.4003, allocations: 1.094 kB / 492.3 MB, free: 18.14 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006247/0.401, allocations: 452.6 kB / 492.7 MB, free: 17.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.401, allocations: 16.77 kB / 492.7 MB, free: 17.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.307e-05/0.4011, allocations: 17.84 kB / 492.7 MB, free: 17.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.4013, allocations: 205.2 kB / 492.9 MB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.4014, allocations: 11.48 kB / 492.9 MB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.482e-05/0.4014, allocations: 28.25 kB / 493 MB, free: 17.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.4018, allocations: 173 kB / 493.1 MB, free: 17.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.4018, allocations: 192 / 493.1 MB, free: 17.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.4018, allocations: 10.53 kB / 493.1 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.4019, allocations: 7.656 kB / 493.2 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.4021, allocations: 93.28 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.4031, allocations: 0.6111 MB / 493.9 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003277/0.4035, allocations: 134.9 kB / 494 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.4036, allocations: 56.28 kB / 494 MB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.4037, allocations: 1.188 kB / 494 MB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.4037, allocations: 37.55 kB / 494.1 MB, free: 16.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.4037, allocations: 0 / 494.1 MB, free: 16.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001125/0.4048, allocations: 381.5 kB / 494.5 MB, free: 16.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/0.4049, allocations: 79.05 kB / 494.5 MB, free: 16.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.4051, allocations: 127.6 kB / 494.7 MB, free: 16.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.4051, allocations: 34.45 kB / 494.7 MB, free: 16.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.4053, allocations: 129.8 kB / 494.8 MB, free: 16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.3e-05/0.4054, allocations: 55.25 kB / 494.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.831e-05/0.4054, allocations: 37.41 kB / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.4056, allocations: 324.9 kB / 495.2 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.4057, allocations: 37.19 kB / 495.3 MB, free: 15.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.4059, allocations: 110.8 kB / 495.4 MB, free: 15.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.4062, allocations: 158.6 kB / 495.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4062, allocations: 1.781 kB / 495.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005014/0.4067, allocations: 222.8 kB / 495.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/0.4067, allocations: 6.656 kB / 495.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.4068, allocations: 2.375 kB / 495.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003182/0.4071, allocations: 52.72 kB / 495.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.4073, allocations: 32.88 kB / 495.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/0.4095, allocations: 2.991 MB / 498.8 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.144e-05/0.4096, allocations: 12.84 kB / 498.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.4096, allocations: 15.19 kB / 498.9 MB, free: 12.18 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.4097, allocations: 130.8 kB / 499 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.153e-05/0.4097, allocations: 10.31 kB / 499 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.419e-05/0.4098, allocations: 20.8 kB / 499 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.4098, allocations: 5.969 kB / 499 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.4098, allocations: 5.344 kB / 499 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.4098, allocations: 2.828 kB / 499 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.4101, allocations: 233.1 kB / 499.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4101, allocations: 0 / 499.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.4103, allocations: 29.56 kB / 499.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001301/0.4104, allocations: 45.95 kB / 499.3 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.4105, allocations: 10.03 kB / 499.3 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/0.4123, allocations: 2.984 MB / 0.4905 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.4123, allocations: 1.609 kB / 0.4905 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004184/0.4128, allocations: 376 kB / 0.4909 GB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.841e-05/0.4128, allocations: 89.3 kB / 0.491 GB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.4128, allocations: 3.078 kB / 0.491 GB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.4129, allocations: 5.5 kB / 0.491 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.413, allocations: 13.09 kB / 0.491 GB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.413, allocations: 8.062 kB / 0.491 GB, free: 8.348 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.726e-05/0.4131, allocations: 105.7 kB / 0.4911 GB, free: 8.262 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4131, allocations: 3.938 kB / 0.4911 GB, free: 8.258 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004967/0.4136, allocations: 54.28 kB / 0.4912 GB, free: 8.246 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001237/0.4137, allocations: 102 kB / 0.4913 GB, free: 8.152 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005707/0.4143, allocations: 354 kB / 0.4916 GB, free: 7.883 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.4143, allocations: 0 / 0.4916 GB, free: 7.883 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.4146, allocations: 291.1 kB / 0.4919 GB, free: 7.633 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005716/0.4152, allocations: 32.69 kB / 0.4919 GB, free: 7.621 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009579/0.4161, allocations: 0.6303 MB / 0.4925 GB, free: 7.137 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/0.4163, allocations: 0.7253 MB / 0.4932 GB, free: 6.438 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.605e-05/0.4164, allocations: 13.36 kB / 0.4933 GB, free: 6.434 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.4164, allocations: 13.5 kB / 0.4933 GB, free: 6.426 MB / 382.1 MB Notification: Performance of SimCode: time 6.82e-07/0.4164, allocations: 0 / 0.4933 GB, free: 6.426 MB / 382.1 MB Notification: Performance of Templates: time 0.006152/0.4226, allocations: 1.946 MB / 0.4952 GB, free: 6.234 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (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)