Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009207/0.009207, allocations: 163.7 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.282/1.282, allocations: 170.8 MB / 186.6 MB, free: 1.125 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001649/0.001648, allocations: 111.3 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3587/0.3587, allocations: 38.05 MB / 303.7 MB, free: 42.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003611, allocations: 8 kB / 362.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1149, allocations: 48.7 MB / 411.6 MB, free: 4.809 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3574/0.4724, allocations: 75.6 MB / 487.2 MB, free: 12.2 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.4727, allocations: 70.45 kB / 487.2 MB, free: 12.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01391/0.4866, allocations: 5.815 MB / 493.1 MB, free: 7.336 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4867, allocations: 0 / 493.1 MB, free: 7.336 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.4867, allocations: 8 kB / 493.1 MB, free: 7.328 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0007729/0.4875, allocations: 0.6131 MB / 493.7 MB, free: 6.699 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.4875, allocations: 15.42 kB / 493.7 MB, free: 6.688 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.833e-05/0.4876, allocations: 46.7 kB / 493.7 MB, free: 6.645 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.4879, allocations: 275.7 kB / 494 MB, free: 6.359 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.4879, allocations: 26.81 kB / 494 MB, free: 6.344 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.363e-05/0.488, allocations: 49.47 kB / 494.1 MB, free: 6.309 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005273/0.4885, allocations: 384.5 kB / 494.5 MB, free: 6.023 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.4885, allocations: 10.02 kB / 494.5 MB, free: 6.016 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/0.4886, allocations: 15.22 kB / 494.5 MB, free: 6.012 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.4886, allocations: 12 kB / 494.5 MB, free: 6 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004187/0.489, allocations: 256.7 kB / 494.7 MB, free: 5.816 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.4902, allocations: 1.1 MB / 495.8 MB, free: 4.859 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004265/0.4906, allocations: 364.4 kB / 496.2 MB, free: 4.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.4907, allocations: 11.94 kB / 496.2 MB, free: 4.559 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.4907, allocations: 38 kB / 496.2 MB, free: 4.516 MB / 330.7 MB Notification: Performance of pre-optimization done (n=39): time 1.563e-06/0.4907, allocations: 0 / 496.2 MB, free: 4.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.003023/0.4937, allocations: 2.483 MB / 498.7 MB, free: 2.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.4938, allocations: 114.8 kB / 498.8 MB, free: 2.023 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.4939, allocations: 219.9 kB / 499.1 MB, free: 1.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.494, allocations: 32.27 kB / 499.1 MB, free: 1.809 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.247e-05/0.4941, allocations: 189.2 kB / 499.3 MB, free: 1.656 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.102e-05/0.4942, allocations: 196.1 kB / 499.5 MB, free: 1.488 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-05/0.4942, allocations: 8.312 kB / 499.5 MB, free: 1.488 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.93e-05/0.4942, allocations: 348.6 kB / 499.8 MB, free: 1.152 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.4945, allocations: 139.4 kB / 499.9 MB, free: 1.059 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.4948, allocations: 235.9 kB / 0.4885 GB, free: 0.8477 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.495, allocations: 172.3 kB / 0.4886 GB, free: 0.7461 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.495, allocations: 0 / 0.4886 GB, free: 0.7461 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009622/0.496, allocations: 0.5699 MB / 0.4892 GB, free: 312 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.496, allocations: 11.94 kB / 0.4892 GB, free: 300 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.4961, allocations: 8.031 kB / 0.4892 GB, free: 292 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003405/0.4964, allocations: 122.5 kB / 0.4893 GB, free: 184 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003568/0.4968, allocations: 103.1 kB / 0.4894 GB, free: 84 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004537/0.5013, allocations: 4.705 MB / 0.494 GB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003195/0.5017, allocations: 22.58 kB / 0.494 GB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.5017, allocations: 19.25 kB / 0.494 GB, free: 11.39 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003111/0.502, allocations: 169.5 kB / 0.4942 GB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.5022, allocations: 35.53 kB / 0.4942 GB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.373e-05/0.5023, allocations: 50.55 kB / 0.4943 GB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.5023, allocations: 11.95 kB / 0.4943 GB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.946e-05/0.5023, allocations: 0 / 0.4943 GB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.5023, allocations: 7.984 kB / 0.4943 GB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.5043, allocations: 1.348 MB / 0.4956 GB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.5043, allocations: 0 / 0.4956 GB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004213/0.5048, allocations: 102.9 kB / 0.4957 GB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000291/0.5051, allocations: 88.58 kB / 0.4958 GB, free: 9.848 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.301e-05/0.5051, allocations: 17.58 kB / 0.4958 GB, free: 9.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003564/0.5087, allocations: 4.139 MB / 0.4999 GB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5087, allocations: 0 / 0.4999 GB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.5103, allocations: 1.004 MB / 0.5008 GB, free: 4.691 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.5106, allocations: 133.6 kB / 0.501 GB, free: 4.555 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.166e-05/0.5106, allocations: 18.86 kB / 0.501 GB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/0.5109, allocations: 19.69 kB / 0.501 GB, free: 4.531 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.511, allocations: 50.28 kB / 0.5011 GB, free: 4.488 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.5111, allocations: 11.25 kB / 0.5011 GB, free: 4.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001874/0.5113, allocations: 181.1 kB / 0.5012 GB, free: 4.328 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5113, allocations: 0 / 0.5012 GB, free: 4.328 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007487/0.5121, allocations: 119.9 kB / 0.5014 GB, free: 4.23 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001706/0.5122, allocations: 113.8 kB / 0.5015 GB, free: 4.117 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.5136, allocations: 0.7775 MB / 0.5022 GB, free: 3.426 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5136, allocations: 0 / 0.5022 GB, free: 3.426 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000804/0.5144, allocations: 0.5851 MB / 0.5028 GB, free: 2.871 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000501/0.515, allocations: 47.3 kB / 0.5028 GB, free: 2.844 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.517, allocations: 1.315 MB / 0.5041 GB, free: 1.578 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/0.5175, allocations: 0.828 MB / 0.5049 GB, free: 0.7266 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001538/0.5176, allocations: 43.25 kB / 0.505 GB, free: 0.6836 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.113e-05/0.5177, allocations: 27.44 kB / 0.505 GB, free: 0.6562 MB / 346.7 MB Notification: Performance of SimCode: time 4.4e-07/0.5177, allocations: 0 / 0.505 GB, free: 0.6562 MB / 346.7 MB Notification: Performance of Templates: time 0.008487/0.5262, allocations: 4.012 MB / 0.5089 GB, free: 12.67 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1)