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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006912/0.006912, allocations: 99.64 kB / 15.73 MB, free: 5.547 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.001313/0.001314, allocations: 193.5 kB / 16.67 MB, free: 5.492 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.664/1.664, allocations: 205.1 MB / 222.5 MB, free: 4.391 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.3794/0.3794, allocations: 38 MB / 307.9 MB, free: 10.42 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.001462/0.001462, allocations: 75.84 kB / 433 MB, free: 5.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.339, allocations: 56.46 MB / 489.4 MB, free: 19.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003612/0.3426, allocations: 2.614 MB / 492 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.344, allocations: 0.6877 MB / 492.7 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001944/0.3442, allocations: 4.312 kB / 492.7 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.3444, allocations: 45.72 kB / 492.8 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.3446, allocations: 85.31 kB / 492.9 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.3449, allocations: 87.3 kB / 493 MB, free: 17.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003511/0.3453, allocations: 335.8 kB / 493.3 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.3455, allocations: 86.89 kB / 493.4 MB, free: 17.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.3456, allocations: 132.5 kB / 493.5 MB, free: 17.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.3458, allocations: 131.5 kB / 493.6 MB, free: 17.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.23e-05/0.3459, allocations: 23.22 kB / 493.6 MB, free: 17.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.528e-05/0.3459, allocations: 21.34 kB / 493.7 MB, free: 17.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.159e-05/0.346, allocations: 57.84 kB / 493.7 MB, free: 17.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.3461, allocations: 139.9 kB / 493.9 MB, free: 17.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003746/0.3465, allocations: 299.2 kB / 494.2 MB, free: 16.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3465, allocations: 3.938 kB / 494.2 MB, free: 16.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3465, allocations: 4 kB / 494.2 MB, free: 16.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.3465, allocations: 0 / 494.2 MB, free: 16.91 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008422/0.3474, allocations: 0.5841 MB / 494.7 MB, free: 16.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.3474, allocations: 13.73 kB / 494.8 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.284e-05/0.3475, allocations: 41.45 kB / 494.8 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.3479, allocations: 254.6 kB / 495 MB, free: 16.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.3479, allocations: 18.88 kB / 495.1 MB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.316e-05/0.348, allocations: 35.36 kB / 495.1 MB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004827/0.3484, allocations: 280 kB / 495.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.3485, allocations: 7.078 kB / 495.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.3485, allocations: 11.28 kB / 495.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.3485, allocations: 5.656 kB / 495.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004626/0.349, allocations: 190.2 kB / 495.6 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.3505, allocations: 1.299 MB / 496.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004229/0.3509, allocations: 253.2 kB / 497.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.3511, allocations: 98.81 kB / 497.2 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.3512, allocations: 4.406 kB / 497.2 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.3512, allocations: 45.7 kB / 497.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.295e-06/0.3512, allocations: 4 kB / 497.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002437/0.3537, allocations: 1.56 MB / 498.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.3537, allocations: 133.9 kB / 499 MB, free: 13.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.354, allocations: 220.8 kB / 499.2 MB, free: 12.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.354, allocations: 35.08 kB / 499.2 MB, free: 12.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.779e-05/0.3541, allocations: 177.2 kB / 499.4 MB, free: 12.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.293e-05/0.3542, allocations: 120.2 kB / 499.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.3543, allocations: 69.38 kB / 499.6 MB, free: 12.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.26e-05/0.3543, allocations: 338.2 kB / 499.9 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/0.3546, allocations: 99.02 kB / 0.4883 GB, free: 12.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.3549, allocations: 243.2 kB / 0.4885 GB, free: 12.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005625/0.3555, allocations: 367.3 kB / 0.4889 GB, free: 11.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3555, allocations: 1.344 kB / 0.4889 GB, free: 11.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007579/0.3563, allocations: 398.5 kB / 0.4892 GB, free: 11.65 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.3563, allocations: 6.719 kB / 0.4893 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3563, allocations: 4.781 kB / 0.4893 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.3563, allocations: 8.219 kB / 0.4893 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003955/0.3567, allocations: 105.9 kB / 0.4894 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.975e-05/0.3568, allocations: 12.17 kB / 0.4894 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.357, allocations: 21.67 kB / 0.4894 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.357, allocations: 19.48 kB / 0.4894 GB, free: 11.62 MB / 382.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.3572, allocations: 149.6 kB / 0.4896 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.844e-05/0.3573, allocations: 33.94 kB / 0.4896 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.129e-05/0.3573, allocations: 35.66 kB / 0.4896 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.3573, allocations: 6.844 kB / 0.4896 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.3574, allocations: 5.469 kB / 0.4896 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.3574, allocations: 3.625 kB / 0.4896 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.3588, allocations: 0.9796 MB / 0.4906 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3588, allocations: 2.141 kB / 0.4906 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000355/0.3592, allocations: 80.56 kB / 0.4907 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.3592, allocations: 2.109 kB / 0.4907 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.3592, allocations: 13.72 kB / 0.4907 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3592, allocations: 2.109 kB / 0.4907 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3592, allocations: 5.781 kB / 0.4907 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.3602, allocations: 0.7231 MB / 0.4914 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.566e-05/0.3603, allocations: 101.2 kB / 0.4915 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.3604, allocations: 13.36 kB / 0.4915 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.3607, allocations: 17.25 kB / 0.4915 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.96e-05/0.3608, allocations: 32.42 kB / 0.4916 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.3608, allocations: 9.016 kB / 0.4916 GB, free: 10.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.361, allocations: 156 kB / 0.4917 GB, free: 9.969 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.361, allocations: 0 / 0.4917 GB, free: 9.969 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005105/0.3615, allocations: 68.34 kB / 0.4918 GB, free: 9.957 MB / 382.1 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 () * Number of clocked 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 (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.0001174/0.3616, allocations: 110.1 kB / 0.4919 GB, free: 9.855 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007294/0.3623, allocations: 276.9 kB / 0.4922 GB, free: 9.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3623, allocations: 0 / 0.4922 GB, free: 9.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003252/0.3627, allocations: 133.8 kB / 0.4923 GB, free: 9.746 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006778/0.3634, allocations: 55.53 kB / 0.4923 GB, free: 9.715 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.365, allocations: 0.8667 MB / 0.4932 GB, free: 9.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.3652, allocations: 0.7728 MB / 0.4939 GB, free: 8.379 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000134/0.3654, allocations: 34.17 kB / 0.494 GB, free: 8.367 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.413e-05/0.3655, allocations: 27.52 kB / 0.494 GB, free: 8.359 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3655, allocations: 0 / 0.494 GB, free: 8.359 MB / 382.1 MB Notification: Performance of Templates: time 0.006954/0.3724, allocations: 2.513 MB / 0.4964 GB, free: 8.137 MB / 382.1 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)