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.005708/0.005708, allocations: 103.5 kB / 15.74 MB, free: 6.488 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.001106/0.001106, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.656/1.656, allocations: 205.1 MB / 222.6 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.3422/0.3422, allocations: 39.94 MB / 309.8 MB, free: 9.406 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.00151/0.00151, allocations: 71.91 kB / 435.8 MB, free: 2.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3676, allocations: 56.87 MB / 492.6 MB, free: 19.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.00401/0.3716, allocations: 2.851 MB / 495.5 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.3728, allocations: 0.7421 MB / 496.2 MB, free: 17.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.373, allocations: 12.75 kB / 496.2 MB, free: 17.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.3732, allocations: 63.12 kB / 496.3 MB, free: 17.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.3735, allocations: 116 kB / 496.4 MB, free: 17.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.3737, allocations: 96.55 kB / 496.5 MB, free: 17.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004231/0.3742, allocations: 458.3 kB / 497 MB, free: 16.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003314/0.3745, allocations: 183.1 kB / 497.1 MB, free: 16.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.3747, allocations: 173.1 kB / 497.3 MB, free: 16.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002723/0.375, allocations: 188.1 kB / 497.5 MB, free: 16.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.647e-05/0.3751, allocations: 34.88 kB / 497.5 MB, free: 16.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.174e-05/0.3752, allocations: 34.81 kB / 497.6 MB, free: 16.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.985e-05/0.3753, allocations: 88.2 kB / 497.7 MB, free: 16.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.3755, allocations: 204.7 kB / 497.9 MB, free: 16.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004859/0.376, allocations: 448.8 kB / 498.3 MB, free: 16.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.376, allocations: 0 / 498.3 MB, free: 16.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.376, allocations: 0 / 498.3 MB, free: 16.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.376, allocations: 1.406 kB / 498.3 MB, free: 16.17 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.0009305/0.3769, allocations: 0.6677 MB / 499 MB, free: 15.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.377, allocations: 12.8 kB / 499 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.956e-05/0.3771, allocations: 42.3 kB / 499 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.3774, allocations: 299.6 kB / 499.3 MB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.3775, allocations: 28.16 kB / 499.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.779e-05/0.3776, allocations: 47.34 kB / 499.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007758/0.3783, allocations: 383.1 kB / 499.8 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/0.3784, allocations: 7.047 kB / 499.8 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.119e-05/0.3784, allocations: 15.53 kB / 499.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.3784, allocations: 9.5 kB / 499.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006057/0.3791, allocations: 259.1 kB / 0.4883 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.3808, allocations: 1.092 MB / 0.4894 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005686/0.3814, allocations: 342.5 kB / 0.4897 GB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/0.3817, allocations: 181.2 kB / 0.4899 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.3817, allocations: 4.25 kB / 0.4899 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.3818, allocations: 37.7 kB / 0.4899 GB, free: 14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 1.643e-06/0.3818, allocations: 0 / 0.4899 GB, free: 14 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.003547/0.3853, allocations: 2.447 MB / 0.4923 GB, free: 12.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.3854, allocations: 118.3 kB / 0.4924 GB, free: 12.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.3856, allocations: 247.8 kB / 0.4927 GB, free: 11.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.3857, allocations: 39.02 kB / 0.4927 GB, free: 11.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.529e-05/0.3858, allocations: 182.2 kB / 0.4929 GB, free: 11.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.3859, allocations: 196.8 kB / 0.4931 GB, free: 11.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.386, allocations: 87.44 kB / 0.4931 GB, free: 11.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.599e-05/0.3861, allocations: 351 kB / 0.4935 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.3864, allocations: 131.2 kB / 0.4936 GB, free: 11.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.3867, allocations: 231.7 kB / 0.4938 GB, free: 10.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006168/0.3873, allocations: 398 kB / 0.4942 GB, free: 10.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3873, allocations: 0.9375 kB / 0.4942 GB, free: 10.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001039/0.3884, allocations: 0.5512 MB / 0.4947 GB, free: 10.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.3884, allocations: 6.703 kB / 0.4947 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.3884, allocations: 2.719 kB / 0.4948 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004035/0.3888, allocations: 123.9 kB / 0.4949 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004145/0.3893, allocations: 100.5 kB / 0.495 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003162/0.3924, allocations: 5.212 MB / 0.5001 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002627/0.3927, allocations: 18.83 kB / 0.5001 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.3928, allocations: 27.77 kB / 0.5001 GB, free: 5.359 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.0001876/0.393, allocations: 165.9 kB / 0.5003 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-05/0.3931, allocations: 37.61 kB / 0.5003 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.772e-05/0.3932, allocations: 47.98 kB / 0.5003 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.3932, allocations: 6.344 kB / 0.5003 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-05/0.3932, allocations: 11.95 kB / 0.5004 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.3932, allocations: 3.656 kB / 0.5004 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.395, allocations: 1.329 MB / 0.5017 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.395, allocations: 1.031 kB / 0.5017 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003967/0.3954, allocations: 98.94 kB / 0.5018 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002534/0.3957, allocations: 91.83 kB / 0.5018 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/0.3957, allocations: 19.91 kB / 0.5019 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002319/0.398, allocations: 4.419 MB / 0.5062 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.398, allocations: 2.266 kB / 0.5062 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.3994, allocations: 0.9271 MB / 0.5071 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.3995, allocations: 111.3 kB / 0.5072 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/0.3996, allocations: 13.34 kB / 0.5072 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.3999, allocations: 18.2 kB / 0.5072 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.4, allocations: 51.56 kB / 0.5073 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.4, allocations: 15 kB / 0.5073 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001883/0.4002, allocations: 174.8 kB / 0.5075 GB, free: 14.67 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4002, allocations: 0 / 0.5075 GB, free: 14.67 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008121/0.401, allocations: 117.3 kB / 0.5076 GB, free: 14.66 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.0001427/0.4012, allocations: 110.7 kB / 0.5077 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.4026, allocations: 0.7675 MB / 0.5084 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4026, allocations: 4.125 kB / 0.5084 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008152/0.4034, allocations: 0.5845 MB / 0.509 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006856/0.4041, allocations: 63.05 kB / 0.5091 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.406, allocations: 1.085 MB / 0.5101 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.4065, allocations: 0.8147 MB / 0.5109 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001417/0.4066, allocations: 34.27 kB / 0.5109 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.635e-05/0.4067, allocations: 28.72 kB / 0.511 GB, free: 11.94 MB / 398.1 MB Notification: Performance of SimCode: time 4.7e-07/0.4067, allocations: 4 kB / 0.511 GB, free: 11.93 MB / 398.1 MB Notification: Performance of Templates: time 0.009962/0.4167, allocations: 4.557 MB / 0.5154 GB, free: 9.703 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)