Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.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.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005753/0.005753, allocations: 100.4 kB / 15.73 MB, free: 6.062 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.001163/0.001163, allocations: 199.9 kB / 16.68 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.611/1.611, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.3685/0.3685, allocations: 38 MB / 307.9 MB, free: 10.24 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.001819/0.001819, allocations: 71.89 kB / 433 MB, free: 5.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3813, allocations: 56.47 MB / 489.5 MB, free: 20.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004539/0.3859, allocations: 3.059 MB / 492.5 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000898/0.3869, allocations: 415.3 kB / 492.9 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.3871, allocations: 11.03 kB / 492.9 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.3872, allocations: 68.98 kB / 493 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.3875, allocations: 169.3 kB / 493.2 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.3878, allocations: 99.69 kB / 493.3 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005758/0.3884, allocations: 0.534 MB / 493.8 MB, free: 17.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003286/0.3887, allocations: 166.5 kB / 494 MB, free: 17.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002687/0.389, allocations: 209.8 kB / 494.2 MB, free: 17.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003398/0.3894, allocations: 213.7 kB / 494.4 MB, free: 16.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.64e-05/0.3895, allocations: 39.97 kB / 494.4 MB, free: 16.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.505e-05/0.3896, allocations: 41 kB / 494.4 MB, free: 16.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.099e-05/0.3896, allocations: 96.5 kB / 494.5 MB, free: 16.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002653/0.3899, allocations: 246 kB / 494.8 MB, free: 16.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007672/0.3907, allocations: 0.5246 MB / 495.3 MB, free: 16.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.3907, allocations: 3.938 kB / 495.3 MB, free: 16.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3907, allocations: 5.188 kB / 495.3 MB, free: 16.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.3907, allocations: 0 / 495.3 MB, free: 16.53 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001086/0.3918, allocations: 0.7112 MB / 496 MB, free: 15.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.3919, allocations: 13.36 kB / 496 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.392, allocations: 59.44 kB / 496.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.3923, allocations: 297.8 kB / 496.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.79e-05/0.3924, allocations: 32.25 kB / 496.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.3925, allocations: 58.02 kB / 496.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007743/0.3933, allocations: 457.1 kB / 496.9 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.383e-05/0.3933, allocations: 8.25 kB / 496.9 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/0.3934, allocations: 26.45 kB / 497 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.3934, allocations: 11.66 kB / 497 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004624/0.3939, allocations: 256.7 kB / 497.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/0.396, allocations: 1.694 MB / 498.9 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005299/0.3965, allocations: 408.9 kB / 499.3 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.3968, allocations: 159.2 kB / 499.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.3968, allocations: 5.453 kB / 499.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.3968, allocations: 49.41 kB / 499.5 MB, free: 13.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 2.525e-06/0.3968, allocations: 4 kB / 499.5 MB, free: 13.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007772/0.3976, allocations: 355.8 kB / 499.9 MB, free: 13.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.39e-05/0.3977, allocations: 275.9 kB / 0.4884 GB, free: 13.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.398, allocations: 252.1 kB / 0.4887 GB, free: 12.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.398, allocations: 32.45 kB / 0.4887 GB, free: 12.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.3982, allocations: 241.3 kB / 0.4889 GB, free: 12.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.3983, allocations: 187 kB / 0.4891 GB, free: 12.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.3985, allocations: 113.6 kB / 0.4892 GB, free: 12.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.107e-05/0.3986, allocations: 347 kB / 0.4895 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.3988, allocations: 115.9 kB / 0.4896 GB, free: 12.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/0.3991, allocations: 419.3 kB / 0.49 GB, free: 11.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005932/0.3997, allocations: 0.5796 MB / 0.4906 GB, free: 11.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.3998, allocations: 4.266 kB / 0.4906 GB, free: 11.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009018/0.4007, allocations: 0.5622 MB / 0.4912 GB, free: 10.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/0.4007, allocations: 9.969 kB / 0.4912 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/0.4007, allocations: 14.44 kB / 0.4912 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.504e-05/0.4008, allocations: 18.41 kB / 0.4912 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/0.4014, allocations: 181.2 kB / 0.4914 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.032e-05/0.4014, allocations: 19.88 kB / 0.4914 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/0.4017, allocations: 66.66 kB / 0.4915 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.555e-05/0.4018, allocations: 36.97 kB / 0.4915 GB, free: 10.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.0001662/0.4019, allocations: 178.8 kB / 0.4917 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.4021, allocations: 40.12 kB / 0.4917 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.562e-05/0.4022, allocations: 45.78 kB / 0.4918 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.4022, allocations: 14.47 kB / 0.4918 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/0.4023, allocations: 2.781 kB / 0.4918 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.4023, allocations: 10.11 kB / 0.4918 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009899/0.4033, allocations: 413.3 kB / 0.4922 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4033, allocations: 2.562 kB / 0.4922 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005367/0.4038, allocations: 122.2 kB / 0.4923 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.4039, allocations: 4.062 kB / 0.4923 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.409e-05/0.4039, allocations: 17.08 kB / 0.4923 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.4039, allocations: 11.48 kB / 0.4923 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.4039, allocations: 3 kB / 0.4923 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006839/0.4046, allocations: 1.086 MB / 0.4934 GB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.561e-05/0.4047, allocations: 109.3 kB / 0.4935 GB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.632e-05/0.4047, allocations: 14.55 kB / 0.4935 GB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/0.4051, allocations: 11.16 kB / 0.4935 GB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.4052, allocations: 35.14 kB / 0.4935 GB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.4052, allocations: 15.62 kB / 0.4936 GB, free: 9.219 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.4053, allocations: 172.1 kB / 0.4937 GB, free: 9.109 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4053, allocations: 4 kB / 0.4937 GB, free: 9.105 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008325/0.4062, allocations: 135 kB / 0.4939 GB, free: 9.074 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * 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.0001845/0.4064, allocations: 114 kB / 0.494 GB, free: 8.969 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005878/0.407, allocations: 342.5 kB / 0.4943 GB, free: 8.863 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.407, allocations: 0 / 0.4943 GB, free: 8.863 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.4072, allocations: 131.6 kB / 0.4944 GB, free: 8.824 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.4084, allocations: 107.8 kB / 0.4945 GB, free: 8.777 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/0.411, allocations: 1.962 MB / 0.4964 GB, free: 7.242 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.4114, allocations: 0.8254 MB / 0.4972 GB, free: 6.539 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002138/0.4116, allocations: 49.17 kB / 0.4973 GB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.88e-05/0.4117, allocations: 36.38 kB / 0.4973 GB, free: 6.512 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4117, allocations: 0 / 0.4973 GB, free: 6.512 MB / 382.1 MB Notification: Performance of Templates: time 0.01004/0.4218, allocations: 4.261 MB / 0.5015 GB, free: 5.234 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1)