Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Directions3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008236/0.008236, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001676/0.001676, allocations: 191.5 kB / 16.67 MB, free: 5.969 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.517/1.517, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.3336/0.3336, allocations: 38 MB / 307.9 MB, free: 10.05 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.001495/0.001495, allocations: 64.47 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3456, allocations: 56.47 MB / 489.4 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002584/0.3482, allocations: 1.646 MB / 491.1 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000265/0.3485, allocations: 111.6 kB / 491.2 MB, free: 18.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.986e-05/0.3486, allocations: 6.188 kB / 491.2 MB, free: 18.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.385e-05/0.3486, allocations: 12.97 kB / 491.2 MB, free: 18.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.3488, allocations: 41.69 kB / 491.3 MB, free: 18.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001216/0.3489, allocations: 30.27 kB / 491.3 MB, free: 18.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.349, allocations: 124.8 kB / 491.4 MB, free: 18.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.3492, allocations: 36.3 kB / 491.4 MB, free: 18.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.45e-05/0.3492, allocations: 49.3 kB / 491.5 MB, free: 18.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.834e-05/0.3493, allocations: 54.42 kB / 491.5 MB, free: 18.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.3493, allocations: 10.09 kB / 491.6 MB, free: 18.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.682e-05/0.3494, allocations: 9.625 kB / 491.6 MB, free: 18.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.877e-05/0.3494, allocations: 23.05 kB / 491.6 MB, free: 18.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.279e-05/0.3495, allocations: 59.69 kB / 491.6 MB, free: 18.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.3497, allocations: 122.3 kB / 491.8 MB, free: 18.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.3497, allocations: 5.062 kB / 491.8 MB, free: 18.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3497, allocations: 0 / 491.8 MB, free: 18.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.3497, allocations: 0 / 491.8 MB, free: 18.4 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004325/0.3502, allocations: 412.8 kB / 492.2 MB, free: 17.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.3502, allocations: 14.41 kB / 492.2 MB, free: 17.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.3503, allocations: 15.25 kB / 492.2 MB, free: 17.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.3504, allocations: 192.4 kB / 492.4 MB, free: 17.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.3504, allocations: 9.328 kB / 492.4 MB, free: 17.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.353e-05/0.3505, allocations: 17.48 kB / 492.4 MB, free: 17.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.3507, allocations: 127.7 kB / 492.5 MB, free: 17.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.3507, allocations: 1.281 kB / 492.5 MB, free: 17.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.3508, allocations: 13.84 kB / 492.6 MB, free: 17.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3508, allocations: 3.312 kB / 492.6 MB, free: 17.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.3509, allocations: 56.98 kB / 492.6 MB, free: 17.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006371/0.3515, allocations: 0.5396 MB / 493.2 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.3517, allocations: 86.94 kB / 493.2 MB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.641e-05/0.3517, allocations: 28.23 kB / 493.3 MB, free: 17.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.3518, allocations: 9.766 kB / 493.3 MB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.3518, allocations: 37.33 kB / 493.3 MB, free: 17.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.3518, allocations: 0 / 493.3 MB, free: 17.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005269/0.3523, allocations: 295.7 kB / 493.6 MB, free: 16.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.3524, allocations: 79.78 kB / 493.7 MB, free: 16.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.895e-05/0.3524, allocations: 126.3 kB / 493.8 MB, free: 16.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.3525, allocations: 26.77 kB / 493.8 MB, free: 16.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.3525, allocations: 122.5 kB / 493.9 MB, free: 16.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.3525, allocations: 31.36 kB / 494 MB, free: 16.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.3526, allocations: 36.59 kB / 494 MB, free: 16.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.879e-05/0.3526, allocations: 323.6 kB / 494.3 MB, free: 16.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.043e-05/0.3527, allocations: 22.66 kB / 494.4 MB, free: 16.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.157e-05/0.3527, allocations: 83.66 kB / 494.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.3529, allocations: 128.4 kB / 494.6 MB, free: 15.83 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3529, allocations: 2.125 kB / 494.6 MB, free: 15.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002456/0.3531, allocations: 167.1 kB / 494.7 MB, free: 15.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3532, allocations: 6.562 kB / 494.7 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.3532, allocations: 2.219 kB / 494.7 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001783/0.3533, allocations: 47.7 kB / 494.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.361e-05/0.3534, allocations: 24.52 kB / 494.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.3548, allocations: 2.731 MB / 497.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.959e-05/0.3549, allocations: 16.42 kB / 497.6 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.3549, allocations: 6.531 kB / 497.6 MB, free: 12.87 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 (14): * Single equations (assignments): 12 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.068e-05/0.355, allocations: 120.6 kB / 497.7 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.355, allocations: 15.44 kB / 497.7 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.403e-05/0.355, allocations: 16.69 kB / 497.7 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.355, allocations: 1.438 kB / 497.7 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.355, allocations: 1.438 kB / 497.7 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3551, allocations: 0.6094 kB / 497.7 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.3553, allocations: 206.7 kB / 497.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3553, allocations: 1.469 kB / 497.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.993e-05/0.3554, allocations: 16.92 kB / 497.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.028e-05/0.3555, allocations: 35.25 kB / 498 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.3555, allocations: 10.05 kB / 498 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.3567, allocations: 2.731 MB / 0.489 GB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3567, allocations: 1.094 kB / 0.489 GB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.357, allocations: 314.8 kB / 0.4893 GB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.534e-05/0.357, allocations: 84.33 kB / 0.4894 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.357, allocations: 2.078 kB / 0.4894 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.853e-05/0.3571, allocations: 5.281 kB / 0.4894 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.3571, allocations: 10.92 kB / 0.4894 GB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.3572, allocations: 3.203 kB / 0.4894 GB, free: 9.273 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.307e-05/0.3572, allocations: 92.36 kB / 0.4895 GB, free: 9.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3572, allocations: 0 / 0.4895 GB, free: 9.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003403/0.3576, allocations: 35.41 kB / 0.4895 GB, free: 9.188 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.474e-05/0.3577, allocations: 101.9 kB / 0.4896 GB, free: 9.094 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004133/0.3581, allocations: 322.6 kB / 0.4899 GB, free: 8.824 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3581, allocations: 1.125 kB / 0.4899 GB, free: 8.824 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.3583, allocations: 258 kB / 0.4901 GB, free: 8.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.3588, allocations: 24.53 kB / 0.4902 GB, free: 8.582 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007111/0.3595, allocations: 474.1 kB / 0.4906 GB, free: 8.207 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.3597, allocations: 0.714 MB / 0.4913 GB, free: 7.504 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.845e-05/0.3597, allocations: 6.031 kB / 0.4913 GB, free: 7.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.031e-05/0.3598, allocations: 11.78 kB / 0.4913 GB, free: 7.492 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3598, allocations: 0 / 0.4913 GB, free: 7.492 MB / 382.1 MB Notification: Performance of Templates: time 0.004705/0.3645, allocations: 1.53 MB / 0.4928 GB, free: 7.348 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1)