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.008085/0.008086, allocations: 106.7 kB / 15.74 MB, free: 5.996 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.001489/0.001489, allocations: 197 kB / 16.67 MB, free: 5.918 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.576/1.576, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.3612/0.3612, allocations: 37.99 MB / 307.9 MB, free: 10.11 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.001548/0.001549, allocations: 71.84 kB / 433 MB, free: 5.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3795, allocations: 56.47 MB / 489.4 MB, free: 19.87 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002314/0.3818, allocations: 1.639 MB / 491.1 MB, free: 18.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002454/0.3821, allocations: 114.2 kB / 491.2 MB, free: 18.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.984e-05/0.3822, allocations: 6.375 kB / 491.2 MB, free: 18.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.535e-05/0.3822, allocations: 17.2 kB / 491.2 MB, free: 18.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.734e-05/0.3823, allocations: 34.14 kB / 491.2 MB, free: 18.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.3825, allocations: 33.55 kB / 491.3 MB, free: 18.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.3826, allocations: 125.2 kB / 491.4 MB, free: 18.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.3828, allocations: 36.31 kB / 491.4 MB, free: 18.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.613e-05/0.3829, allocations: 51.28 kB / 491.5 MB, free: 18.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.492e-05/0.3829, allocations: 46.42 kB / 491.5 MB, free: 18.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.383, allocations: 14.12 kB / 491.5 MB, free: 18.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.127e-05/0.383, allocations: 9.031 kB / 491.6 MB, free: 18.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.517e-05/0.383, allocations: 23.78 kB / 491.6 MB, free: 18.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.708e-05/0.3831, allocations: 58.88 kB / 491.6 MB, free: 18.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.3833, allocations: 129.1 kB / 491.8 MB, free: 18.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3833, allocations: 5.312 kB / 491.8 MB, free: 18.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3833, allocations: 0 / 491.8 MB, free: 18.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.3833, allocations: 0 / 491.8 MB, free: 18.34 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.0004283/0.3837, allocations: 396.9 kB / 492.2 MB, free: 17.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.3838, allocations: 17.33 kB / 492.2 MB, free: 17.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.3838, allocations: 16.11 kB / 492.2 MB, free: 17.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.384, allocations: 197.1 kB / 492.4 MB, free: 17.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.384, allocations: 5.141 kB / 492.4 MB, free: 17.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.384, allocations: 24.55 kB / 492.4 MB, free: 17.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.3842, allocations: 123.2 kB / 492.5 MB, free: 17.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.3843, allocations: 6.094 kB / 492.5 MB, free: 17.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.3843, allocations: 10 kB / 492.5 MB, free: 17.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.3843, allocations: 6.906 kB / 492.6 MB, free: 17.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.3844, allocations: 64.83 kB / 492.6 MB, free: 17.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006513/0.3851, allocations: 0.5321 MB / 493.1 MB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.3852, allocations: 89.86 kB / 493.2 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.801e-05/0.3853, allocations: 26.81 kB / 493.3 MB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.3853, allocations: 5.031 kB / 493.3 MB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.3853, allocations: 44.39 kB / 493.3 MB, free: 16.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.3853, allocations: 0 / 493.3 MB, free: 16.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005192/0.3858, allocations: 301.2 kB / 493.6 MB, free: 16.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.3859, allocations: 79.2 kB / 493.7 MB, free: 16.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.03e-05/0.386, allocations: 121 kB / 493.8 MB, free: 16.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.166e-06/0.386, allocations: 26.83 kB / 493.8 MB, free: 16.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.64e-05/0.386, allocations: 122.2 kB / 493.9 MB, free: 16.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.3861, allocations: 35.05 kB / 494 MB, free: 16.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.3861, allocations: 29.08 kB / 494 MB, free: 16.31 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.937e-05/0.3862, allocations: 328.7 kB / 494.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.086e-05/0.3862, allocations: 22.06 kB / 494.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.513e-05/0.3863, allocations: 87.92 kB / 494.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.3864, allocations: 121.4 kB / 494.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3864, allocations: 4 kB / 494.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002467/0.3867, allocations: 168 kB / 494.7 MB, free: 15.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3867, allocations: 10.75 kB / 494.7 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.3867, allocations: 3.359 kB / 494.7 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001963/0.3869, allocations: 45.86 kB / 494.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.808e-05/0.387, allocations: 23.7 kB / 494.8 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.3883, allocations: 2.72 MB / 497.5 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.317e-05/0.3884, allocations: 16.12 kB / 497.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-06/0.3884, allocations: 9.875 kB / 497.6 MB, free: 12.82 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.297e-05/0.3885, allocations: 129.2 kB / 497.7 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.3885, allocations: 8.375 kB / 497.7 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.3886, allocations: 18.97 kB / 497.7 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3886, allocations: 1.312 kB / 497.7 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3886, allocations: 1.531 kB / 497.7 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3886, allocations: 2.609 kB / 497.7 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.3888, allocations: 197.8 kB / 497.9 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3888, allocations: 0 / 497.9 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.685e-05/0.3889, allocations: 14.08 kB / 497.9 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-05/0.389, allocations: 35.19 kB / 498 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.389, allocations: 6.578 kB / 498 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.3903, allocations: 2.739 MB / 0.489 GB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.3903, allocations: 0.6562 kB / 0.489 GB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.3906, allocations: 310.5 kB / 0.4893 GB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.3906, allocations: 81.09 kB / 0.4893 GB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.3906, allocations: 1.75 kB / 0.4893 GB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.622e-05/0.3907, allocations: 9.188 kB / 0.4893 GB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.3908, allocations: 14.91 kB / 0.4894 GB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.3908, allocations: 2.281 kB / 0.4894 GB, free: 9.223 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.73e-05/0.3908, allocations: 92.83 kB / 0.4895 GB, free: 9.145 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3909, allocations: 0 / 0.4895 GB, free: 9.145 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000363/0.3912, allocations: 40 kB / 0.4895 GB, free: 9.133 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 9.502e-05/0.3913, allocations: 97.81 kB / 0.4896 GB, free: 9.043 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004147/0.3917, allocations: 315.2 kB / 0.4899 GB, free: 8.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3918, allocations: 0 / 0.4899 GB, free: 8.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.392, allocations: 258.5 kB / 0.4901 GB, free: 8.547 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005088/0.3925, allocations: 29.83 kB / 0.4902 GB, free: 8.535 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007134/0.3932, allocations: 464.9 kB / 0.4906 GB, free: 8.172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.3934, allocations: 0.7136 MB / 0.4913 GB, free: 7.469 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.503e-05/0.3934, allocations: 6.797 kB / 0.4913 GB, free: 7.465 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.3935, allocations: 12.09 kB / 0.4913 GB, free: 7.457 MB / 382.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3935, allocations: 0 / 0.4913 GB, free: 7.457 MB / 382.1 MB Notification: Performance of Templates: time 0.004827/0.3983, allocations: 1.574 MB / 0.4929 GB, free: 7.293 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)