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.006886/0.006886, allocations: 174.7 kB / 15.12 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.625/1.625, allocations: 194.5 MB / 210.3 MB, free: 7.531 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.001754/0.001755, allocations: 120.5 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1902/0.1902, allocations: 40.01 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004026/0.0004026, allocations: 10.03 kB / 406.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1232, allocations: 54.87 MB / 461 MB, free: 3.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/0.2512, allocations: 82.3 MB / 0.5306 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/0.2516, allocations: 71.91 kB / 0.5307 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2818/0.5334, allocations: 8.395 MB / 0.5389 GB, free: 82.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5335, allocations: 0 / 0.5389 GB, free: 82.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.707e-05/0.5335, allocations: 13.19 kB / 0.5389 GB, free: 82.73 MB / 378.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.001367/0.5349, allocations: 0.6746 MB / 0.5395 GB, free: 82.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.535, allocations: 13.03 kB / 0.5395 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.5352, allocations: 59.06 kB / 0.5396 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004457/0.5356, allocations: 291 kB / 0.5399 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.411e-05/0.5357, allocations: 34.88 kB / 0.5399 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.5358, allocations: 62.78 kB / 0.54 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008295/0.5367, allocations: 423 kB / 0.5404 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.809e-05/0.5367, allocations: 10.91 kB / 0.5404 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.433e-05/0.5368, allocations: 17.12 kB / 0.5404 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.5368, allocations: 12.25 kB / 0.5404 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006649/0.5375, allocations: 320.7 kB / 0.5407 GB, free: 81.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.5396, allocations: 1.149 MB / 0.5418 GB, free: 80.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007752/0.5404, allocations: 492.8 kB / 0.5423 GB, free: 80.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.5404, allocations: 7.312 kB / 0.5423 GB, free: 80.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.5405, allocations: 45.67 kB / 0.5424 GB, free: 80.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 2.955e-06/0.5405, allocations: 0 / 0.5424 GB, free: 80.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.003258/0.5437, allocations: 2.128 MB / 0.5444 GB, free: 78.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.5438, allocations: 84.77 kB / 0.5445 GB, free: 78.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.5441, allocations: 227 kB / 0.5447 GB, free: 78.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.5441, allocations: 36.73 kB / 0.5448 GB, free: 78.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.5442, allocations: 207.5 kB / 0.545 GB, free: 78.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.5444, allocations: 274.3 kB / 0.5452 GB, free: 78.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.088e-05/0.5444, allocations: 15.34 kB / 0.5452 GB, free: 78.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.944e-05/0.5445, allocations: 358.1 kB / 0.5456 GB, free: 77.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.5447, allocations: 151.7 kB / 0.5457 GB, free: 77.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/0.5451, allocations: 268.6 kB / 0.546 GB, free: 77.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.5454, allocations: 201.5 kB / 0.5462 GB, free: 77.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.5454, allocations: 1.812 kB / 0.5462 GB, free: 77.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008189/0.5463, allocations: 0.5645 MB / 0.5467 GB, free: 77.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.5463, allocations: 8.688 kB / 0.5467 GB, free: 77.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.5463, allocations: 2.812 kB / 0.5467 GB, free: 77.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.5463, allocations: 14.05 kB / 0.5467 GB, free: 77.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005807/0.5469, allocations: 180.2 kB / 0.5469 GB, free: 77.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.81e-05/0.5469, allocations: 6.188 kB / 0.5469 GB, free: 77.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.5472, allocations: 26.45 kB / 0.547 GB, free: 77.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.5473, allocations: 22.84 kB / 0.547 GB, free: 77.14 MB / 378.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002132/0.5475, allocations: 184.1 kB / 0.5471 GB, free: 76.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.113e-05/0.5476, allocations: 49.73 kB / 0.5472 GB, free: 76.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.5477, allocations: 62.58 kB / 0.5473 GB, free: 76.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.5477, allocations: 8.188 kB / 0.5473 GB, free: 76.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-05/0.5478, allocations: 0 / 0.5473 GB, free: 76.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.5478, allocations: 5.516 kB / 0.5473 GB, free: 76.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/0.5496, allocations: 1.445 MB / 0.5487 GB, free: 75.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.5496, allocations: 2.312 kB / 0.5487 GB, free: 75.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006205/0.5502, allocations: 161.8 kB / 0.5488 GB, free: 75.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.334e-05/0.5503, allocations: 6.25 kB / 0.5488 GB, free: 75.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-05/0.5503, allocations: 19.88 kB / 0.5489 GB, free: 75.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.5503, allocations: 10.5 kB / 0.5489 GB, free: 75.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.5503, allocations: 10.67 kB / 0.5489 GB, free: 75.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.5516, allocations: 1.036 MB / 0.5499 GB, free: 74.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.5517, allocations: 122.8 kB / 0.55 GB, free: 74.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.049e-05/0.5518, allocations: 19.31 kB / 0.55 GB, free: 74.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.5521, allocations: 16.12 kB / 0.55 GB, free: 74.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.851e-05/0.5522, allocations: 54.95 kB / 0.5501 GB, free: 74.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.5522, allocations: 20.44 kB / 0.5501 GB, free: 74.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001392/0.5523, allocations: 177.7 kB / 0.5503 GB, free: 74.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.133e-06/0.5523, allocations: 1.219 kB / 0.5503 GB, free: 74.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005894/0.5529, allocations: 151.8 kB / 0.5504 GB, free: 74.58 MB / 378.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 () * 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 (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.000136/0.5531, allocations: 121.6 kB / 0.5505 GB, free: 74.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006648/0.5538, allocations: 450.1 kB / 0.551 GB, free: 74.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5538, allocations: 0 / 0.551 GB, free: 74.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.554, allocations: 238.4 kB / 0.5512 GB, free: 74.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006222/0.5546, allocations: 100.5 kB / 0.5513 GB, free: 74.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.5569, allocations: 2.033 MB / 0.5533 GB, free: 72.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.5571, allocations: 0.8566 MB / 0.5541 GB, free: 71.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002114/0.5573, allocations: 56.66 kB / 0.5542 GB, free: 71.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.5575, allocations: 43.44 kB / 0.5542 GB, free: 71.36 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5575, allocations: 0 / 0.5542 GB, free: 71.36 MB / 378.7 MB Notification: Performance of Templates: time 0.008496/0.566, allocations: 4.809 MB / 0.5589 GB, free: 66.61 MB / 378.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)