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.00944/0.009439, allocations: 100.2 kB / 15.73 MB, free: 6.051 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.001909/0.001909, allocations: 197.2 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.699/1.699, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.358/0.358, allocations: 39.94 MB / 309.8 MB, free: 9.387 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.001643/0.001644, allocations: 75.89 kB / 435.8 MB, free: 2.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3895, allocations: 56.87 MB / 492.6 MB, free: 19.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003703/0.3932, allocations: 2.614 MB / 495.2 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.3945, allocations: 0.69 MB / 495.9 MB, free: 17.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.3947, allocations: 4.219 kB / 495.9 MB, free: 17.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000196/0.3949, allocations: 46.38 kB / 496 MB, free: 17.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.3951, allocations: 85.2 kB / 496.1 MB, free: 17.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.3954, allocations: 85.19 kB / 496.1 MB, free: 16.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003991/0.3958, allocations: 333.5 kB / 496.5 MB, free: 16.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.396, allocations: 89.69 kB / 496.6 MB, free: 16.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.3962, allocations: 133.3 kB / 496.7 MB, free: 16.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.3964, allocations: 127.5 kB / 496.8 MB, free: 16.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.956e-05/0.3965, allocations: 22.47 kB / 496.8 MB, free: 16.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.27e-05/0.3965, allocations: 22.31 kB / 496.9 MB, free: 16.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.279e-05/0.3966, allocations: 61.38 kB / 496.9 MB, free: 16.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.3968, allocations: 140.3 kB / 497.1 MB, free: 16.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003976/0.3972, allocations: 298.7 kB / 497.3 MB, free: 16.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3972, allocations: 3.938 kB / 497.4 MB, free: 16.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3972, allocations: 0 / 497.4 MB, free: 16.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.3972, allocations: 0.7031 kB / 497.4 MB, free: 16.41 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.0009021/0.3981, allocations: 0.588 MB / 497.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.3982, allocations: 12.8 kB / 498 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.112e-05/0.3982, allocations: 37.8 kB / 498 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.3986, allocations: 255.1 kB / 498.2 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.3986, allocations: 18.28 kB / 498.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.526e-05/0.3987, allocations: 46.75 kB / 498.3 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005384/0.3993, allocations: 273.5 kB / 498.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.3993, allocations: 7.062 kB / 498.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.3993, allocations: 10.41 kB / 498.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.3993, allocations: 5.531 kB / 498.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004328/0.3998, allocations: 188 kB / 498.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.4014, allocations: 1.298 MB / 0.4884 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.4018, allocations: 248.2 kB / 0.4886 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.402, allocations: 97.47 kB / 0.4887 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.4021, allocations: 7.719 kB / 0.4887 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.4021, allocations: 41.8 kB / 0.4887 GB, free: 14.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.144e-06/0.4021, allocations: 0 / 0.4887 GB, free: 14.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002597/0.4047, allocations: 1.576 MB / 0.4903 GB, free: 12.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.4048, allocations: 136.7 kB / 0.4904 GB, free: 12.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.405, allocations: 216.8 kB / 0.4906 GB, free: 12.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.405, allocations: 31.89 kB / 0.4906 GB, free: 12.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.808e-05/0.4051, allocations: 186.1 kB / 0.4908 GB, free: 12.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.849e-05/0.4052, allocations: 114 kB / 0.4909 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.4053, allocations: 71.45 kB / 0.491 GB, free: 12.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.553e-05/0.4054, allocations: 336.8 kB / 0.4913 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/0.4057, allocations: 97.88 kB / 0.4914 GB, free: 11.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003132/0.406, allocations: 240.4 kB / 0.4916 GB, free: 11.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005794/0.4066, allocations: 374.8 kB / 0.492 GB, free: 11.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.4066, allocations: 7.031 kB / 0.492 GB, free: 11.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000751/0.4073, allocations: 402.8 kB / 0.4924 GB, free: 11.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.4074, allocations: 7.281 kB / 0.4924 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.4074, allocations: 4.844 kB / 0.4924 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/0.4074, allocations: 6.938 kB / 0.4924 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/0.4078, allocations: 96.73 kB / 0.4925 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.4078, allocations: 12.31 kB / 0.4925 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.408, allocations: 26.05 kB / 0.4925 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.4081, allocations: 19.25 kB / 0.4925 GB, free: 11.11 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.0001186/0.4082, allocations: 152.8 kB / 0.4927 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.4083, allocations: 29.97 kB / 0.4927 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.99e-05/0.4084, allocations: 35.48 kB / 0.4928 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4084, allocations: 4.125 kB / 0.4928 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.4084, allocations: 1.375 kB / 0.4928 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.4084, allocations: 2.922 kB / 0.4928 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.4098, allocations: 0.9763 MB / 0.4937 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4098, allocations: 5.438 kB / 0.4937 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003609/0.4102, allocations: 81.17 kB / 0.4938 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.4102, allocations: 2.75 kB / 0.4938 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.4102, allocations: 12.62 kB / 0.4938 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.4102, allocations: 3.297 kB / 0.4938 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.4102, allocations: 6.594 kB / 0.4938 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.4114, allocations: 0.7326 MB / 0.4945 GB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.408e-05/0.4114, allocations: 106.3 kB / 0.4946 GB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.353e-05/0.4115, allocations: 12.55 kB / 0.4947 GB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.4118, allocations: 18.66 kB / 0.4947 GB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.585e-05/0.4119, allocations: 27.95 kB / 0.4947 GB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.4119, allocations: 13.52 kB / 0.4947 GB, free: 9.543 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001646/0.4121, allocations: 160.1 kB / 0.4949 GB, free: 9.441 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4121, allocations: 0 / 0.4949 GB, free: 9.441 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005069/0.4126, allocations: 68 kB / 0.4949 GB, free: 9.43 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.0001257/0.4127, allocations: 106.5 kB / 0.495 GB, free: 9.332 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000711/0.4134, allocations: 276.2 kB / 0.4953 GB, free: 9.258 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4135, allocations: 1.219 kB / 0.4953 GB, free: 9.258 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000316/0.4138, allocations: 131.8 kB / 0.4954 GB, free: 9.223 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006822/0.4145, allocations: 41.75 kB / 0.4955 GB, free: 9.199 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.416, allocations: 0.8614 MB / 0.4963 GB, free: 8.578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.4163, allocations: 0.7693 MB / 0.4971 GB, free: 7.875 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001364/0.4165, allocations: 34.11 kB / 0.4971 GB, free: 7.863 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.205e-05/0.4165, allocations: 25.89 kB / 0.4971 GB, free: 7.859 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4165, allocations: 1.188 kB / 0.4971 GB, free: 7.859 MB / 382.1 MB Notification: Performance of Templates: time 0.006736/0.4233, allocations: 2.516 MB / 0.4996 GB, free: 6.754 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)