Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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 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.2_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009004/0.009004, allocations: 101 kB / 15.73 MB, free: 5.996 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.001623/0.001623, allocations: 185.3 kB / 16.67 MB, free: 5.93 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.545/1.545, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.365/0.365, allocations: 39.94 MB / 309.8 MB, free: 9.363 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.2. 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.001409/0.001409, allocations: 63.91 kB / 435.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3737, allocations: 56.87 MB / 492.6 MB, free: 19.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004371/0.3782, allocations: 2.617 MB / 495.2 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.3795, allocations: 0.6915 MB / 495.9 MB, free: 17.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.3797, allocations: 8.156 kB / 495.9 MB, free: 17.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.38, allocations: 42.42 kB / 496 MB, free: 17.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.3801, allocations: 89.14 kB / 496.1 MB, free: 17.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.3804, allocations: 85.86 kB / 496.2 MB, free: 16.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004139/0.3808, allocations: 328.5 kB / 496.5 MB, free: 16.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/0.3811, allocations: 89.72 kB / 496.6 MB, free: 16.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.3813, allocations: 126.5 kB / 496.7 MB, free: 16.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.3815, allocations: 128.2 kB / 496.8 MB, free: 16.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.955e-05/0.3816, allocations: 21.97 kB / 496.8 MB, free: 16.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.36e-05/0.3816, allocations: 22.31 kB / 496.9 MB, free: 16.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.296e-05/0.3817, allocations: 61.83 kB / 496.9 MB, free: 16.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.3818, allocations: 144.2 kB / 497.1 MB, free: 16.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004408/0.3823, allocations: 305 kB / 497.4 MB, free: 16.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3823, allocations: 0 / 497.4 MB, free: 16.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3823, allocations: 2.594 kB / 497.4 MB, free: 16.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.3823, allocations: 0 / 497.4 MB, free: 16.39 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.0009741/0.3833, allocations: 0.583 MB / 497.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.3834, allocations: 17.39 kB / 498 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.242e-05/0.3835, allocations: 37.44 kB / 498 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.3839, allocations: 262 kB / 498.3 MB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.3839, allocations: 18.97 kB / 498.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.226e-05/0.384, allocations: 34.86 kB / 498.3 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005219/0.3845, allocations: 285.2 kB / 498.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.3845, allocations: 7.422 kB / 498.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.3846, allocations: 10.16 kB / 498.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.3846, allocations: 6.406 kB / 498.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004285/0.385, allocations: 180.2 kB / 498.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.3865, allocations: 1.318 MB / 0.4884 GB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003954/0.3869, allocations: 240 kB / 0.4886 GB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.3871, allocations: 105.4 kB / 0.4887 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.688e-05/0.3872, allocations: 3 kB / 0.4887 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.3872, allocations: 41.75 kB / 0.4888 GB, free: 14.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.723e-06/0.3872, allocations: 0 / 0.4888 GB, free: 14.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002305/0.3895, allocations: 1.572 MB / 0.4903 GB, free: 12.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.3896, allocations: 143.6 kB / 0.4904 GB, free: 12.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.3898, allocations: 230.9 kB / 0.4906 GB, free: 12.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.3899, allocations: 31.23 kB / 0.4907 GB, free: 12.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.39, allocations: 177.7 kB / 0.4908 GB, free: 12.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.584e-05/0.3901, allocations: 123.7 kB / 0.491 GB, free: 12.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.972e-05/0.3902, allocations: 66.73 kB / 0.491 GB, free: 12.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.054e-05/0.3903, allocations: 337 kB / 0.4913 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.3905, allocations: 104.3 kB / 0.4914 GB, free: 11.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.3908, allocations: 232.5 kB / 0.4917 GB, free: 11.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005933/0.3914, allocations: 375.8 kB / 0.492 GB, free: 11.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3915, allocations: 1.031 kB / 0.492 GB, free: 11.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007549/0.3922, allocations: 401.6 kB / 0.4924 GB, free: 11.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.3922, allocations: 7.5 kB / 0.4924 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.3923, allocations: 4.531 kB / 0.4924 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/0.3923, allocations: 11.73 kB / 0.4924 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/0.3927, allocations: 102.5 kB / 0.4925 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/0.3927, allocations: 7.672 kB / 0.4925 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.3929, allocations: 30.75 kB / 0.4926 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.393, allocations: 18.64 kB / 0.4926 GB, free: 11.06 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.0001582/0.3932, allocations: 149.4 kB / 0.4927 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.3933, allocations: 30.3 kB / 0.4928 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.555e-05/0.3934, allocations: 38.03 kB / 0.4928 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.3934, allocations: 4.125 kB / 0.4928 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/0.3934, allocations: 1.891 kB / 0.4928 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.3934, allocations: 2.875 kB / 0.4928 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.3949, allocations: 0.9843 MB / 0.4938 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.3949, allocations: 1.375 kB / 0.4938 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004/0.3953, allocations: 75.56 kB / 0.4938 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.3954, allocations: 2.75 kB / 0.4938 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.3954, allocations: 17.31 kB / 0.4939 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/0.3954, allocations: 7.594 kB / 0.4939 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3954, allocations: 1.312 kB / 0.4939 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.3965, allocations: 0.7223 MB / 0.4946 GB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.305e-05/0.3965, allocations: 107.4 kB / 0.4947 GB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.689e-05/0.3966, allocations: 16.39 kB / 0.4947 GB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.3969, allocations: 18.14 kB / 0.4947 GB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.479e-05/0.397, allocations: 32.44 kB / 0.4947 GB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.397, allocations: 12.98 kB / 0.4947 GB, free: 9.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001569/0.3972, allocations: 155.5 kB / 0.4949 GB, free: 9.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3972, allocations: 0 / 0.4949 GB, free: 9.402 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005045/0.3977, allocations: 68.31 kB / 0.495 GB, free: 9.391 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.0001297/0.3978, allocations: 110 kB / 0.4951 GB, free: 9.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007595/0.3986, allocations: 280.2 kB / 0.4953 GB, free: 9.211 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3986, allocations: 1.219 kB / 0.4953 GB, free: 9.211 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003366/0.399, allocations: 133.1 kB / 0.4955 GB, free: 9.176 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006754/0.3996, allocations: 45.36 kB / 0.4955 GB, free: 9.148 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.4011, allocations: 0.8824 MB / 0.4964 GB, free: 8.504 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.4013, allocations: 0.7684 MB / 0.4971 GB, free: 7.801 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001428/0.4015, allocations: 34.88 kB / 0.4971 GB, free: 7.789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.996e-05/0.4016, allocations: 26.03 kB / 0.4972 GB, free: 7.785 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4016, allocations: 0 / 0.4972 GB, free: 7.785 MB / 382.1 MB Notification: Performance of Templates: time 0.006864/0.4084, allocations: 2.449 MB / 0.4996 GB, free: 6.801 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.pipe 2>&1)