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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001033/0.001034, allocations: 180.5 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.784/1.784, allocations: 194.3 MB / 202.4 MB, free: 8.539 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001825/0.001825, allocations: 117.5 kB / 247.4 MB, free: 6.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2253/0.2253, allocations: 39.93 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.269e-05/1.273e-05, allocations: 0 / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1088, allocations: 54.88 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4147/0.5235, allocations: 81.54 MB / 0.5173 GB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001866/0.5237, allocations: 67.5 kB / 0.5174 GB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01997/0.5437, allocations: 8.335 MB / 0.5255 GB, free: 7.859 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5438, allocations: 0 / 0.5255 GB, free: 7.859 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.508e-05/0.5438, allocations: 15.38 kB / 0.5255 GB, free: 7.855 MB / 346.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.001248/0.5451, allocations: 0.6322 MB / 0.5261 GB, free: 7.344 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.5451, allocations: 11.56 kB / 0.5262 GB, free: 7.344 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.5453, allocations: 54.41 kB / 0.5262 GB, free: 7.316 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004341/0.5458, allocations: 289.6 kB / 0.5265 GB, free: 7.062 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.5458, allocations: 19.53 kB / 0.5265 GB, free: 7.059 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.624e-05/0.5459, allocations: 42.62 kB / 0.5265 GB, free: 7.047 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006559/0.5466, allocations: 271.2 kB / 0.5268 GB, free: 7.023 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007668/0.5474, allocations: 352.6 kB / 0.5271 GB, free: 6.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.709e-05/0.5474, allocations: 16.66 kB / 0.5272 GB, free: 6.902 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.039e-05/0.5475, allocations: 3.938 kB / 0.5272 GB, free: 6.898 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.5475, allocations: 11.53 kB / 0.5272 GB, free: 6.898 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001992/0.5495, allocations: 1.072 MB / 0.5282 GB, free: 6.297 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007158/0.5502, allocations: 443.3 kB / 0.5286 GB, free: 6.129 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/0.5506, allocations: 182 kB / 0.5288 GB, free: 6.109 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.5506, allocations: 8.188 kB / 0.5288 GB, free: 6.105 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.5506, allocations: 42.61 kB / 0.5289 GB, free: 6.062 MB / 346.7 MB Notification: Performance of pre-optimization done (n=62): time 2.645e-06/0.5506, allocations: 0 / 0.5289 GB, free: 6.062 MB / 346.7 MB Notification: Performance of matching and sorting (n=74): time 0.002853/0.5535, allocations: 1.817 MB / 0.5306 GB, free: 4.926 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.5536, allocations: 89.36 kB / 0.5307 GB, free: 4.828 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.5538, allocations: 192.5 kB / 0.5309 GB, free: 4.723 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.5538, allocations: 29.64 kB / 0.5309 GB, free: 4.688 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.553e-05/0.5539, allocations: 218 kB / 0.5311 GB, free: 4.527 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.5541, allocations: 259.6 kB / 0.5314 GB, free: 4.332 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-05/0.5541, allocations: 0 / 0.5314 GB, free: 4.332 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.316e-05/0.5542, allocations: 354.9 kB / 0.5317 GB, free: 4.004 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003047/0.5545, allocations: 135 kB / 0.5319 GB, free: 3.934 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003613/0.5549, allocations: 240.2 kB / 0.5321 GB, free: 3.727 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.5553, allocations: 181 kB / 0.5323 GB, free: 3.609 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5553, allocations: 0 / 0.5323 GB, free: 3.609 MB / 346.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.000931/0.5562, allocations: 0.4901 MB / 0.5327 GB, free: 3.215 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.5563, allocations: 7.953 kB / 0.5327 GB, free: 3.207 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.5563, allocations: 4 kB / 0.5327 GB, free: 3.203 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/0.5563, allocations: 12.03 kB / 0.5328 GB, free: 3.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008141/0.5571, allocations: 178.6 kB / 0.5329 GB, free: 3.023 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.5572, allocations: 11.98 kB / 0.5329 GB, free: 3.012 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003809/0.5576, allocations: 8 kB / 0.5329 GB, free: 3.004 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-05/0.5576, allocations: 30.81 kB / 0.533 GB, free: 2.98 MB / 346.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.0001085/0.5577, allocations: 108.9 kB / 0.5331 GB, free: 2.867 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.5579, allocations: 50.84 kB / 0.5331 GB, free: 2.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.558, allocations: 47.62 kB / 0.5332 GB, free: 2.801 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.558, allocations: 8 kB / 0.5332 GB, free: 2.793 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.558, allocations: 8 kB / 0.5332 GB, free: 2.785 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.5581, allocations: 3.984 kB / 0.5332 GB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.5601, allocations: 1.301 MB / 0.5345 GB, free: 1.617 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.5602, allocations: 0 / 0.5345 GB, free: 1.617 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009212/0.5611, allocations: 162.8 kB / 0.5346 GB, free: 1.465 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.5e-05/0.5611, allocations: 7.953 kB / 0.5346 GB, free: 1.457 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.151e-05/0.5612, allocations: 11.5 kB / 0.5346 GB, free: 1.449 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.5612, allocations: 4 kB / 0.5346 GB, free: 1.445 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.5612, allocations: 7.938 kB / 0.5347 GB, free: 1.438 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.5624, allocations: 0.9727 MB / 0.5356 GB, free: 0.5156 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.123e-05/0.5625, allocations: 120.5 kB / 0.5357 GB, free: 388 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.34e-05/0.5626, allocations: 7.953 kB / 0.5357 GB, free: 380 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004015/0.563, allocations: 8 kB / 0.5357 GB, free: 372 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.859e-05/0.5631, allocations: 48.25 kB / 0.5358 GB, free: 332 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/0.5631, allocations: 19.38 kB / 0.5358 GB, free: 316 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001301/0.5633, allocations: 153.9 kB / 0.5359 GB, free: 188 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5633, allocations: 0 / 0.5359 GB, free: 188 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007633/0.5641, allocations: 116 kB / 0.5361 GB, free: 72 kB / 346.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.0002067/0.5643, allocations: 126.9 kB / 0.5362 GB, free: 15.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008733/0.5652, allocations: 398.1 kB / 0.5366 GB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.5652, allocations: 4 kB / 0.5366 GB, free: 15.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003458/0.5655, allocations: 210.5 kB / 0.5368 GB, free: 15.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009405/0.5665, allocations: 95.39 kB / 0.5369 GB, free: 15.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003758/0.5703, allocations: 1.509 MB / 0.5383 GB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006421/0.5709, allocations: 0.8605 MB / 0.5392 GB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003291/0.5713, allocations: 56.58 kB / 0.5392 GB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.5714, allocations: 39.44 kB / 0.5393 GB, free: 12.95 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5715, allocations: 4 kB / 0.5393 GB, free: 12.95 MB / 362.7 MB Notification: Performance of Templates: time 0.01492/0.5864, allocations: 4.562 MB / 0.5437 GB, free: 8.445 MB / 362.7 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)