Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Directions3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01335/0.01335, allocations: 102.8 kB / 15.73 MB, free: 6.035 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.002333/0.002333, allocations: 189.9 kB / 16.67 MB, free: 5.973 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.618/1.618, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.351/0.351, allocations: 39.94 MB / 309.8 MB, free: 9.379 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.001623/0.001623, allocations: 67.91 kB / 435.8 MB, free: 2.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3992, allocations: 56.87 MB / 492.6 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003288/0.4025, allocations: 1.665 MB / 494.3 MB, free: 18.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003054/0.4028, allocations: 109.4 kB / 494.4 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.124e-05/0.4029, allocations: 6.094 kB / 494.4 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.432e-05/0.403, allocations: 13.42 kB / 494.4 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.4031, allocations: 37.02 kB / 494.5 MB, free: 18.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001562/0.4033, allocations: 26.27 kB / 494.5 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.4035, allocations: 129.1 kB / 494.6 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.4036, allocations: 37.28 kB / 494.6 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.361e-05/0.4037, allocations: 45.45 kB / 494.7 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.002e-05/0.4038, allocations: 51.48 kB / 494.7 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.4038, allocations: 9.969 kB / 494.8 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.319e-05/0.4039, allocations: 8.844 kB / 494.8 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.21e-05/0.4039, allocations: 23.92 kB / 494.8 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.732e-05/0.404, allocations: 54.97 kB / 494.8 MB, free: 18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.4042, allocations: 124.6 kB / 495 MB, free: 17.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.4042, allocations: 5.562 kB / 495 MB, free: 17.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4042, allocations: 4 kB / 495 MB, free: 17.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.4042, allocations: 0 / 495 MB, free: 17.95 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004999/0.4047, allocations: 404.8 kB / 495.4 MB, free: 17.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.4048, allocations: 13.8 kB / 495.4 MB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.4048, allocations: 11.56 kB / 495.4 MB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.405, allocations: 204.1 kB / 495.6 MB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.405, allocations: 9.422 kB / 495.6 MB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.4051, allocations: 14.14 kB / 495.6 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.4053, allocations: 134.2 kB / 495.7 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.4054, allocations: 2.047 kB / 495.7 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.4054, allocations: 10.31 kB / 495.8 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.4054, allocations: 2.469 kB / 495.8 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.4055, allocations: 60.31 kB / 495.8 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007276/0.4063, allocations: 0.5396 MB / 496.4 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.4064, allocations: 90.56 kB / 496.4 MB, free: 16.65 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.243e-05/0.4064, allocations: 25.77 kB / 496.5 MB, free: 16.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.4065, allocations: 9.594 kB / 496.5 MB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.4065, allocations: 40.38 kB / 496.5 MB, free: 16.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.4065, allocations: 0 / 496.5 MB, free: 16.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005633/0.4071, allocations: 300.9 kB / 496.8 MB, free: 16.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.4071, allocations: 79.09 kB / 496.9 MB, free: 16.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.695e-05/0.4072, allocations: 122.7 kB / 497 MB, free: 16.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.4072, allocations: 35.05 kB / 497 MB, free: 16.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.239e-05/0.4073, allocations: 118.5 kB / 497.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.4073, allocations: 34.88 kB / 497.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/0.4074, allocations: 31.44 kB / 497.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.249e-05/0.4075, allocations: 320.5 kB / 497.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.177e-05/0.4075, allocations: 23.06 kB / 497.6 MB, free: 15.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.626e-05/0.4076, allocations: 87.45 kB / 497.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.4078, allocations: 124.4 kB / 497.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4078, allocations: 1.344 kB / 497.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003224/0.4081, allocations: 166.9 kB / 497.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.97e-05/0.4081, allocations: 8.859 kB / 497.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.4082, allocations: 6.219 kB / 497.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002723/0.4085, allocations: 38.81 kB / 498 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.4086, allocations: 19.62 kB / 498 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/0.4107, allocations: 2.736 MB / 0.489 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.095e-05/0.4107, allocations: 15.78 kB / 0.489 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.4108, allocations: 7 kB / 0.489 GB, free: 12.41 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.4109, allocations: 128.1 kB / 0.4891 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.972e-05/0.411, allocations: 8.062 kB / 0.4892 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.117e-05/0.411, allocations: 19.69 kB / 0.4892 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.411, allocations: 1.281 kB / 0.4892 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.411, allocations: 1.609 kB / 0.4892 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.411, allocations: 2.438 kB / 0.4892 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.4114, allocations: 201.1 kB / 0.4894 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.4114, allocations: 4.797 kB / 0.4894 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.4115, allocations: 13.83 kB / 0.4894 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001123/0.4116, allocations: 32.23 kB / 0.4894 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.4116, allocations: 9.5 kB / 0.4894 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/0.4135, allocations: 2.731 MB / 0.4921 GB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.4135, allocations: 1.344 kB / 0.4921 GB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.4139, allocations: 307.4 kB / 0.4924 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.4139, allocations: 83.08 kB / 0.4925 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.4139, allocations: 3.875 kB / 0.4925 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.164e-05/0.414, allocations: 0 / 0.4925 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.4141, allocations: 10.75 kB / 0.4925 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.4141, allocations: 7.234 kB / 0.4925 GB, free: 8.828 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.915e-05/0.4142, allocations: 91.22 kB / 0.4926 GB, free: 8.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.312e-06/0.4142, allocations: 0 / 0.4926 GB, free: 8.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004711/0.4147, allocations: 48.69 kB / 0.4926 GB, free: 8.73 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000202/0.4149, allocations: 97.06 kB / 0.4927 GB, free: 8.641 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006955/0.4156, allocations: 308.8 kB / 0.493 GB, free: 8.387 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.4156, allocations: 8.125 kB / 0.493 GB, free: 8.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003275/0.416, allocations: 254 kB / 0.4933 GB, free: 8.148 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006243/0.4166, allocations: 28.58 kB / 0.4933 GB, free: 8.137 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008616/0.4175, allocations: 473.3 kB / 0.4937 GB, free: 7.762 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.4177, allocations: 0.7053 MB / 0.4944 GB, free: 7.066 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.159e-05/0.4177, allocations: 10.3 kB / 0.4944 GB, free: 7.059 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.4178, allocations: 16.38 kB / 0.4944 GB, free: 7.047 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4178, allocations: 0 / 0.4944 GB, free: 7.047 MB / 382.1 MB Notification: Performance of Templates: time 0.006106/0.4239, allocations: 1.568 MB / 0.496 GB, free: 6.891 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1)