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.006854/0.006854, allocations: 104.1 kB / 15.74 MB, free: 5.984 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.001464/0.001464, allocations: 197.8 kB / 16.68 MB, free: 5.91 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.588/1.588, allocations: 205.1 MB / 222.5 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.3369/0.3369, allocations: 38 MB / 307.9 MB, free: 10.12 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.001631/0.001631, allocations: 75.89 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.436/0.4377, allocations: 56.46 MB / 489.4 MB, free: 19.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004553/0.4423, allocations: 2.83 MB / 492.3 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.4437, allocations: 0.7344 MB / 493 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002117/0.444, allocations: 7.594 kB / 493 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.4442, allocations: 58.88 kB / 493.1 MB, free: 17.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002566/0.4445, allocations: 127.5 kB / 493.2 MB, free: 17.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.4448, allocations: 91.2 kB / 493.3 MB, free: 17.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004736/0.4453, allocations: 436.6 kB / 493.7 MB, free: 16.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002676/0.4456, allocations: 144.1 kB / 493.9 MB, free: 16.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002474/0.4458, allocations: 176.9 kB / 494 MB, free: 16.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.4461, allocations: 178.2 kB / 494.2 MB, free: 16.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.922e-05/0.4462, allocations: 32.91 kB / 494.2 MB, free: 16.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.711e-05/0.4462, allocations: 36.78 kB / 494.3 MB, free: 16.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.379e-05/0.4463, allocations: 75.17 kB / 494.3 MB, free: 16.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002471/0.4466, allocations: 196.4 kB / 494.5 MB, free: 16.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.4476, allocations: 431.6 kB / 495 MB, free: 16.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.4476, allocations: 0.7969 kB / 495 MB, free: 16.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.4476, allocations: 1.594 kB / 495 MB, free: 16.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.4477, allocations: 0 / 495 MB, free: 16.34 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.001355/0.449, allocations: 0.6497 MB / 495.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.384e-05/0.4491, allocations: 18.58 kB / 495.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.291e-05/0.4492, allocations: 41.81 kB / 495.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004421/0.4496, allocations: 273.6 kB / 495.9 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.537e-05/0.4497, allocations: 28.72 kB / 496 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.57e-05/0.4498, allocations: 41.47 kB / 496 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007174/0.4505, allocations: 398.4 kB / 496.4 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/0.4506, allocations: 4.125 kB / 496.4 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.536e-05/0.4506, allocations: 16.38 kB / 496.4 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.4506, allocations: 8.75 kB / 496.4 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004566/0.4511, allocations: 225.9 kB / 496.6 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002063/0.4532, allocations: 1.706 MB / 498.3 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.4536, allocations: 267.1 kB / 498.6 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.4538, allocations: 95.94 kB / 498.7 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.4538, allocations: 7.203 kB / 498.7 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.4538, allocations: 47.86 kB / 498.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.893e-06/0.4538, allocations: 0 / 498.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.0007381/0.4546, allocations: 262.5 kB / 499 MB, free: 13.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.891e-05/0.4546, allocations: 210.8 kB / 499.2 MB, free: 13.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/0.455, allocations: 276.9 kB / 499.5 MB, free: 12.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.455, allocations: 31.64 kB / 499.5 MB, free: 12.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.4552, allocations: 241.5 kB / 499.8 MB, free: 12.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.811e-05/0.4553, allocations: 112.6 kB / 499.9 MB, free: 12.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.4555, allocations: 100.5 kB / 500 MB, free: 12.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.4556, allocations: 348.6 kB / 0.4886 GB, free: 12.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.4558, allocations: 98.41 kB / 0.4887 GB, free: 12.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004359/0.4562, allocations: 429 kB / 0.4891 GB, free: 11.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006852/0.4569, allocations: 0.5619 MB / 0.4896 GB, free: 11.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.43e-05/0.457, allocations: 4.031 kB / 0.4896 GB, free: 11.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001036/0.458, allocations: 0.5353 MB / 0.4902 GB, free: 10.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.501e-05/0.458, allocations: 10.58 kB / 0.4902 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.351e-05/0.4581, allocations: 12.5 kB / 0.4902 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.849e-05/0.4581, allocations: 14.91 kB / 0.4902 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004979/0.4586, allocations: 150.9 kB / 0.4903 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.641e-05/0.4587, allocations: 22.11 kB / 0.4904 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.459, allocations: 65.36 kB / 0.4904 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.494e-05/0.4591, allocations: 35.38 kB / 0.4905 GB, free: 10.86 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.0001987/0.4593, allocations: 182.3 kB / 0.4906 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.4595, allocations: 31.69 kB / 0.4907 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.508e-05/0.4596, allocations: 39 kB / 0.4907 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.4596, allocations: 3.656 kB / 0.4907 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/0.4596, allocations: 6.719 kB / 0.4907 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.4596, allocations: 3.312 kB / 0.4907 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.461, allocations: 0.6526 MB / 0.4913 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.461, allocations: 2.328 kB / 0.4913 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004698/0.4615, allocations: 90.23 kB / 0.4914 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.4615, allocations: 3.375 kB / 0.4914 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.4616, allocations: 11.33 kB / 0.4914 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.034e-05/0.4616, allocations: 11.39 kB / 0.4915 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.4616, allocations: 2.438 kB / 0.4915 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008234/0.4624, allocations: 0.8303 MB / 0.4923 GB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.502e-05/0.4625, allocations: 112.6 kB / 0.4924 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.656e-05/0.4626, allocations: 9.344 kB / 0.4924 GB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003414/0.4629, allocations: 10.42 kB / 0.4924 GB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.555e-05/0.463, allocations: 21.38 kB / 0.4924 GB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.4631, allocations: 13.44 kB / 0.4924 GB, free: 9.324 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002025/0.4633, allocations: 181.8 kB / 0.4926 GB, free: 9.219 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4633, allocations: 5.188 kB / 0.4926 GB, free: 9.215 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008745/0.4642, allocations: 97.88 kB / 0.4927 GB, free: 9.195 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.0001382/0.4643, allocations: 113.7 kB / 0.4928 GB, free: 9.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006323/0.4649, allocations: 294.5 kB / 0.4931 GB, free: 8.996 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.465, allocations: 1.156 kB / 0.4931 GB, free: 8.996 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.4651, allocations: 94.61 kB / 0.4932 GB, free: 8.969 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.4662, allocations: 92.14 kB / 0.4933 GB, free: 8.914 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.4684, allocations: 1.522 MB / 0.4948 GB, free: 7.719 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.4687, allocations: 0.7981 MB / 0.4955 GB, free: 7.016 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001816/0.4689, allocations: 45.83 kB / 0.4956 GB, free: 7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.16e-05/0.469, allocations: 32.98 kB / 0.4956 GB, free: 6.988 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.469, allocations: 0 / 0.4956 GB, free: 6.988 MB / 382.1 MB Notification: Performance of Templates: time 0.009585/0.4785, allocations: 3.058 MB / 0.4986 GB, free: 6.582 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)