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.01437/0.01437, allocations: 100.6 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.0021/0.0021, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.638/1.638, allocations: 205.1 MB / 222.6 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.334/0.334, allocations: 37.99 MB / 307.9 MB, free: 9.973 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.001825/0.001825, allocations: 67.91 kB / 433 MB, free: 5.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3546, allocations: 56.47 MB / 489.4 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.00386/0.3586, allocations: 2.837 MB / 492.3 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.3598, allocations: 0.7513 MB / 493 MB, free: 17.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.36, allocations: 14.72 kB / 493 MB, free: 17.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.3602, allocations: 61.56 kB / 493.1 MB, free: 17.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002231/0.3605, allocations: 128.3 kB / 493.2 MB, free: 17.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.3607, allocations: 98.08 kB / 493.3 MB, free: 17.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00039/0.3611, allocations: 446.4 kB / 493.8 MB, free: 16.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002871/0.3614, allocations: 187.3 kB / 493.9 MB, free: 16.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.3616, allocations: 183.6 kB / 494.1 MB, free: 16.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.3619, allocations: 191.1 kB / 494.3 MB, free: 16.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.847e-05/0.3619, allocations: 35.31 kB / 494.4 MB, free: 16.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.762e-05/0.362, allocations: 35.16 kB / 494.4 MB, free: 16.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.372e-05/0.3621, allocations: 80.33 kB / 494.5 MB, free: 16.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.3622, allocations: 204.4 kB / 494.7 MB, free: 16.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004834/0.3627, allocations: 452.7 kB / 495.1 MB, free: 16.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3627, allocations: 1.469 kB / 495.1 MB, free: 16.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3628, allocations: 0 / 495.1 MB, free: 16.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.3628, allocations: 0 / 495.1 MB, free: 16.32 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.000937/0.3637, allocations: 0.6639 MB / 495.8 MB, free: 15.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3638, allocations: 13.73 kB / 495.8 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.665e-05/0.3638, allocations: 41.98 kB / 495.8 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.3642, allocations: 299.1 kB / 496.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.3643, allocations: 33.66 kB / 496.1 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.131e-05/0.3643, allocations: 45.53 kB / 496.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006828/0.365, allocations: 383.5 kB / 496.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.3651, allocations: 6.953 kB / 496.6 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.3651, allocations: 15.61 kB / 496.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.3651, allocations: 9.969 kB / 496.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005274/0.3657, allocations: 245.7 kB / 496.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.3673, allocations: 1.095 MB / 497.9 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005237/0.3678, allocations: 348.4 kB / 498.3 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002823/0.3681, allocations: 181.5 kB / 498.5 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/0.3682, allocations: 3.25 kB / 498.5 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.3682, allocations: 38.52 kB / 498.5 MB, free: 14.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 1.393e-06/0.3682, allocations: 0 / 498.5 MB, free: 14.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.003323/0.3715, allocations: 2.449 MB / 0.4892 GB, free: 12.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.3716, allocations: 112.5 kB / 0.4893 GB, free: 12.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.3718, allocations: 243.9 kB / 0.4895 GB, free: 12.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.3718, allocations: 32.64 kB / 0.4896 GB, free: 11.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.763e-05/0.3719, allocations: 185 kB / 0.4897 GB, free: 11.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.372, allocations: 197.8 kB / 0.4899 GB, free: 11.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.3722, allocations: 87.11 kB / 0.49 GB, free: 11.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.565e-05/0.3723, allocations: 345.7 kB / 0.4904 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.3726, allocations: 136.7 kB / 0.4905 GB, free: 11.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/0.3729, allocations: 223.6 kB / 0.4907 GB, free: 11.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000568/0.3735, allocations: 398 kB / 0.4911 GB, free: 10.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.3735, allocations: 5 kB / 0.4911 GB, free: 10.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000963/0.3745, allocations: 0.5625 MB / 0.4916 GB, free: 10.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.3745, allocations: 5.531 kB / 0.4916 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.3745, allocations: 8.922 kB / 0.4916 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003653/0.3749, allocations: 118.1 kB / 0.4918 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/0.3753, allocations: 100.3 kB / 0.4918 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003164/0.3784, allocations: 5.211 MB / 0.4969 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.3787, allocations: 22.14 kB / 0.497 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/0.3787, allocations: 18.45 kB / 0.497 GB, free: 5.523 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.0001509/0.3789, allocations: 166.9 kB / 0.4971 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.705e-05/0.379, allocations: 38.2 kB / 0.4972 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.415e-05/0.379, allocations: 42.78 kB / 0.4972 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.379, allocations: 10.81 kB / 0.4972 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.835e-05/0.3791, allocations: 7.297 kB / 0.4972 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.3791, allocations: 8.375 kB / 0.4972 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.3809, allocations: 1.326 MB / 0.4985 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.3809, allocations: 2.016 kB / 0.4985 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.3813, allocations: 96.69 kB / 0.4986 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002565/0.3816, allocations: 95.77 kB / 0.4987 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.3816, allocations: 17.27 kB / 0.4987 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002296/0.3839, allocations: 4.42 MB / 0.5031 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3839, allocations: 6.391 kB / 0.5031 GB, free: 32 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.3853, allocations: 0.9252 MB / 0.504 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.921e-05/0.3854, allocations: 105.1 kB / 0.5041 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.3854, allocations: 12.36 kB / 0.5041 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.3857, allocations: 16.98 kB / 0.5041 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.3858, allocations: 55.72 kB / 0.5041 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/0.3858, allocations: 15.95 kB / 0.5042 GB, free: 15.31 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001857/0.386, allocations: 172 kB / 0.5043 GB, free: 15.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.386, allocations: 0 / 0.5043 GB, free: 15.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007038/0.3867, allocations: 121.9 kB / 0.5044 GB, free: 15.19 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.0001277/0.3869, allocations: 115.8 kB / 0.5045 GB, free: 15.08 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001242/0.3881, allocations: 0.7747 MB / 0.5053 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3881, allocations: 5.5 kB / 0.5053 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007672/0.3889, allocations: 0.5726 MB / 0.5059 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000635/0.3896, allocations: 60.48 kB / 0.5059 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.3913, allocations: 1.076 MB / 0.507 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/0.3918, allocations: 0.8165 MB / 0.5078 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.392, allocations: 35.83 kB / 0.5078 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/0.3921, allocations: 37.42 kB / 0.5078 GB, free: 12.68 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3921, allocations: 3.938 kB / 0.5078 GB, free: 12.68 MB / 398.1 MB Notification: Performance of Templates: time 0.009409/0.4015, allocations: 4.559 MB / 0.5123 GB, free: 10.88 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)