Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.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.TestSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001245/0.001245, allocations: 170.1 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.285/1.285, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001561/0.001561, allocations: 103.5 kB / 223.2 MB, free: 4.051 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.1619/0.1619, allocations: 37.99 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.055e-05/3.057e-05, allocations: 0 / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08964/0.08969, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3232/0.4129, allocations: 76.15 MB / 481.8 MB, free: 18.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001644/0.4131, allocations: 65.52 kB / 481.9 MB, free: 18.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01263/0.4258, allocations: 4.704 MB / 486.6 MB, free: 17.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4258, allocations: 0 / 486.6 MB, free: 17.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.818e-05/0.4259, allocations: 3.875 kB / 486.6 MB, free: 17.98 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006526/0.4265, allocations: 0.518 MB / 487.1 MB, free: 17.56 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.4266, allocations: 7.781 kB / 487.1 MB, free: 17.56 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.125e-05/0.4266, allocations: 33.84 kB / 487.2 MB, free: 17.55 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.4269, allocations: 269.6 kB / 487.4 MB, free: 17.31 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.427, allocations: 15.66 kB / 487.5 MB, free: 17.31 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.434e-05/0.427, allocations: 27.12 kB / 487.5 MB, free: 17.31 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000332/0.4273, allocations: 255.2 kB / 487.7 MB, free: 17.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.4274, allocations: 11.66 kB / 487.7 MB, free: 17.21 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.4274, allocations: 11.38 kB / 487.8 MB, free: 17.21 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.4274, allocations: 3.875 kB / 487.8 MB, free: 17.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.4276, allocations: 141.2 kB / 487.9 MB, free: 17.21 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.4289, allocations: 1.308 MB / 489.2 MB, free: 16.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.4291, allocations: 230.2 kB / 489.4 MB, free: 16.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.946e-05/0.4292, allocations: 83.38 kB / 489.5 MB, free: 16.13 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.4293, allocations: 0 / 489.5 MB, free: 16.13 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.4293, allocations: 46.36 kB / 489.6 MB, free: 16.08 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 1.293e-06/0.4293, allocations: 0 / 489.6 MB, free: 16.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.001526/0.4308, allocations: 1.406 MB / 491 MB, free: 14.94 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.4309, allocations: 134 kB / 491.1 MB, free: 14.78 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.431, allocations: 199.4 kB / 491.3 MB, free: 14.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.4311, allocations: 29.64 kB / 491.3 MB, free: 14.65 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.27e-05/0.4311, allocations: 174.5 kB / 491.5 MB, free: 14.54 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.614e-05/0.4312, allocations: 122.4 kB / 491.6 MB, free: 14.46 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.4312, allocations: 7.875 kB / 491.6 MB, free: 14.46 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.685e-05/0.4313, allocations: 342.9 kB / 491.9 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.4314, allocations: 65.94 kB / 492 MB, free: 14.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.4315, allocations: 212 kB / 492.2 MB, free: 13.97 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.4317, allocations: 105.4 kB / 492.3 MB, free: 13.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4317, allocations: 0 / 492.3 MB, free: 13.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004659/0.4322, allocations: 330.1 kB / 492.6 MB, free: 13.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.4322, allocations: 7.75 kB / 492.6 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.4322, allocations: 7.938 kB / 492.7 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/0.4323, allocations: 10.92 kB / 492.7 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003722/0.4326, allocations: 116.1 kB / 492.8 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.4327, allocations: 7.75 kB / 492.8 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.4329, allocations: 30.03 kB / 492.8 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.4329, allocations: 15.28 kB / 492.8 MB, free: 13.86 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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 9.541e-05/0.433, allocations: 141.8 kB / 493 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.4331, allocations: 27.12 kB / 493 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.99e-05/0.4332, allocations: 34.5 kB / 493 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.4332, allocations: 7.766 kB / 493 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.4332, allocations: 3.812 kB / 493 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4333, allocations: 3.938 kB / 493 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009949/0.4343, allocations: 0.9305 MB / 494 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4343, allocations: 3.875 kB / 494 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/0.4346, allocations: 88.17 kB / 494.1 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.4346, allocations: 3.844 kB / 494.1 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.4347, allocations: 8.797 kB / 494.1 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.4347, allocations: 7.797 kB / 494.1 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4347, allocations: 0 / 494.1 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004933/0.4352, allocations: 0.7042 MB / 494.8 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.947e-05/0.4353, allocations: 120.2 kB / 494.9 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.4353, allocations: 11.12 kB / 494.9 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.4356, allocations: 24.42 kB / 494.9 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.853e-05/0.4357, allocations: 27.2 kB / 495 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.4357, allocations: 6.438 kB / 495 MB, free: 12.54 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001025/0.4358, allocations: 165.2 kB / 495.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4358, allocations: 0 / 495.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004846/0.4363, allocations: 64.78 kB / 495.2 MB, free: 12.45 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.0001493/0.4365, allocations: 115.2 kB / 495.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003538/0.4368, allocations: 222 kB / 495.5 MB, free: 12.33 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4368, allocations: 0 / 495.5 MB, free: 12.33 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.437, allocations: 109.6 kB / 495.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.4374, allocations: 38.17 kB / 495.7 MB, free: 12.31 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.4384, allocations: 0.7101 MB / 496.4 MB, free: 11.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.4387, allocations: 0.7846 MB / 497.2 MB, free: 11.13 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001472/0.4388, allocations: 34.42 kB / 497.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.4389, allocations: 26 kB / 497.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4389, allocations: 0 / 497.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of Templates: time 0.004678/0.4436, allocations: 2.109 MB / 499.3 MB, free: 10.96 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.pipe 2>&1)