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.01235/0.01235, allocations: 98.8 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.003101/0.003101, allocations: 193.4 kB / 16.67 MB, free: 5.961 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.746/1.746, allocations: 205.1 MB / 222.6 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.3671/0.3671, allocations: 39.94 MB / 309.8 MB, free: 9.5 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.001662/0.001663, allocations: 67.89 kB / 435.8 MB, free: 2.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.373, allocations: 56.87 MB / 492.6 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004614/0.3777, allocations: 3.068 MB / 495.7 MB, free: 17.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007768/0.3785, allocations: 419.1 kB / 496.1 MB, free: 16.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.3787, allocations: 11.88 kB / 496.1 MB, free: 16.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.3788, allocations: 67.61 kB / 496.2 MB, free: 16.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.3791, allocations: 168.9 kB / 496.4 MB, free: 16.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.3794, allocations: 100.3 kB / 496.5 MB, free: 16.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005015/0.3799, allocations: 0.5351 MB / 497 MB, free: 16.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002906/0.3802, allocations: 167.3 kB / 497.2 MB, free: 16.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.3804, allocations: 195.4 kB / 497.3 MB, free: 16.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002596/0.3807, allocations: 215.2 kB / 497.6 MB, free: 16.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.862e-05/0.3807, allocations: 38.41 kB / 497.6 MB, free: 16.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.912e-05/0.3808, allocations: 40.81 kB / 497.6 MB, free: 16.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.09e-05/0.3809, allocations: 95.66 kB / 497.7 MB, free: 16.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002171/0.3811, allocations: 251.4 kB / 498 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006311/0.3818, allocations: 0.5268 MB / 498.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3818, allocations: 0.6094 kB / 498.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3818, allocations: 4 kB / 498.5 MB, free: 15.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.3818, allocations: 0 / 498.5 MB, free: 15.78 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.0009315/0.3827, allocations: 0.7188 MB / 499.2 MB, free: 15.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.3828, allocations: 13.11 kB / 499.2 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.053e-05/0.3829, allocations: 54.98 kB / 499.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.3832, allocations: 299.2 kB / 499.6 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.566e-05/0.3832, allocations: 40.44 kB / 499.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.179e-05/0.3833, allocations: 52.91 kB / 499.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006983/0.384, allocations: 458.4 kB / 0.4884 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/0.384, allocations: 13.52 kB / 0.4884 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.695e-05/0.3841, allocations: 24.41 kB / 0.4884 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.3841, allocations: 11.97 kB / 0.4884 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004228/0.3845, allocations: 260.9 kB / 0.4887 GB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.3864, allocations: 1.686 MB / 0.4903 GB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004525/0.3869, allocations: 421.1 kB / 0.4907 GB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.3871, allocations: 156.2 kB / 0.4909 GB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.3871, allocations: 14.03 kB / 0.4909 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.3871, allocations: 44.39 kB / 0.491 GB, free: 12.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 1.673e-06/0.3871, allocations: 0 / 0.491 GB, free: 12.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007007/0.3878, allocations: 368.7 kB / 0.4913 GB, free: 12.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.653e-05/0.3879, allocations: 275.4 kB / 0.4916 GB, free: 12.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.3881, allocations: 251.9 kB / 0.4918 GB, free: 12.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.3882, allocations: 36.45 kB / 0.4918 GB, free: 12.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.3883, allocations: 243.9 kB / 0.4921 GB, free: 11.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.3884, allocations: 185.4 kB / 0.4922 GB, free: 11.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.3885, allocations: 121.5 kB / 0.4924 GB, free: 11.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.501e-05/0.3886, allocations: 351.3 kB / 0.4927 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.3888, allocations: 116.9 kB / 0.4928 GB, free: 11.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.3891, allocations: 422.2 kB / 0.4932 GB, free: 10.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005221/0.3896, allocations: 0.5686 MB / 0.4938 GB, free: 10.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.3896, allocations: 3.156 kB / 0.4938 GB, free: 10.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008239/0.3904, allocations: 0.5741 MB / 0.4943 GB, free: 10.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.3905, allocations: 11.48 kB / 0.4943 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.3905, allocations: 9.469 kB / 0.4944 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/0.3905, allocations: 15.84 kB / 0.4944 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00056/0.3911, allocations: 187.8 kB / 0.4945 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.834e-05/0.3911, allocations: 21.05 kB / 0.4946 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.3914, allocations: 59.03 kB / 0.4946 GB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/0.3915, allocations: 36.22 kB / 0.4947 GB, free: 9.973 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.0001438/0.3916, allocations: 179 kB / 0.4948 GB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/0.3918, allocations: 43.28 kB / 0.4949 GB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.932e-05/0.3919, allocations: 42.88 kB / 0.4949 GB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/0.3919, allocations: 10.95 kB / 0.4949 GB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-05/0.392, allocations: 6.781 kB / 0.4949 GB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.392, allocations: 5.172 kB / 0.4949 GB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.393, allocations: 422.7 kB / 0.4953 GB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.393, allocations: 1.531 kB / 0.4953 GB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005611/0.3936, allocations: 123.8 kB / 0.4955 GB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.3936, allocations: 3.125 kB / 0.4955 GB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.3936, allocations: 12.44 kB / 0.4955 GB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/0.3936, allocations: 8.516 kB / 0.4955 GB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3936, allocations: 1.938 kB / 0.4955 GB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007714/0.3944, allocations: 1.078 MB / 0.4965 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.611e-05/0.3945, allocations: 118.5 kB / 0.4966 GB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.165e-05/0.3946, allocations: 14.33 kB / 0.4967 GB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003902/0.395, allocations: 11.25 kB / 0.4967 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.118e-05/0.395, allocations: 35.66 kB / 0.4967 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.3951, allocations: 16.2 kB / 0.4967 GB, free: 8.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001638/0.3952, allocations: 169.4 kB / 0.4969 GB, free: 8.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3952, allocations: 1.25 kB / 0.4969 GB, free: 8.324 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0011/0.3963, allocations: 135.7 kB / 0.497 GB, free: 8.293 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.0002369/0.3966, allocations: 121 kB / 0.4971 GB, free: 8.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006073/0.3972, allocations: 351.2 kB / 0.4975 GB, free: 8.066 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3972, allocations: 1.281 kB / 0.4975 GB, free: 8.066 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.3974, allocations: 129.3 kB / 0.4976 GB, free: 8.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.3986, allocations: 118.3 kB / 0.4977 GB, free: 7.973 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.401, allocations: 1.974 MB / 0.4996 GB, free: 6.422 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.4014, allocations: 0.8295 MB / 0.5004 GB, free: 5.715 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001859/0.4016, allocations: 50.36 kB / 0.5005 GB, free: 5.699 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.89e-05/0.4017, allocations: 32.06 kB / 0.5005 GB, free: 5.691 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4017, allocations: 0 / 0.5005 GB, free: 5.691 MB / 382.1 MB Notification: Performance of Templates: time 0.008378/0.4101, allocations: 4.178 MB / 0.5046 GB, free: 3.652 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)