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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001202/0.001202, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.345/1.345, allocations: 170.6 MB / 183.8 MB, free: 11.5 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001892/0.001892, allocations: 111.4 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1649/0.1649, allocations: 38.01 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.236e-05/4.239e-05, allocations: 7.984 kB / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08638/0.08644, allocations: 48.7 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3266/0.4131, allocations: 75.82 MB / 481.5 MB, free: 18.79 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/0.4133, allocations: 69.91 kB / 481.6 MB, free: 18.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02054/0.4339, allocations: 8.393 MB / 490 MB, free: 17.83 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4339, allocations: 0 / 490 MB, free: 17.83 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.4339, allocations: 19.62 kB / 490 MB, free: 17.82 MB / 330.7 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.0006771/0.4346, allocations: 0.623 MB / 490.6 MB, free: 17.37 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.4347, allocations: 15.03 kB / 490.6 MB, free: 17.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.067e-05/0.4348, allocations: 61.95 kB / 490.7 MB, free: 17.33 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.435, allocations: 291.1 kB / 491 MB, free: 17.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.4351, allocations: 39.06 kB / 491 MB, free: 17.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.013e-05/0.4351, allocations: 56.97 kB / 491.1 MB, free: 17.08 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005246/0.4357, allocations: 415.3 kB / 491.5 MB, free: 17.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.4357, allocations: 9.875 kB / 491.5 MB, free: 17.01 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.4357, allocations: 18.06 kB / 491.5 MB, free: 17.01 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.4357, allocations: 12.5 kB / 491.5 MB, free: 17.01 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003769/0.4361, allocations: 308 kB / 491.8 MB, free: 17 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.4375, allocations: 1.164 MB / 493 MB, free: 16.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005414/0.438, allocations: 480.7 kB / 493.5 MB, free: 16.39 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.4383, allocations: 201.4 kB / 493.7 MB, free: 16.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.4383, allocations: 8 kB / 493.7 MB, free: 16.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.4383, allocations: 42.62 kB / 493.7 MB, free: 16.33 MB / 330.7 MB Notification: Performance of pre-optimization done (n=62): time 1.713e-06/0.4383, allocations: 0 / 493.7 MB, free: 16.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=74): time 0.002128/0.4405, allocations: 1.99 MB / 495.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.4405, allocations: 89.48 kB / 495.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.4407, allocations: 222.5 kB / 496 MB, free: 15.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.4407, allocations: 41.2 kB / 496 MB, free: 15.06 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.913e-05/0.4408, allocations: 211.5 kB / 496.2 MB, free: 14.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.4409, allocations: 259.9 kB / 496.5 MB, free: 14.76 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.017e-05/0.4409, allocations: 15.34 kB / 496.5 MB, free: 14.76 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.53e-05/0.441, allocations: 357.7 kB / 496.9 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.4412, allocations: 147.7 kB / 497 MB, free: 14.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.4415, allocations: 259.9 kB / 497.3 MB, free: 14.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.4417, allocations: 202.8 kB / 497.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4417, allocations: 0 / 497.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0006303/0.4424, allocations: 0.5531 MB / 498 MB, free: 14.22 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.4424, allocations: 6.656 kB / 498 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.4424, allocations: 1.719 kB / 498 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.4424, allocations: 6.781 kB / 498 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005674/0.443, allocations: 183.9 kB / 498.2 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/0.443, allocations: 10.02 kB / 498.2 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.4433, allocations: 20.81 kB / 498.2 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.257e-05/0.4433, allocations: 31.22 kB / 498.3 MB, free: 14.2 MB / 330.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001/0.4435, allocations: 149.3 kB / 498.4 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.534e-05/0.4435, allocations: 46.88 kB / 498.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.4437, allocations: 60.03 kB / 498.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.4437, allocations: 7.062 kB / 498.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/0.4437, allocations: 0 / 498.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.4437, allocations: 8.953 kB / 498.5 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.4453, allocations: 1.435 MB / 500 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.4453, allocations: 3.844 kB / 500 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005407/0.4459, allocations: 155.5 kB / 0.4884 GB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.4459, allocations: 11.62 kB / 0.4884 GB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.446, allocations: 25.86 kB / 0.4884 GB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.446, allocations: 3.875 kB / 0.4884 GB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.446, allocations: 11.73 kB / 0.4885 GB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008732/0.4469, allocations: 1.032 MB / 0.4895 GB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.216e-05/0.447, allocations: 116.1 kB / 0.4896 GB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/0.447, allocations: 22 kB / 0.4896 GB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.4473, allocations: 18.72 kB / 0.4896 GB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.4473, allocations: 52.47 kB / 0.4897 GB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.4474, allocations: 29.12 kB / 0.4897 GB, free: 12.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001095/0.4475, allocations: 171.5 kB / 0.4899 GB, free: 12.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4475, allocations: 0 / 0.4899 GB, free: 12.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004848/0.448, allocations: 144.5 kB / 0.49 GB, free: 12.61 MB / 330.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001254/0.4481, allocations: 125.4 kB / 0.4901 GB, free: 12.51 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005169/0.4486, allocations: 438 kB / 0.4905 GB, free: 12.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4486, allocations: 4 kB / 0.4905 GB, free: 12.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.4489, allocations: 228.3 kB / 0.4907 GB, free: 12.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006384/0.4495, allocations: 115.3 kB / 0.4909 GB, free: 12.44 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.452, allocations: 1.541 MB / 0.4924 GB, free: 11.45 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.4524, allocations: 0.8567 MB / 0.4932 GB, free: 10.74 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000246/0.4526, allocations: 58.42 kB / 0.4933 GB, free: 10.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.663e-05/0.4527, allocations: 46.31 kB / 0.4933 GB, free: 10.72 MB / 330.7 MB Notification: Performance of SimCode: time 8.82e-07/0.4527, allocations: 0 / 0.4933 GB, free: 10.72 MB / 330.7 MB Notification: Performance of Templates: time 0.008761/0.4615, allocations: 4.801 MB / 0.498 GB, free: 9.355 MB / 330.7 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)