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.01067/0.01067, allocations: 99.66 kB / 15.73 MB, free: 6.047 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.002264/0.002264, allocations: 188 kB / 16.67 MB, free: 5.977 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.631/1.631, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.4114/0.4114, allocations: 37.99 MB / 307.9 MB, free: 10.02 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.001821/0.001821, allocations: 67.91 kB / 433 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3905, allocations: 56.46 MB / 489.4 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004421/0.395, allocations: 2.613 MB / 492.1 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.3964, allocations: 0.6845 MB / 492.7 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.3966, allocations: 8.625 kB / 492.7 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.3968, allocations: 46.44 kB / 492.8 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.397, allocations: 89.52 kB / 492.9 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.3973, allocations: 82.03 kB / 493 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003908/0.3977, allocations: 333.5 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.3979, allocations: 89.81 kB / 493.4 MB, free: 17.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.3981, allocations: 129.3 kB / 493.5 MB, free: 17.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.3983, allocations: 131.5 kB / 493.6 MB, free: 17.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.71e-05/0.3984, allocations: 22.84 kB / 493.6 MB, free: 17.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.716e-05/0.3984, allocations: 21.56 kB / 493.7 MB, free: 17.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.998e-05/0.3985, allocations: 66.92 kB / 493.7 MB, free: 17.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.3987, allocations: 138.4 kB / 493.9 MB, free: 17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004235/0.3991, allocations: 299 kB / 494.2 MB, free: 16.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.3991, allocations: 0 / 494.2 MB, free: 16.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3991, allocations: 1.344 kB / 494.2 MB, free: 16.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.3991, allocations: 0 / 494.2 MB, free: 16.88 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.0009212/0.4001, allocations: 0.5878 MB / 494.8 MB, free: 16.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.4001, allocations: 13.77 kB / 494.8 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.764e-05/0.4002, allocations: 33.19 kB / 494.8 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003734/0.4006, allocations: 254.2 kB / 495 MB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.4006, allocations: 23.12 kB / 495.1 MB, free: 16.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.163e-05/0.4007, allocations: 30.03 kB / 495.1 MB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004953/0.4012, allocations: 285.5 kB / 495.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.4012, allocations: 7.5 kB / 495.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.4012, allocations: 11.03 kB / 495.4 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.4013, allocations: 5.469 kB / 495.4 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004242/0.4017, allocations: 195.7 kB / 495.6 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.4033, allocations: 1.299 MB / 496.9 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004074/0.4037, allocations: 244.3 kB / 497.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.4039, allocations: 100 kB / 497.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.4039, allocations: 7.859 kB / 497.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.4039, allocations: 42.56 kB / 497.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.593e-06/0.404, allocations: 3.938 kB / 497.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002465/0.4064, allocations: 1.554 MB / 498.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.4065, allocations: 141.1 kB / 499 MB, free: 13.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.4067, allocations: 223 kB / 499.2 MB, free: 12.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.4067, allocations: 30.8 kB / 499.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.97e-05/0.4068, allocations: 182.1 kB / 499.4 MB, free: 12.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.002e-05/0.4069, allocations: 118.3 kB / 499.5 MB, free: 12.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.407, allocations: 69.83 kB / 499.6 MB, free: 12.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.436e-05/0.4071, allocations: 338.2 kB / 499.9 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/0.4074, allocations: 107.3 kB / 0.4883 GB, free: 12.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003061/0.4077, allocations: 235.3 kB / 0.4885 GB, free: 12.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005945/0.4083, allocations: 367.1 kB / 0.4889 GB, free: 11.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4083, allocations: 1.438 kB / 0.4889 GB, free: 11.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007347/0.409, allocations: 399.1 kB / 0.4893 GB, free: 11.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.4091, allocations: 10.94 kB / 0.4893 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.4091, allocations: 5.5 kB / 0.4893 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.4091, allocations: 7.578 kB / 0.4893 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004119/0.4095, allocations: 102.5 kB / 0.4894 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.86e-05/0.4096, allocations: 12 kB / 0.4894 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.4098, allocations: 25.38 kB / 0.4894 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.4098, allocations: 22.73 kB / 0.4894 GB, free: 11.57 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.0001312/0.41, allocations: 153.1 kB / 0.4896 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.4101, allocations: 34.11 kB / 0.4896 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.382e-05/0.4102, allocations: 35.98 kB / 0.4896 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.4102, allocations: 4.125 kB / 0.4896 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.4102, allocations: 1.375 kB / 0.4896 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/0.4102, allocations: 3.5 kB / 0.4897 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.4117, allocations: 0.9797 MB / 0.4906 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.4117, allocations: 1.281 kB / 0.4906 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003783/0.4121, allocations: 79.81 kB / 0.4907 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.4121, allocations: 7.344 kB / 0.4907 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.4121, allocations: 12.19 kB / 0.4907 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-06/0.4121, allocations: 3.391 kB / 0.4907 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.4121, allocations: 2.438 kB / 0.4907 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009712/0.4131, allocations: 0.7215 MB / 0.4914 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.403e-05/0.4132, allocations: 99.3 kB / 0.4915 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.4132, allocations: 11 kB / 0.4915 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.4135, allocations: 22.83 kB / 0.4915 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.906e-05/0.4136, allocations: 32.95 kB / 0.4916 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.4136, allocations: 8.578 kB / 0.4916 GB, free: 10.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.4138, allocations: 160.1 kB / 0.4917 GB, free: 9.922 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4138, allocations: 0 / 0.4917 GB, free: 9.922 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004935/0.4143, allocations: 67.88 kB / 0.4918 GB, free: 9.91 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.0001206/0.4144, allocations: 105.7 kB / 0.4919 GB, free: 9.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006599/0.4151, allocations: 277.6 kB / 0.4922 GB, free: 9.738 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4151, allocations: 0 / 0.4922 GB, free: 9.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.4154, allocations: 137.6 kB / 0.4923 GB, free: 9.699 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006399/0.416, allocations: 47 kB / 0.4923 GB, free: 9.676 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.4174, allocations: 0.8639 MB / 0.4932 GB, free: 9.055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.4177, allocations: 0.7738 MB / 0.4939 GB, free: 8.344 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.4178, allocations: 33.41 kB / 0.494 GB, free: 8.332 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.189e-05/0.4179, allocations: 26.41 kB / 0.494 GB, free: 8.324 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4179, allocations: 0 / 0.494 GB, free: 8.324 MB / 382.1 MB Notification: Performance of Templates: time 0.007942/0.4258, allocations: 2.461 MB / 0.4964 GB, free: 8.117 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)