Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008628/0.008628, allocations: 99.16 kB / 15.73 MB, free: 6.004 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.001966/0.001967, allocations: 191.6 kB / 16.67 MB, free: 5.93 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.521/1.521, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.3329/0.3329, allocations: 38 MB / 307.9 MB, free: 10.1 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.002792/0.002792, allocations: 71.91 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3518, allocations: 56.46 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004241/0.3561, allocations: 2.825 MB / 492.3 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.3577, allocations: 0.7548 MB / 493 MB, free: 17.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002552/0.358, allocations: 15.31 kB / 493 MB, free: 17.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.3583, allocations: 64.92 kB / 493.1 MB, free: 17.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.3585, allocations: 118.9 kB / 493.2 MB, free: 17.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.3589, allocations: 96.64 kB / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000508/0.3594, allocations: 445.3 kB / 493.8 MB, free: 17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003578/0.3598, allocations: 196.3 kB / 493.9 MB, free: 16.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.36, allocations: 168.8 kB / 494.1 MB, free: 16.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002973/0.3603, allocations: 195.5 kB / 494.3 MB, free: 16.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.586e-05/0.3604, allocations: 35.19 kB / 494.3 MB, free: 16.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.244e-05/0.3605, allocations: 35.06 kB / 494.4 MB, free: 16.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.599e-05/0.3606, allocations: 80.17 kB / 494.5 MB, free: 16.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.3608, allocations: 205.1 kB / 494.7 MB, free: 16.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008533/0.3617, allocations: 451.2 kB / 495.1 MB, free: 16.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/0.3617, allocations: 0.6562 kB / 495.1 MB, free: 16.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.3617, allocations: 4.906 kB / 495.1 MB, free: 16.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.3618, allocations: 0 / 495.1 MB, free: 16.37 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001204/0.363, allocations: 0.6721 MB / 495.8 MB, free: 15.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.363, allocations: 12.91 kB / 495.8 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.339e-05/0.3631, allocations: 42.45 kB / 495.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004504/0.3636, allocations: 299.1 kB / 496.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.3636, allocations: 32.84 kB / 496.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.477e-05/0.3637, allocations: 50.78 kB / 496.2 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007487/0.3645, allocations: 384.2 kB / 496.6 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.3645, allocations: 1.828 kB / 496.6 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.3645, allocations: 15.28 kB / 496.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.3646, allocations: 13.78 kB / 496.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005568/0.3651, allocations: 246.1 kB / 496.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.3669, allocations: 1.098 MB / 497.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006135/0.3675, allocations: 350 kB / 498.3 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003249/0.3679, allocations: 180.8 kB / 498.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.3679, allocations: 4.125 kB / 498.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.3679, allocations: 38.72 kB / 498.5 MB, free: 14.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 2.264e-06/0.3679, allocations: 0 / 498.5 MB, free: 14.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.003642/0.3716, allocations: 2.472 MB / 0.4892 GB, free: 12.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.3717, allocations: 110.2 kB / 0.4893 GB, free: 12.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.3719, allocations: 238.9 kB / 0.4896 GB, free: 12.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.3719, allocations: 31.92 kB / 0.4896 GB, free: 12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.372, allocations: 185.6 kB / 0.4898 GB, free: 11.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.3722, allocations: 206.7 kB / 0.49 GB, free: 11.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.3723, allocations: 87.12 kB / 0.4901 GB, free: 11.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.044e-05/0.3724, allocations: 354.2 kB / 0.4904 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.3727, allocations: 128.9 kB / 0.4905 GB, free: 11.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/0.373, allocations: 230.5 kB / 0.4907 GB, free: 11.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006053/0.3736, allocations: 398.5 kB / 0.4911 GB, free: 10.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3736, allocations: 1.156 kB / 0.4911 GB, free: 10.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009817/0.3746, allocations: 0.563 MB / 0.4917 GB, free: 10.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.3746, allocations: 11.06 kB / 0.4917 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.3746, allocations: 2.719 kB / 0.4917 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003752/0.375, allocations: 122.7 kB / 0.4918 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004224/0.3755, allocations: 96.64 kB / 0.4919 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003535/0.379, allocations: 5.221 MB / 0.497 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.3793, allocations: 24.31 kB / 0.497 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.3793, allocations: 18.28 kB / 0.497 GB, free: 5.516 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002109/0.3795, allocations: 166.8 kB / 0.4972 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.3796, allocations: 41.42 kB / 0.4972 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.207e-05/0.3797, allocations: 43.33 kB / 0.4973 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.3798, allocations: 11.39 kB / 0.4973 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.241e-05/0.3798, allocations: 6.5 kB / 0.4973 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.3798, allocations: 3.859 kB / 0.4973 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/0.382, allocations: 1.328 MB / 0.4986 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.382, allocations: 1.969 kB / 0.4986 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004577/0.3825, allocations: 96.33 kB / 0.4987 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003213/0.3828, allocations: 99.5 kB / 0.4988 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/0.3829, allocations: 17.77 kB / 0.4988 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002679/0.3855, allocations: 4.425 MB / 0.5031 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.3856, allocations: 2.734 kB / 0.5031 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/0.387, allocations: 0.9217 MB / 0.504 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.3872, allocations: 109 kB / 0.5041 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/0.3872, allocations: 14.42 kB / 0.5041 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002794/0.3875, allocations: 20.31 kB / 0.5041 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.3876, allocations: 50.78 kB / 0.5042 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.3877, allocations: 16.62 kB / 0.5042 GB, free: 15.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001916/0.3879, allocations: 171.1 kB / 0.5044 GB, free: 15.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3879, allocations: 1.125 kB / 0.5044 GB, free: 15.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008642/0.3887, allocations: 120.8 kB / 0.5045 GB, free: 15.17 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,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.0001652/0.3889, allocations: 115.8 kB / 0.5046 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.3906, allocations: 0.7742 MB / 0.5054 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3906, allocations: 0 / 0.5054 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007892/0.3914, allocations: 0.5727 MB / 0.5059 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000674/0.3921, allocations: 64.27 kB / 0.506 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.3941, allocations: 1.087 MB / 0.507 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004808/0.3946, allocations: 0.8172 MB / 0.5078 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001613/0.3947, allocations: 39.89 kB / 0.5079 GB, free: 12.67 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.291e-05/0.3948, allocations: 33.11 kB / 0.5079 GB, free: 12.66 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3948, allocations: 0 / 0.5079 GB, free: 12.66 MB / 398.1 MB Notification: Performance of Templates: time 0.01075/0.4056, allocations: 4.565 MB / 0.5124 GB, free: 10.8 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1)