Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.005926/0.005925, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.00116/0.00116, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.537/1.537, 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.2+maint.om/package.mo): time 0.3484/0.3484, allocations: 39.94 MB / 309.8 MB, free: 9.434 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.2. 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.001491/0.001491, allocations: 67.91 kB / 435.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3642, allocations: 56.88 MB / 492.6 MB, free: 19.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.00516/0.3694, allocations: 2.834 MB / 495.5 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.371, allocations: 0.7434 MB / 496.2 MB, free: 16.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002012/0.3712, allocations: 11.62 kB / 496.2 MB, free: 16.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.3715, allocations: 50.53 kB / 496.3 MB, free: 16.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.3717, allocations: 123.7 kB / 496.4 MB, free: 16.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003427/0.3721, allocations: 101.1 kB / 496.5 MB, free: 16.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005066/0.3726, allocations: 433 kB / 496.9 MB, free: 16.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002991/0.3729, allocations: 141 kB / 497.1 MB, free: 16.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002549/0.3732, allocations: 163.9 kB / 497.2 MB, free: 16.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002827/0.3735, allocations: 174.1 kB / 497.4 MB, free: 16.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.77e-05/0.3735, allocations: 33.34 kB / 497.4 MB, free: 16.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.413e-05/0.3736, allocations: 36.16 kB / 497.5 MB, free: 16.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.658e-05/0.3737, allocations: 79.19 kB / 497.5 MB, free: 16.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.3739, allocations: 197.2 kB / 497.7 MB, free: 16.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005203/0.3745, allocations: 434.8 kB / 498.2 MB, free: 16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3745, allocations: 1.469 kB / 498.2 MB, free: 16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3745, allocations: 0 / 498.2 MB, free: 16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.3745, allocations: 0.6562 kB / 498.2 MB, free: 16 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.0009676/0.3755, allocations: 0.6426 MB / 498.8 MB, free: 15.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.3755, allocations: 14.27 kB / 498.8 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.521e-05/0.3756, allocations: 41.47 kB / 498.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/0.376, allocations: 281.7 kB / 499.1 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/0.3761, allocations: 32.92 kB / 499.2 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.939e-05/0.3761, allocations: 38.58 kB / 499.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000742/0.3769, allocations: 398.3 kB / 499.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.661e-05/0.3769, allocations: 15.14 kB / 499.6 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.956e-05/0.377, allocations: 15.44 kB / 499.6 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.377, allocations: 10.47 kB / 499.6 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005461/0.3776, allocations: 225.5 kB / 499.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002609/0.3802, allocations: 1.707 MB / 0.4898 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005262/0.3807, allocations: 266 kB / 0.4901 GB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.3809, allocations: 100.9 kB / 0.4902 GB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.381, allocations: 2.656 kB / 0.4902 GB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.381, allocations: 52.44 kB / 0.4902 GB, free: 13.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.413e-06/0.381, allocations: 0 / 0.4902 GB, free: 13.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.0007504/0.3818, allocations: 256.8 kB / 0.4904 GB, free: 13.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.887e-05/0.3819, allocations: 214.5 kB / 0.4907 GB, free: 12.78 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.3822, allocations: 276.7 kB / 0.4909 GB, free: 12.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.3822, allocations: 30.83 kB / 0.4909 GB, free: 12.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.3824, allocations: 231.7 kB / 0.4912 GB, free: 12.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.451e-05/0.3825, allocations: 127.3 kB / 0.4913 GB, free: 12.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.3826, allocations: 97.83 kB / 0.4914 GB, free: 12.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3827, allocations: 356.4 kB / 0.4917 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.383, allocations: 93.98 kB / 0.4918 GB, free: 11.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004275/0.3834, allocations: 429.2 kB / 0.4922 GB, free: 11.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006685/0.3841, allocations: 0.5626 MB / 0.4928 GB, free: 10.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/0.3841, allocations: 3.969 kB / 0.4928 GB, free: 10.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008248/0.3849, allocations: 0.5278 MB / 0.4933 GB, free: 10.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.385, allocations: 10.28 kB / 0.4933 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/0.385, allocations: 14.94 kB / 0.4933 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.954e-05/0.385, allocations: 16.5 kB / 0.4933 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004672/0.3855, allocations: 143 kB / 0.4935 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.151e-05/0.3855, allocations: 25.77 kB / 0.4935 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002922/0.3858, allocations: 64.7 kB / 0.4936 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-05/0.3859, allocations: 32.09 kB / 0.4936 GB, free: 10.52 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.0001695/0.3861, allocations: 185.2 kB / 0.4938 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.3862, allocations: 32.62 kB / 0.4938 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.195e-05/0.3863, allocations: 34.25 kB / 0.4938 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.3863, allocations: 5.5 kB / 0.4938 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.3863, allocations: 1.594 kB / 0.4938 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.3864, allocations: 2.75 kB / 0.4938 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.3875, allocations: 0.6562 MB / 0.4945 GB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.3876, allocations: 2.969 kB / 0.4945 GB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000475/0.388, allocations: 90.25 kB / 0.4946 GB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.3881, allocations: 3.438 kB / 0.4946 GB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/0.3881, allocations: 10.98 kB / 0.4946 GB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/0.3881, allocations: 12.06 kB / 0.4946 GB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.3881, allocations: 2.031 kB / 0.4946 GB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007364/0.3889, allocations: 0.8476 MB / 0.4954 GB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.466e-05/0.3889, allocations: 107.5 kB / 0.4955 GB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.389, allocations: 14.14 kB / 0.4955 GB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000337/0.3893, allocations: 10.64 kB / 0.4955 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.826e-05/0.3894, allocations: 21.31 kB / 0.4956 GB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.3895, allocations: 13.55 kB / 0.4956 GB, free: 8.969 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001927/0.3897, allocations: 185.6 kB / 0.4958 GB, free: 8.859 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.3897, allocations: 5.562 kB / 0.4958 GB, free: 8.855 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007237/0.3904, allocations: 98.33 kB / 0.4959 GB, free: 8.836 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.0001048/0.3905, allocations: 108.1 kB / 0.496 GB, free: 8.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005509/0.3911, allocations: 299.7 kB / 0.4962 GB, free: 8.637 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3911, allocations: 0 / 0.4962 GB, free: 8.637 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.3912, allocations: 93.8 kB / 0.4963 GB, free: 8.609 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009945/0.3922, allocations: 77 kB / 0.4964 GB, free: 8.566 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.3942, allocations: 1.522 MB / 0.4979 GB, free: 7.367 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.3945, allocations: 0.7978 MB / 0.4987 GB, free: 6.664 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001507/0.3947, allocations: 42.09 kB / 0.4987 GB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.294e-05/0.3948, allocations: 32.66 kB / 0.4987 GB, free: 6.641 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3948, allocations: 0 / 0.4987 GB, free: 6.641 MB / 382.1 MB Notification: Performance of Templates: time 0.006938/0.4017, allocations: 3.005 MB / 0.5017 GB, free: 5.293 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1)