Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00577/0.005776, allocations: 100.8 kB / 15.73 MB, free: 6.012 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.001271/0.001271, allocations: 187.8 kB / 16.67 MB, free: 5.949 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.615/1.615, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.3822/0.3822, allocations: 39.95 MB / 309.9 MB, free: 9.457 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.001426/0.001426, allocations: 71.89 kB / 435.8 MB, free: 2.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.408, allocations: 56.87 MB / 492.6 MB, free: 19.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.0047/0.4128, allocations: 2.85 MB / 495.5 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.4144, allocations: 0.7476 MB / 496.2 MB, free: 17.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002232/0.4147, allocations: 10.81 kB / 496.3 MB, free: 17.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.415, allocations: 60.91 kB / 496.3 MB, free: 17.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003011/0.4153, allocations: 119.2 kB / 496.4 MB, free: 17.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.4158, allocations: 101.2 kB / 496.5 MB, free: 16.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007069/0.4165, allocations: 449.5 kB / 497 MB, free: 16.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004614/0.417, allocations: 187.6 kB / 497.1 MB, free: 16.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002911/0.4173, allocations: 178.8 kB / 497.3 MB, free: 16.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002994/0.4176, allocations: 184.8 kB / 497.5 MB, free: 16.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.674e-05/0.4177, allocations: 34.84 kB / 497.5 MB, free: 16.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.828e-05/0.4177, allocations: 35.25 kB / 497.6 MB, free: 16.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.789e-05/0.4178, allocations: 84.95 kB / 497.7 MB, free: 16.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002315/0.4181, allocations: 206.6 kB / 497.9 MB, free: 16.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008436/0.4189, allocations: 449.2 kB / 498.3 MB, free: 16.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.17e-05/0.4189, allocations: 1.094 kB / 498.3 MB, free: 16.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.949e-06/0.419, allocations: 0 / 498.3 MB, free: 16.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.202e-05/0.419, allocations: 4.516 kB / 498.3 MB, free: 16.1 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001389/0.4204, allocations: 0.6684 MB / 499 MB, free: 15.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.4204, allocations: 12.89 kB / 499 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.843e-05/0.4205, allocations: 43.05 kB / 499 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/0.421, allocations: 298.8 kB / 499.3 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.652e-05/0.421, allocations: 29.06 kB / 499.3 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.067e-05/0.4211, allocations: 41.41 kB / 499.4 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007369/0.4219, allocations: 384.7 kB / 499.8 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.4219, allocations: 6.062 kB / 499.8 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.4219, allocations: 15.31 kB / 499.8 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.422, allocations: 9.594 kB / 499.8 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005391/0.4225, allocations: 250.9 kB / 0.4883 GB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.4242, allocations: 1.098 MB / 0.4894 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006693/0.4249, allocations: 344.9 kB / 0.4897 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003252/0.4252, allocations: 184.5 kB / 0.4899 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.031e-05/0.4253, allocations: 5.219 kB / 0.4899 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.4253, allocations: 38.97 kB / 0.4899 GB, free: 13.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 1.583e-06/0.4253, allocations: 0 / 0.4899 GB, free: 13.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.003874/0.4292, allocations: 2.442 MB / 0.4923 GB, free: 12.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.051e-05/0.4293, allocations: 126.5 kB / 0.4924 GB, free: 11.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.4296, allocations: 237.7 kB / 0.4927 GB, free: 11.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.4296, allocations: 36.45 kB / 0.4927 GB, free: 11.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.4297, allocations: 182.6 kB / 0.4929 GB, free: 11.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.4299, allocations: 197.5 kB / 0.4931 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.43, allocations: 85.81 kB / 0.4931 GB, free: 11.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.4301, allocations: 351.2 kB / 0.4935 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.4304, allocations: 135.7 kB / 0.4936 GB, free: 11.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003592/0.4308, allocations: 226.4 kB / 0.4938 GB, free: 10.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006183/0.4314, allocations: 399.6 kB / 0.4942 GB, free: 10.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4314, allocations: 13.03 kB / 0.4942 GB, free: 10.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001113/0.4326, allocations: 0.5424 MB / 0.4947 GB, free: 10.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.4326, allocations: 7.156 kB / 0.4948 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.4326, allocations: 6.938 kB / 0.4948 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004179/0.433, allocations: 123 kB / 0.4949 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004303/0.4335, allocations: 95.62 kB / 0.495 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003786/0.4373, allocations: 5.214 MB / 0.5001 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003117/0.4376, allocations: 22.73 kB / 0.5001 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.595e-05/0.4377, allocations: 19 kB / 0.5001 GB, free: 5.297 MB / 382.1 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002244/0.4379, allocations: 167 kB / 0.5003 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.438, allocations: 38.05 kB / 0.5003 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.503e-05/0.4381, allocations: 48.02 kB / 0.5003 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.4381, allocations: 5.656 kB / 0.5003 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.546e-05/0.4381, allocations: 12.7 kB / 0.5004 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.4381, allocations: 2.859 kB / 0.5004 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.44, allocations: 1.331 MB / 0.5017 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.44, allocations: 6 kB / 0.5017 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000403/0.4404, allocations: 94.67 kB / 0.5018 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002627/0.4407, allocations: 95.92 kB / 0.5019 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.4407, allocations: 20.39 kB / 0.5019 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002471/0.4432, allocations: 4.414 MB / 0.5062 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.4432, allocations: 1.219 kB / 0.5062 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.4446, allocations: 0.9276 MB / 0.5071 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.4448, allocations: 108 kB / 0.5072 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.4448, allocations: 11.72 kB / 0.5072 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/0.4451, allocations: 23.11 kB / 0.5072 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.4452, allocations: 47.22 kB / 0.5073 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.4453, allocations: 15.66 kB / 0.5073 GB, free: 14.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001801/0.4455, allocations: 174.9 kB / 0.5075 GB, free: 14.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4455, allocations: 0 / 0.5075 GB, free: 14.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008333/0.4463, allocations: 120.7 kB / 0.5076 GB, free: 14.59 MB / 398.1 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000156/0.4465, allocations: 115.6 kB / 0.5077 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.4479, allocations: 0.7703 MB / 0.5084 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.448, allocations: 0 / 0.5084 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007813/0.4487, allocations: 0.5741 MB / 0.509 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006767/0.4494, allocations: 71.38 kB / 0.5091 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.4514, allocations: 1.077 MB / 0.5101 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004613/0.4518, allocations: 0.8231 MB / 0.5109 GB, free: 11.9 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000151/0.452, allocations: 30.12 kB / 0.5109 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.684e-05/0.4521, allocations: 32.34 kB / 0.511 GB, free: 11.88 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4521, allocations: 0 / 0.511 GB, free: 11.88 MB / 398.1 MB Notification: Performance of Templates: time 0.01064/0.4627, allocations: 4.69 MB / 0.5156 GB, free: 9.539 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1)