Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.007456/0.007456, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001688/0.001689, 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.588/1.588, 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.2+maint.om/package.mo): time 0.3239/0.3239, allocations: 39.94 MB / 309.8 MB, free: 9.469 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.001455/0.001455, allocations: 63.91 kB / 435.8 MB, free: 2.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3171, allocations: 56.88 MB / 492.6 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.00407/0.3212, allocations: 3.061 MB / 495.7 MB, free: 17.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007543/0.322, allocations: 419.7 kB / 496.1 MB, free: 16.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.3222, allocations: 10.59 kB / 496.1 MB, free: 16.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.3224, allocations: 68.08 kB / 496.2 MB, free: 16.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003096/0.3227, allocations: 161.4 kB / 496.4 MB, free: 16.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.3229, allocations: 103 kB / 496.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000512/0.3235, allocations: 0.539 MB / 497 MB, free: 16.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003091/0.3238, allocations: 166.4 kB / 497.2 MB, free: 16.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000241/0.324, allocations: 192.2 kB / 497.3 MB, free: 16.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003061/0.3243, allocations: 217.3 kB / 497.6 MB, free: 16.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.641e-05/0.3244, allocations: 42.16 kB / 497.6 MB, free: 16.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.3245, allocations: 38.81 kB / 497.6 MB, free: 16.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.3247, allocations: 92.17 kB / 497.7 MB, free: 16.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002935/0.325, allocations: 251.4 kB / 498 MB, free: 16.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008632/0.3258, allocations: 0.5252 MB / 498.5 MB, free: 15.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3258, allocations: 4.703 kB / 498.5 MB, free: 15.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3258, allocations: 0 / 498.5 MB, free: 15.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.3259, allocations: 0 / 498.5 MB, free: 15.8 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.00124/0.3271, allocations: 0.7107 MB / 499.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/0.3272, allocations: 17.52 kB / 499.2 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.3273, allocations: 55.06 kB / 499.3 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/0.3277, allocations: 294.9 kB / 499.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.256e-05/0.3277, allocations: 35.84 kB / 499.6 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.3279, allocations: 57.97 kB / 499.7 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000834/0.3287, allocations: 453.8 kB / 0.4884 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.025e-05/0.3287, allocations: 17.12 kB / 0.4884 GB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.194e-05/0.3288, allocations: 20.67 kB / 0.4884 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.3288, allocations: 11.75 kB / 0.4884 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005047/0.3293, allocations: 262.6 kB / 0.4887 GB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002066/0.3314, allocations: 1.688 MB / 0.4903 GB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004387/0.3319, allocations: 409.3 kB / 0.4907 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.332, allocations: 159.8 kB / 0.4909 GB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.3321, allocations: 10.08 kB / 0.4909 GB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.3321, allocations: 45.8 kB / 0.4909 GB, free: 12.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 1.764e-06/0.3321, allocations: 1.594 kB / 0.4909 GB, free: 12.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007683/0.3329, allocations: 360.1 kB / 0.4913 GB, free: 12.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.333, allocations: 276.5 kB / 0.4915 GB, free: 12.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.3333, allocations: 251.8 kB / 0.4918 GB, free: 12.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.3333, allocations: 35.92 kB / 0.4918 GB, free: 12.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.3335, allocations: 241.1 kB / 0.492 GB, free: 11.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.3336, allocations: 180.6 kB / 0.4922 GB, free: 11.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.3338, allocations: 117 kB / 0.4923 GB, free: 11.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3339, allocations: 347.8 kB / 0.4927 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.3341, allocations: 119.9 kB / 0.4928 GB, free: 11.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000383/0.3345, allocations: 418.5 kB / 0.4932 GB, free: 10.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005083/0.3351, allocations: 0.573 MB / 0.4937 GB, free: 10.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.3351, allocations: 6.75 kB / 0.4937 GB, free: 10.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008014/0.3359, allocations: 0.5658 MB / 0.4943 GB, free: 10.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.3359, allocations: 11.36 kB / 0.4943 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.3359, allocations: 9.25 kB / 0.4943 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.778e-05/0.336, allocations: 16.05 kB / 0.4943 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005885/0.3366, allocations: 182.9 kB / 0.4945 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.752e-05/0.3366, allocations: 20.86 kB / 0.4945 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002771/0.3369, allocations: 63.16 kB / 0.4946 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.5e-05/0.337, allocations: 30.94 kB / 0.4946 GB, free: 10.03 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.0001771/0.3371, allocations: 185.1 kB / 0.4948 GB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.3373, allocations: 42.81 kB / 0.4948 GB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.271e-05/0.3374, allocations: 41.66 kB / 0.4949 GB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/0.3374, allocations: 15.61 kB / 0.4949 GB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.3374, allocations: 3.188 kB / 0.4949 GB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/0.3375, allocations: 7.906 kB / 0.4949 GB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009825/0.3384, allocations: 415.5 kB / 0.4953 GB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3385, allocations: 2.531 kB / 0.4953 GB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005746/0.339, allocations: 126.8 kB / 0.4954 GB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.3391, allocations: 4.125 kB / 0.4954 GB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.3391, allocations: 15.16 kB / 0.4954 GB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.3391, allocations: 9.062 kB / 0.4954 GB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3391, allocations: 2.812 kB / 0.4954 GB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006553/0.3398, allocations: 1.082 MB / 0.4965 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.018e-05/0.3399, allocations: 113 kB / 0.4966 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.731e-05/0.3399, allocations: 10.73 kB / 0.4966 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004013/0.3403, allocations: 15.09 kB / 0.4966 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.3404, allocations: 31.05 kB / 0.4967 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.3404, allocations: 12.3 kB / 0.4967 GB, free: 8.484 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.3405, allocations: 173.9 kB / 0.4968 GB, free: 8.375 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3405, allocations: 0 / 0.4968 GB, free: 8.375 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008549/0.3414, allocations: 140.2 kB / 0.497 GB, free: 8.34 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.0001127/0.3415, allocations: 113.2 kB / 0.4971 GB, free: 8.234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005266/0.3421, allocations: 347.8 kB / 0.4974 GB, free: 8.125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3421, allocations: 0 / 0.4974 GB, free: 8.125 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.3422, allocations: 129.6 kB / 0.4975 GB, free: 8.086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.3434, allocations: 119.2 kB / 0.4976 GB, free: 8.035 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.3456, allocations: 1.954 MB / 0.4996 GB, free: 6.508 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.3459, allocations: 0.8293 MB / 0.5004 GB, free: 5.801 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001675/0.3461, allocations: 57.34 kB / 0.5004 GB, free: 5.777 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.3462, allocations: 32.5 kB / 0.5004 GB, free: 5.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3462, allocations: 0 / 0.5004 GB, free: 5.77 MB / 382.1 MB Notification: Performance of Templates: time 0.007847/0.354, allocations: 4.176 MB / 0.5045 GB, free: 3.727 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1)