Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.SpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006519/0.006519, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001341/0.001341, allocations: 201.9 kB / 16.68 MB, free: 5.926 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.655/1.655, allocations: 205.1 MB / 222.5 MB, free: 4.465 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.3472/0.3472, allocations: 39.94 MB / 309.8 MB, free: 9.402 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.00164/0.00164, allocations: 67.91 kB / 435.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4044, allocations: 56.87 MB / 492.6 MB, free: 19.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.005026/0.4095, allocations: 3.274 MB / 495.9 MB, free: 17.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002321/0.4119, allocations: 0.8493 MB / 496.8 MB, free: 16.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003515/0.4123, allocations: 11.38 kB / 496.8 MB, free: 16.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002424/0.4125, allocations: 73.34 kB / 496.8 MB, free: 16.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003648/0.4129, allocations: 172.7 kB / 497 MB, free: 16.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.4132, allocations: 111.1 kB / 497.1 MB, free: 16.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006054/0.4138, allocations: 0.5961 MB / 497.7 MB, free: 16.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000332/0.4142, allocations: 167.2 kB / 497.9 MB, free: 16.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002642/0.4144, allocations: 233.9 kB / 498.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002929/0.4147, allocations: 237.6 kB / 498.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.03e-05/0.4148, allocations: 42.91 kB / 498.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-05/0.4149, allocations: 44.09 kB / 498.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.563e-05/0.415, allocations: 103 kB / 498.5 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002355/0.4153, allocations: 267.8 kB / 498.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006946/0.416, allocations: 0.5553 MB / 499.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/0.416, allocations: 5.672 kB / 499.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.416, allocations: 0 / 499.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.416, allocations: 0 / 499.3 MB, free: 15.39 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001131/0.4171, allocations: 0.7588 MB / 0.4884 GB, free: 14.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.4172, allocations: 13.23 kB / 0.4884 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.4173, allocations: 56.03 kB / 0.4885 GB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005116/0.4178, allocations: 323.5 kB / 0.4888 GB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.915e-05/0.4179, allocations: 36.25 kB / 0.4888 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.794e-05/0.418, allocations: 54.69 kB / 0.4888 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009356/0.4189, allocations: 442.4 kB / 0.4893 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.947e-05/0.419, allocations: 9.25 kB / 0.4893 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.035e-05/0.419, allocations: 20.31 kB / 0.4893 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.4191, allocations: 15.7 kB / 0.4893 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007148/0.4198, allocations: 314.7 kB / 0.4896 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.4214, allocations: 1.137 MB / 0.4907 GB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007968/0.4222, allocations: 487.5 kB / 0.4912 GB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003131/0.4226, allocations: 209.8 kB / 0.4914 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.4226, allocations: 15.28 kB / 0.4914 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.4226, allocations: 42.19 kB / 0.4914 GB, free: 13.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 2.064e-06/0.4227, allocations: 0 / 0.4914 GB, free: 13.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.003147/0.4258, allocations: 2.14 MB / 0.4935 GB, free: 11.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.4259, allocations: 85.09 kB / 0.4936 GB, free: 11.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.4262, allocations: 253.5 kB / 0.4939 GB, free: 11.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/0.4263, allocations: 40.45 kB / 0.4939 GB, free: 11.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.4264, allocations: 210.4 kB / 0.4941 GB, free: 11.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/0.4267, allocations: 270.7 kB / 0.4944 GB, free: 10.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.4269, allocations: 118.2 kB / 0.4945 GB, free: 10.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.4271, allocations: 359.4 kB / 0.4948 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004123/0.4275, allocations: 155.9 kB / 0.495 GB, free: 10.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004151/0.4279, allocations: 285.8 kB / 0.4952 GB, free: 10.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006035/0.4285, allocations: 468.1 kB / 0.4957 GB, free: 9.953 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.4285, allocations: 1.562 kB / 0.4957 GB, free: 9.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00078/0.4293, allocations: 0.5687 MB / 0.4962 GB, free: 9.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.4294, allocations: 6.406 kB / 0.4962 GB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.4294, allocations: 6.578 kB / 0.4962 GB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/0.4294, allocations: 7.734 kB / 0.4963 GB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006117/0.43, allocations: 180.8 kB / 0.4964 GB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-05/0.43, allocations: 7.953 kB / 0.4964 GB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.4303, allocations: 23.92 kB / 0.4965 GB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.4303, allocations: 26.44 kB / 0.4965 GB, free: 9.664 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (97): * Single equations (assignments): 97 * 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.0001538/0.4305, allocations: 188.4 kB / 0.4967 GB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.383e-05/0.4306, allocations: 46.77 kB / 0.4967 GB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.67e-05/0.4307, allocations: 59.08 kB / 0.4968 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.4307, allocations: 6.406 kB / 0.4968 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/0.4307, allocations: 1.188 kB / 0.4968 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.4307, allocations: 4.812 kB / 0.4968 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.4326, allocations: 1.442 MB / 0.4982 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.4327, allocations: 4.062 kB / 0.4982 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005821/0.4332, allocations: 164.5 kB / 0.4983 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.287e-06/0.4333, allocations: 6.781 kB / 0.4983 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/0.4333, allocations: 18.62 kB / 0.4984 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.867e-06/0.4333, allocations: 10.44 kB / 0.4984 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.4333, allocations: 3.219 kB / 0.4984 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009391/0.4343, allocations: 0.9185 MB / 0.4993 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-05/0.4344, allocations: 110.2 kB / 0.4994 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.81e-05/0.4344, allocations: 28.45 kB / 0.4994 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.4347, allocations: 19.03 kB / 0.4994 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/0.4348, allocations: 54.78 kB / 0.4995 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.4348, allocations: 20.5 kB / 0.4995 GB, free: 7.621 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.4349, allocations: 184.8 kB / 0.4997 GB, free: 7.492 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.435, allocations: 0 / 0.4997 GB, free: 7.492 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005329/0.4355, allocations: 143.3 kB / 0.4998 GB, free: 7.473 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * 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.0001286/0.4356, allocations: 120.7 kB / 0.4999 GB, free: 7.363 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006841/0.4363, allocations: 465.4 kB / 0.5004 GB, free: 7.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4363, allocations: 0 / 0.5004 GB, free: 7.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003023/0.4366, allocations: 235.8 kB / 0.5006 GB, free: 7.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009185/0.4376, allocations: 134.6 kB / 0.5007 GB, free: 7.004 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.4397, allocations: 1.649 MB / 0.5023 GB, free: 5.734 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.44, allocations: 0.8497 MB / 0.5032 GB, free: 4.969 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001812/0.4402, allocations: 59.47 kB / 0.5032 GB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.795e-05/0.4403, allocations: 42.28 kB / 0.5033 GB, free: 4.93 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4403, allocations: 0 / 0.5033 GB, free: 4.93 MB / 382.1 MB Notification: Performance of Templates: time 0.009462/0.4498, allocations: 5.558 MB / 0.5087 GB, free: 2.137 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1)