Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.SpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.006524/0.006524, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001186/0.001186, allocations: 197.1 kB / 16.67 MB, free: 5.969 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.516/1.516, allocations: 205.1 MB / 222.6 MB, free: 4.367 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.3273/0.3273, allocations: 38 MB / 307.9 MB, free: 10.4 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.001558/0.001558, allocations: 67.91 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3624, allocations: 56.47 MB / 489.4 MB, free: 20.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004506/0.367, allocations: 3.277 MB / 492.7 MB, free: 17.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.3686, allocations: 0.8498 MB / 493.6 MB, free: 17.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002118/0.3688, allocations: 11.09 kB / 493.6 MB, free: 17.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.3691, allocations: 72.75 kB / 493.7 MB, free: 17.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.3694, allocations: 172.1 kB / 493.8 MB, free: 17.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.3697, allocations: 107.5 kB / 493.9 MB, free: 17.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006417/0.3703, allocations: 0.5986 MB / 494.5 MB, free: 16.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003704/0.3707, allocations: 169.3 kB / 494.7 MB, free: 16.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003198/0.371, allocations: 225.7 kB / 494.9 MB, free: 16.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003201/0.3714, allocations: 239.5 kB / 495.1 MB, free: 16.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.126e-05/0.3714, allocations: 43.16 kB / 495.2 MB, free: 16.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.088e-05/0.3715, allocations: 43.31 kB / 495.2 MB, free: 16.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.504e-05/0.3716, allocations: 99.64 kB / 495.3 MB, free: 16.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002654/0.3719, allocations: 267.5 kB / 495.6 MB, free: 16.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007422/0.3726, allocations: 0.5597 MB / 496.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3727, allocations: 0 / 496.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3727, allocations: 0 / 496.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.3727, allocations: 1.219 kB / 496.1 MB, free: 15.94 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.001214/0.3739, allocations: 0.7699 MB / 496.9 MB, free: 15.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.374, allocations: 13.42 kB / 496.9 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.3741, allocations: 60.12 kB / 497 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.3746, allocations: 323 kB / 497.3 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.657e-05/0.3747, allocations: 36.22 kB / 497.3 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.3748, allocations: 62.39 kB / 497.4 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008393/0.3756, allocations: 434.6 kB / 497.8 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.763e-05/0.3757, allocations: 9.875 kB / 497.8 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.814e-05/0.3757, allocations: 19.72 kB / 497.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.3757, allocations: 11.84 kB / 497.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005537/0.3763, allocations: 315.8 kB / 498.2 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.378, allocations: 1.153 MB / 499.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007525/0.3788, allocations: 487.8 kB / 499.8 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003266/0.3791, allocations: 210.1 kB / 0.4883 GB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.3791, allocations: 7.25 kB / 0.4883 GB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.3791, allocations: 38.28 kB / 0.4883 GB, free: 13.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 1.673e-06/0.3792, allocations: 0 / 0.4883 GB, free: 13.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.002764/0.3819, allocations: 2.144 MB / 0.4904 GB, free: 12.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.382, allocations: 86.41 kB / 0.4905 GB, free: 11.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.3822, allocations: 264.3 kB / 0.4908 GB, free: 11.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.3823, allocations: 40.42 kB / 0.4908 GB, free: 11.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.3824, allocations: 211 kB / 0.491 GB, free: 11.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.3826, allocations: 280.8 kB / 0.4913 GB, free: 11.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.3827, allocations: 117.3 kB / 0.4914 GB, free: 11.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.3828, allocations: 359.6 kB / 0.4917 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.3831, allocations: 157.4 kB / 0.4919 GB, free: 10.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/0.3835, allocations: 281.5 kB / 0.4921 GB, free: 10.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006191/0.3841, allocations: 468.6 kB / 0.4926 GB, free: 10.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3841, allocations: 1.031 kB / 0.4926 GB, free: 10.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008213/0.3849, allocations: 0.5759 MB / 0.4932 GB, free: 10.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.3849, allocations: 9.438 kB / 0.4932 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.385, allocations: 3.688 kB / 0.4932 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.385, allocations: 6.344 kB / 0.4932 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005807/0.3856, allocations: 182.1 kB / 0.4933 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.3856, allocations: 6.797 kB / 0.4934 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.3858, allocations: 32.66 kB / 0.4934 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.849e-05/0.3859, allocations: 27.5 kB / 0.4934 GB, free: 10.16 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.0001568/0.3861, allocations: 180.4 kB / 0.4936 GB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.524e-05/0.3861, allocations: 46.06 kB / 0.4936 GB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.3863, allocations: 59.16 kB / 0.4937 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.3863, allocations: 6.781 kB / 0.4937 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/0.3863, allocations: 1.828 kB / 0.4937 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.3863, allocations: 3.422 kB / 0.4937 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/0.3882, allocations: 1.441 MB / 0.4951 GB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.3882, allocations: 3.5 kB / 0.4951 GB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006595/0.3889, allocations: 164.5 kB / 0.4953 GB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/0.3889, allocations: 7.516 kB / 0.4953 GB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.788e-05/0.3889, allocations: 19.06 kB / 0.4953 GB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-05/0.389, allocations: 7.562 kB / 0.4953 GB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.389, allocations: 10.78 kB / 0.4953 GB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.39, allocations: 0.9122 MB / 0.4962 GB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-05/0.3901, allocations: 118.1 kB / 0.4963 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.78e-05/0.3902, allocations: 24.16 kB / 0.4963 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.3905, allocations: 21.12 kB / 0.4963 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.611e-05/0.3905, allocations: 50.19 kB / 0.4964 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.454e-05/0.3906, allocations: 20.58 kB / 0.4964 GB, free: 8.227 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001448/0.3907, allocations: 182.5 kB / 0.4966 GB, free: 8.117 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3907, allocations: 1.312 kB / 0.4966 GB, free: 8.117 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000521/0.3913, allocations: 142.3 kB / 0.4967 GB, free: 8.098 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.0001279/0.3914, allocations: 126.2 kB / 0.4968 GB, free: 7.984 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006992/0.3921, allocations: 460.6 kB / 0.4973 GB, free: 7.836 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3921, allocations: 0 / 0.4973 GB, free: 7.836 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003147/0.3924, allocations: 236.3 kB / 0.4975 GB, free: 7.762 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000836/0.3933, allocations: 135.8 kB / 0.4976 GB, free: 7.699 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.3957, allocations: 1.671 MB / 0.4993 GB, free: 6.477 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.3961, allocations: 0.8475 MB / 0.5001 GB, free: 5.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002184/0.3963, allocations: 64.94 kB / 0.5002 GB, free: 5.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.3965, allocations: 41.38 kB / 0.5002 GB, free: 5.742 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3965, allocations: 1.469 kB / 0.5002 GB, free: 5.742 MB / 382.1 MB Notification: Performance of Templates: time 0.01229/0.4088, allocations: 5.414 MB / 0.5055 GB, free: 3.578 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1)