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.00995/0.009949, allocations: 100.6 kB / 15.73 MB, free: 6.023 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.001832/0.001832, allocations: 192.9 kB / 16.67 MB, free: 5.957 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.605/1.605, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.3796/0.3796, allocations: 39.94 MB / 309.8 MB, free: 9.363 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.001432/0.001432, allocations: 67.91 kB / 435.8 MB, free: 2.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3784, allocations: 56.88 MB / 492.6 MB, free: 19.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.003938/0.3824, allocations: 2.832 MB / 495.5 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.3839, allocations: 0.7361 MB / 496.2 MB, free: 16.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002079/0.3841, allocations: 11.06 kB / 496.2 MB, free: 16.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002501/0.3844, allocations: 56.95 kB / 496.3 MB, free: 16.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.3846, allocations: 130 kB / 496.4 MB, free: 16.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.385, allocations: 89.2 kB / 496.5 MB, free: 16.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005959/0.3856, allocations: 433.4 kB / 496.9 MB, free: 16.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003578/0.386, allocations: 144.4 kB / 497.1 MB, free: 16.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003238/0.3863, allocations: 168.1 kB / 497.2 MB, free: 16.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003226/0.3866, allocations: 178.3 kB / 497.4 MB, free: 16.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.936e-05/0.3867, allocations: 36.44 kB / 497.4 MB, free: 16.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.054e-05/0.3868, allocations: 32.81 kB / 497.5 MB, free: 16.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.3869, allocations: 80.09 kB / 497.5 MB, free: 16.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002609/0.3872, allocations: 195.3 kB / 497.7 MB, free: 16.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007266/0.3879, allocations: 428.7 kB / 498.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3879, allocations: 0 / 498.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.997e-06/0.3879, allocations: 5.594 kB / 498.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.388, allocations: 0 / 498.2 MB, free: 15.93 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.001199/0.3892, allocations: 0.6432 MB / 498.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.3892, allocations: 14.2 kB / 498.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.3893, allocations: 40.91 kB / 498.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004038/0.3898, allocations: 278.3 kB / 499.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.848e-05/0.3898, allocations: 31.22 kB / 499.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.571e-05/0.3899, allocations: 47.66 kB / 499.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006676/0.3906, allocations: 393.3 kB / 499.6 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.3906, allocations: 7.844 kB / 499.6 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.352e-05/0.3906, allocations: 16.09 kB / 499.6 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.3907, allocations: 9.438 kB / 499.6 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005116/0.3912, allocations: 218.3 kB / 499.8 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002283/0.3935, allocations: 1.718 MB / 0.4898 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004554/0.3939, allocations: 267.4 kB / 0.4901 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.3941, allocations: 91.86 kB / 0.4901 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.3941, allocations: 7.969 kB / 0.4901 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.3942, allocations: 46.22 kB / 0.4902 GB, free: 13.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.963e-06/0.3942, allocations: 0 / 0.4902 GB, free: 13.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.000745/0.3949, allocations: 263.2 kB / 0.4904 GB, free: 12.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.58e-05/0.395, allocations: 218.5 kB / 0.4907 GB, free: 12.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/0.3954, allocations: 269.6 kB / 0.4909 GB, free: 12.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.3954, allocations: 31.02 kB / 0.4909 GB, free: 12.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.3956, allocations: 241.9 kB / 0.4912 GB, free: 12.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.822e-05/0.3956, allocations: 123.3 kB / 0.4913 GB, free: 12.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.3958, allocations: 103.2 kB / 0.4914 GB, free: 12.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.841e-05/0.3959, allocations: 349.7 kB / 0.4917 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.3961, allocations: 98.42 kB / 0.4918 GB, free: 11.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003917/0.3965, allocations: 419.1 kB / 0.4922 GB, free: 11.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006362/0.3971, allocations: 0.573 MB / 0.4928 GB, free: 10.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.3971, allocations: 2.688 kB / 0.4928 GB, free: 10.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000917/0.3981, allocations: 0.5237 MB / 0.4933 GB, free: 10.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.3981, allocations: 10.81 kB / 0.4933 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/0.3981, allocations: 13.09 kB / 0.4933 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.799e-05/0.3982, allocations: 16.03 kB / 0.4933 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004449/0.3986, allocations: 151.3 kB / 0.4935 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.093e-05/0.3987, allocations: 22.06 kB / 0.4935 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.399, allocations: 60.08 kB / 0.4935 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.713e-05/0.399, allocations: 32.06 kB / 0.4936 GB, free: 10.46 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.0001692/0.3992, allocations: 182 kB / 0.4937 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.3993, allocations: 31.45 kB / 0.4938 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.535e-05/0.3994, allocations: 35.31 kB / 0.4938 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.3994, allocations: 4.828 kB / 0.4938 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.3995, allocations: 6.75 kB / 0.4938 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.3995, allocations: 2.641 kB / 0.4938 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.4007, allocations: 0.6531 MB / 0.4945 GB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.4007, allocations: 2.656 kB / 0.4945 GB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004663/0.4012, allocations: 93.42 kB / 0.4946 GB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.4012, allocations: 4.25 kB / 0.4946 GB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.4013, allocations: 14.47 kB / 0.4946 GB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.4013, allocations: 7.125 kB / 0.4946 GB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.4013, allocations: 3.453 kB / 0.4946 GB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007518/0.4021, allocations: 0.842 MB / 0.4954 GB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.419e-05/0.4021, allocations: 111.5 kB / 0.4955 GB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/0.4022, allocations: 10.42 kB / 0.4955 GB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/0.4025, allocations: 14.45 kB / 0.4955 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.036e-05/0.4026, allocations: 29.78 kB / 0.4956 GB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.4026, allocations: 8.547 kB / 0.4956 GB, free: 8.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000161/0.4028, allocations: 183.1 kB / 0.4957 GB, free: 8.797 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4028, allocations: 0 / 0.4957 GB, free: 8.797 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007199/0.4035, allocations: 98.66 kB / 0.4958 GB, free: 8.777 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.0001065/0.4036, allocations: 124.5 kB / 0.496 GB, free: 8.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000594/0.4042, allocations: 295.2 kB / 0.4962 GB, free: 8.566 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4042, allocations: 0 / 0.4962 GB, free: 8.566 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.4044, allocations: 88.58 kB / 0.4963 GB, free: 8.543 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.4055, allocations: 81.47 kB / 0.4964 GB, free: 8.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.4077, allocations: 1.53 MB / 0.4979 GB, free: 7.293 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.4081, allocations: 0.7948 MB / 0.4987 GB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001709/0.4083, allocations: 45.16 kB / 0.4987 GB, free: 6.578 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.719e-05/0.4084, allocations: 27.81 kB / 0.4987 GB, free: 6.57 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4084, allocations: 0 / 0.4987 GB, free: 6.57 MB / 382.1 MB Notification: Performance of Templates: time 0.008088/0.4165, allocations: 3.065 MB / 0.5017 GB, free: 5.188 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)