Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.Directions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007069/0.007069, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001455/0.001455, allocations: 196.5 kB / 16.68 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.55/1.55, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.3365/0.3365, 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.001652/0.001652, allocations: 76.38 kB / 433 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3455, allocations: 56.46 MB / 489.4 MB, free: 20.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.003641/0.3491, allocations: 2.829 MB / 492.3 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.3504, allocations: 0.743 MB / 493 MB, free: 17.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.3506, allocations: 6.469 kB / 493 MB, free: 17.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002267/0.3509, allocations: 60.41 kB / 493.1 MB, free: 17.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002591/0.3511, allocations: 128.2 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.3515, allocations: 98.81 kB / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004616/0.3519, allocations: 429.5 kB / 493.7 MB, free: 17.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000313/0.3523, allocations: 144.4 kB / 493.9 MB, free: 16.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002613/0.3525, allocations: 171.8 kB / 494 MB, free: 16.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.3528, allocations: 177.8 kB / 494.2 MB, free: 16.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.564e-05/0.3529, allocations: 33.19 kB / 494.2 MB, free: 16.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.82e-05/0.3529, allocations: 32.44 kB / 494.3 MB, free: 16.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.726e-05/0.353, allocations: 75.83 kB / 494.3 MB, free: 16.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002269/0.3533, allocations: 197.3 kB / 494.5 MB, free: 16.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00062/0.3539, allocations: 427.5 kB / 495 MB, free: 16.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3539, allocations: 0 / 495 MB, free: 16.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3539, allocations: 9.094 kB / 495 MB, free: 16.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.3539, allocations: 0 / 495 MB, free: 16.49 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001023/0.355, allocations: 0.6392 MB / 495.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.355, allocations: 17.61 kB / 495.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.383e-05/0.3551, allocations: 41.66 kB / 495.7 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.3555, allocations: 286.7 kB / 495.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/0.3555, allocations: 27.94 kB / 496 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.897e-05/0.3556, allocations: 47.02 kB / 496 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006369/0.3563, allocations: 393.1 kB / 496.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.3563, allocations: 4.047 kB / 496.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.3563, allocations: 16.27 kB / 496.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.3564, allocations: 10.25 kB / 496.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004164/0.3568, allocations: 216.5 kB / 496.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/0.3588, allocations: 1.722 MB / 498.4 MB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004072/0.3592, allocations: 261.4 kB / 498.6 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.3593, allocations: 92.58 kB / 498.7 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.3594, allocations: 11.8 kB / 498.7 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.3594, allocations: 42.92 kB / 498.8 MB, free: 13.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.733e-06/0.3594, allocations: 0 / 498.8 MB, free: 13.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006591/0.3601, allocations: 267.2 kB / 499 MB, free: 13.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.3602, allocations: 214.4 kB / 499.2 MB, free: 13.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.3604, allocations: 268.4 kB / 499.5 MB, free: 13.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.3604, allocations: 32.45 kB / 499.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.3606, allocations: 242.3 kB / 499.8 MB, free: 12.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.342e-05/0.3606, allocations: 116.1 kB / 499.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.3608, allocations: 100.2 kB / 500 MB, free: 12.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.3609, allocations: 348.8 kB / 0.4886 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.3611, allocations: 98.47 kB / 0.4887 GB, free: 12.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004565/0.3616, allocations: 433.3 kB / 0.4891 GB, free: 11.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007111/0.3623, allocations: 0.5659 MB / 0.4896 GB, free: 11.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.3623, allocations: 6.406 kB / 0.4897 GB, free: 11.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009018/0.3632, allocations: 0.523 MB / 0.4902 GB, free: 11.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.3633, allocations: 11.41 kB / 0.4902 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.3633, allocations: 12.53 kB / 0.4902 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.44e-05/0.3633, allocations: 15.7 kB / 0.4902 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/0.3638, allocations: 150.2 kB / 0.4903 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.017e-05/0.3638, allocations: 23.81 kB / 0.4904 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.3641, allocations: 64.27 kB / 0.4904 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.546e-05/0.3641, allocations: 31.09 kB / 0.4905 GB, free: 11.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001553/0.3643, allocations: 182.2 kB / 0.4906 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.3645, allocations: 31.47 kB / 0.4907 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.542e-05/0.3645, allocations: 39.09 kB / 0.4907 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.3645, allocations: 9.094 kB / 0.4907 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.3646, allocations: 1.406 kB / 0.4907 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.3646, allocations: 7.5 kB / 0.4907 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.3657, allocations: 0.6495 MB / 0.4914 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3657, allocations: 1.656 kB / 0.4914 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004235/0.3662, allocations: 90.28 kB / 0.4914 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.3662, allocations: 8.109 kB / 0.4914 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.3662, allocations: 11.17 kB / 0.4915 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.3662, allocations: 7.344 kB / 0.4915 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3662, allocations: 6.125 kB / 0.4915 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005719/0.3668, allocations: 0.8295 MB / 0.4923 GB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.827e-05/0.3669, allocations: 113.6 kB / 0.4924 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.273e-05/0.3669, allocations: 9.594 kB / 0.4924 GB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/0.3672, allocations: 14.53 kB / 0.4924 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.329e-05/0.3673, allocations: 24.45 kB / 0.4924 GB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.3673, allocations: 10.22 kB / 0.4924 GB, free: 9.469 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001487/0.3675, allocations: 182.2 kB / 0.4926 GB, free: 9.363 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3675, allocations: 0 / 0.4926 GB, free: 9.363 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006791/0.3682, allocations: 99.62 kB / 0.4927 GB, free: 9.344 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001034/0.3683, allocations: 115.5 kB / 0.4928 GB, free: 9.234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004919/0.3688, allocations: 299.2 kB / 0.4931 GB, free: 9.137 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3688, allocations: 0 / 0.4931 GB, free: 9.137 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.369, allocations: 85.03 kB / 0.4932 GB, free: 9.117 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009235/0.3699, allocations: 85.53 kB / 0.4933 GB, free: 9.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.3717, allocations: 1.53 MB / 0.4948 GB, free: 7.867 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.372, allocations: 0.794 MB / 0.4955 GB, free: 7.168 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001613/0.3722, allocations: 50.23 kB / 0.4956 GB, free: 7.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.846e-05/0.3723, allocations: 32.67 kB / 0.4956 GB, free: 7.137 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3723, allocations: 0 / 0.4956 GB, free: 7.137 MB / 382.1 MB Notification: Performance of Templates: time 0.007459/0.3797, allocations: 2.997 MB / 0.4985 GB, free: 6.672 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1)