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.009744/0.009744, allocations: 103 kB / 15.73 MB, free: 6.035 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.001417/0.001417, allocations: 190 kB / 16.67 MB, free: 5.965 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.607/1.607, allocations: 205.1 MB / 222.6 MB, free: 4.535 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.3374/0.3374, allocations: 39.95 MB / 309.8 MB, free: 9.391 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.002333/0.002333, allocations: 67.91 kB / 435.8 MB, free: 2.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3849, allocations: 56.87 MB / 492.6 MB, free: 19.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004056/0.389, allocations: 3.074 MB / 495.7 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008783/0.3899, allocations: 422.2 kB / 496.1 MB, free: 17.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.3901, allocations: 11.72 kB / 496.1 MB, free: 17.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.3902, allocations: 64.67 kB / 496.2 MB, free: 17.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002916/0.3905, allocations: 160.8 kB / 496.4 MB, free: 17.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.3908, allocations: 104.4 kB / 496.5 MB, free: 17.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000502/0.3913, allocations: 0.5342 MB / 497 MB, free: 16.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003268/0.3916, allocations: 169.9 kB / 497.2 MB, free: 16.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002646/0.3919, allocations: 201.5 kB / 497.4 MB, free: 16.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002847/0.3922, allocations: 217.9 kB / 497.6 MB, free: 16.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.83e-05/0.3923, allocations: 40.16 kB / 497.6 MB, free: 16.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.682e-05/0.3924, allocations: 40.69 kB / 497.6 MB, free: 16.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.2e-05/0.3925, allocations: 100.4 kB / 497.7 MB, free: 16.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002583/0.3927, allocations: 247 kB / 498 MB, free: 16.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006707/0.3934, allocations: 0.5242 MB / 498.5 MB, free: 16.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3934, allocations: 0 / 498.5 MB, free: 16.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3934, allocations: 0 / 498.5 MB, free: 16.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.3934, allocations: 5.062 kB / 498.5 MB, free: 16.09 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.001068/0.3945, allocations: 0.7102 MB / 499.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.3946, allocations: 14.52 kB / 499.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.179e-05/0.3947, allocations: 50.5 kB / 499.3 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.395, allocations: 291.2 kB / 499.6 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/0.395, allocations: 35.84 kB / 499.6 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-05/0.3951, allocations: 57.45 kB / 499.7 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007577/0.3959, allocations: 457.9 kB / 0.4884 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.556e-05/0.396, allocations: 13.72 kB / 0.4884 GB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.396, allocations: 20.31 kB / 0.4884 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.396, allocations: 16.16 kB / 0.4884 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004644/0.3965, allocations: 265.8 kB / 0.4887 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002063/0.3986, allocations: 1.685 MB / 0.4903 GB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005272/0.3991, allocations: 413 kB / 0.4907 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.3993, allocations: 155.1 kB / 0.4909 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.3993, allocations: 14.39 kB / 0.4909 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.3994, allocations: 52.34 kB / 0.4909 GB, free: 13.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 2.294e-06/0.3994, allocations: 1.094 kB / 0.4909 GB, free: 13.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008076/0.4002, allocations: 355 kB / 0.4913 GB, free: 12.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.4003, allocations: 272.5 kB / 0.4915 GB, free: 12.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.4007, allocations: 259.3 kB / 0.4918 GB, free: 12.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.4007, allocations: 32.45 kB / 0.4918 GB, free: 12.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.4009, allocations: 240.9 kB / 0.492 GB, free: 12.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.401, allocations: 179.3 kB / 0.4922 GB, free: 12.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.4012, allocations: 113.5 kB / 0.4923 GB, free: 12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.4014, allocations: 351 kB / 0.4927 GB, free: 11.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.4016, allocations: 121.5 kB / 0.4928 GB, free: 11.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000451/0.4021, allocations: 419 kB / 0.4932 GB, free: 11.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007622/0.4029, allocations: 0.5763 MB / 0.4937 GB, free: 10.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.4029, allocations: 2.125 kB / 0.4937 GB, free: 10.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009678/0.4039, allocations: 0.5711 MB / 0.4943 GB, free: 10.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.4039, allocations: 10.92 kB / 0.4943 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.4039, allocations: 9.531 kB / 0.4943 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.356e-05/0.404, allocations: 13.97 kB / 0.4943 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000602/0.4046, allocations: 180.7 kB / 0.4945 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.217e-05/0.4046, allocations: 25.19 kB / 0.4945 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.4049, allocations: 63.12 kB / 0.4946 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/0.405, allocations: 31.47 kB / 0.4946 GB, free: 10.32 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.0001907/0.4052, allocations: 184.1 kB / 0.4948 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/0.4054, allocations: 39.33 kB / 0.4948 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.553e-05/0.4055, allocations: 42.83 kB / 0.4949 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.4055, allocations: 10.19 kB / 0.4949 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/0.4055, allocations: 2.031 kB / 0.4949 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.4056, allocations: 13.28 kB / 0.4949 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.4067, allocations: 415.2 kB / 0.4953 GB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.4067, allocations: 2.5 kB / 0.4953 GB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000566/0.4073, allocations: 122.9 kB / 0.4954 GB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.4073, allocations: 8.188 kB / 0.4954 GB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/0.4074, allocations: 15.52 kB / 0.4954 GB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-05/0.4074, allocations: 12.53 kB / 0.4954 GB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.4074, allocations: 2.297 kB / 0.4955 GB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008386/0.4082, allocations: 1.073 MB / 0.4965 GB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.361e-05/0.4083, allocations: 118 kB / 0.4966 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.973e-05/0.4084, allocations: 15.22 kB / 0.4966 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.4088, allocations: 14.31 kB / 0.4966 GB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/0.4088, allocations: 28.72 kB / 0.4967 GB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.4089, allocations: 11.64 kB / 0.4967 GB, free: 8.785 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001695/0.409, allocations: 173.6 kB / 0.4968 GB, free: 8.676 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.409, allocations: 5.094 kB / 0.4968 GB, free: 8.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009315/0.41, allocations: 134.8 kB / 0.497 GB, free: 8.641 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.0002208/0.4102, allocations: 119 kB / 0.4971 GB, free: 8.531 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006948/0.4109, allocations: 346.5 kB / 0.4974 GB, free: 8.422 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4109, allocations: 1.469 kB / 0.4974 GB, free: 8.422 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.4111, allocations: 134.1 kB / 0.4976 GB, free: 8.379 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.4125, allocations: 101 kB / 0.4976 GB, free: 8.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.415, allocations: 1.961 MB / 0.4996 GB, free: 6.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.4153, allocations: 0.831 MB / 0.5004 GB, free: 6.082 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001851/0.4155, allocations: 44.14 kB / 0.5004 GB, free: 6.059 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.805e-05/0.4156, allocations: 32.72 kB / 0.5004 GB, free: 6.051 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4156, allocations: 0 / 0.5004 GB, free: 6.051 MB / 382.1 MB Notification: Performance of Templates: time 0.009152/0.4248, allocations: 4.268 MB / 0.5046 GB, free: 3.91 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)