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.008656/0.008657, allocations: 102.3 kB / 15.73 MB, free: 6.039 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.00194/0.00194, allocations: 190.7 kB / 16.67 MB, free: 5.953 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.636/1.636, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.3752/0.3752, allocations: 38 MB / 307.9 MB, free: 10.1 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.001617/0.001617, allocations: 75.84 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.38, allocations: 56.46 MB / 489.4 MB, free: 20.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.005042/0.3851, allocations: 3.059 MB / 492.5 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.3863, allocations: 420.2 kB / 492.9 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/0.3866, allocations: 11.38 kB / 492.9 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.3867, allocations: 63.95 kB / 493 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000383/0.3871, allocations: 165.2 kB / 493.1 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.3874, allocations: 101.1 kB / 493.2 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00078/0.3882, allocations: 0.5414 MB / 493.8 MB, free: 17.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003831/0.3886, allocations: 165.8 kB / 494 MB, free: 17.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002615/0.3889, allocations: 195.9 kB / 494.1 MB, free: 17.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003158/0.3892, allocations: 217.5 kB / 494.4 MB, free: 16.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.643e-05/0.3893, allocations: 44.19 kB / 494.4 MB, free: 16.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.141e-05/0.3894, allocations: 40.03 kB / 494.4 MB, free: 16.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.587e-05/0.3895, allocations: 97.69 kB / 494.5 MB, free: 16.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002567/0.3898, allocations: 249.5 kB / 494.8 MB, free: 16.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006963/0.3905, allocations: 0.5202 MB / 495.3 MB, free: 16.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3905, allocations: 5.75 kB / 495.3 MB, free: 16.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3905, allocations: 0 / 495.3 MB, free: 16.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.3905, allocations: 0 / 495.3 MB, free: 16.57 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.0009752/0.3915, allocations: 0.7104 MB / 496 MB, free: 16.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.3915, allocations: 17.98 kB / 496 MB, free: 16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.3916, allocations: 51.73 kB / 496.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.392, allocations: 297.7 kB / 496.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.744e-05/0.3921, allocations: 32.14 kB / 496.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.3922, allocations: 57.45 kB / 496.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008547/0.3931, allocations: 461.2 kB / 496.9 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.356e-05/0.3932, allocations: 9.125 kB / 496.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.314e-05/0.3932, allocations: 25 kB / 496.9 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/0.3932, allocations: 12.34 kB / 497 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005563/0.3938, allocations: 261.8 kB / 497.2 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002462/0.3963, allocations: 1.686 MB / 498.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005926/0.3969, allocations: 412.7 kB / 499.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/0.3971, allocations: 162.2 kB / 499.5 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.3972, allocations: 5.781 kB / 499.5 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.3972, allocations: 48.19 kB / 499.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 2.996e-06/0.3972, allocations: 4 kB / 499.5 MB, free: 13.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008/0.398, allocations: 350.1 kB / 499.9 MB, free: 13.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.3981, allocations: 280.5 kB / 0.4884 GB, free: 13.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.3984, allocations: 251.8 kB / 0.4886 GB, free: 12.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.3985, allocations: 31.61 kB / 0.4887 GB, free: 12.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.3986, allocations: 245 kB / 0.4889 GB, free: 12.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.3988, allocations: 184 kB / 0.4891 GB, free: 12.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.3989, allocations: 112.1 kB / 0.4892 GB, free: 12.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.399, allocations: 348.5 kB / 0.4895 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.3992, allocations: 116.4 kB / 0.4896 GB, free: 12.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003532/0.3996, allocations: 418.2 kB / 0.49 GB, free: 11.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000552/0.4002, allocations: 0.5796 MB / 0.4906 GB, free: 11.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.4002, allocations: 3.344 kB / 0.4906 GB, free: 11.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008236/0.401, allocations: 0.5634 MB / 0.4912 GB, free: 10.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.401, allocations: 13.95 kB / 0.4912 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.4011, allocations: 14.09 kB / 0.4912 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.737e-05/0.4011, allocations: 14.06 kB / 0.4912 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005735/0.4017, allocations: 184.5 kB / 0.4914 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-05/0.4017, allocations: 19.72 kB / 0.4914 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003164/0.4021, allocations: 67.38 kB / 0.4915 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.4021, allocations: 31.62 kB / 0.4915 GB, free: 10.81 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.0001836/0.4023, allocations: 183.6 kB / 0.4917 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.4025, allocations: 34.94 kB / 0.4917 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.964e-05/0.4026, allocations: 46.77 kB / 0.4917 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.4026, allocations: 11.45 kB / 0.4918 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/0.4026, allocations: 2.281 kB / 0.4918 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.4026, allocations: 8.922 kB / 0.4918 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.4037, allocations: 419.8 kB / 0.4922 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.4037, allocations: 1.375 kB / 0.4922 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005293/0.4042, allocations: 122.6 kB / 0.4923 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.4042, allocations: 4.312 kB / 0.4923 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.4043, allocations: 19.59 kB / 0.4923 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.4043, allocations: 7.75 kB / 0.4923 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.4043, allocations: 7.828 kB / 0.4923 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007004/0.405, allocations: 1.078 MB / 0.4934 GB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.041e-05/0.4051, allocations: 109 kB / 0.4935 GB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.163e-05/0.4051, allocations: 15.55 kB / 0.4935 GB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.4055, allocations: 11.56 kB / 0.4935 GB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.4056, allocations: 30.64 kB / 0.4935 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.4056, allocations: 15.59 kB / 0.4935 GB, free: 9.273 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001391/0.4057, allocations: 174 kB / 0.4937 GB, free: 9.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4057, allocations: 0 / 0.4937 GB, free: 9.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008405/0.4066, allocations: 135.7 kB / 0.4938 GB, free: 9.129 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.0001761/0.4068, allocations: 113.8 kB / 0.4939 GB, free: 9.023 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000565/0.4073, allocations: 350.1 kB / 0.4943 GB, free: 8.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4074, allocations: 1.562 kB / 0.4943 GB, free: 8.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.4075, allocations: 130.6 kB / 0.4944 GB, free: 8.871 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.4088, allocations: 105.1 kB / 0.4945 GB, free: 8.828 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.4113, allocations: 1.965 MB / 0.4964 GB, free: 7.289 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.4117, allocations: 0.8259 MB / 0.4972 GB, free: 6.586 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001943/0.4119, allocations: 53.02 kB / 0.4973 GB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.839e-05/0.412, allocations: 32.09 kB / 0.4973 GB, free: 6.559 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.412, allocations: 0 / 0.4973 GB, free: 6.559 MB / 382.1 MB Notification: Performance of Templates: time 0.01174/0.4237, allocations: 4.179 MB / 0.5014 GB, free: 5.363 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)