Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001128/0.001128, allocations: 181.9 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.735/1.735, allocations: 194.3 MB / 207.5 MB, free: 3.453 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00198/0.00198, allocations: 115 kB / 252.6 MB, free: 4.828 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2421/0.2421, allocations: 39.94 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.275e-05/5.279e-05, allocations: 7.984 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.138, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4587/0.5968, allocations: 81.88 MB / 0.5244 GB, free: 9.184 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.5971, allocations: 73.58 kB / 0.5245 GB, free: 9.145 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01394/0.611, allocations: 5.819 MB / 0.5302 GB, free: 4.617 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6111, allocations: 0 / 0.5302 GB, free: 4.617 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.682e-05/0.6111, allocations: 4 kB / 0.5302 GB, free: 4.613 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0006786/0.6118, allocations: 0.5739 MB / 0.5307 GB, free: 4.016 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.6119, allocations: 8.031 kB / 0.5308 GB, free: 4.008 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.685e-05/0.612, allocations: 43.53 kB / 0.5308 GB, free: 3.965 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.6123, allocations: 273.1 kB / 0.5311 GB, free: 3.684 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.6123, allocations: 31.59 kB / 0.5311 GB, free: 3.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.973e-05/0.6124, allocations: 45.91 kB / 0.5311 GB, free: 3.629 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005318/0.6129, allocations: 355.7 kB / 0.5315 GB, free: 3.371 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.6129, allocations: 8 kB / 0.5315 GB, free: 3.363 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.613, allocations: 16.44 kB / 0.5315 GB, free: 3.359 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.613, allocations: 8 kB / 0.5315 GB, free: 3.352 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003109/0.6133, allocations: 207 kB / 0.5317 GB, free: 3.215 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.6146, allocations: 1.1 MB / 0.5328 GB, free: 2.266 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003749/0.6149, allocations: 343.2 kB / 0.5331 GB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.6151, allocations: 152.6 kB / 0.5332 GB, free: 1.883 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.6152, allocations: 4 kB / 0.5332 GB, free: 1.879 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.6152, allocations: 41.81 kB / 0.5333 GB, free: 1.836 MB / 346.7 MB Notification: Performance of pre-optimization done (n=39): time 2.064e-06/0.6152, allocations: 0 / 0.5333 GB, free: 1.836 MB / 346.7 MB Notification: Performance of matching and sorting (n=57): time 0.002744/0.6179, allocations: 2.273 MB / 0.5355 GB, free: 15.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.423e-05/0.618, allocations: 114.8 kB / 0.5356 GB, free: 15.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.6183, allocations: 210 kB / 0.5358 GB, free: 15.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.6183, allocations: 37.45 kB / 0.5359 GB, free: 15.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.6184, allocations: 182.6 kB / 0.536 GB, free: 15.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.6186, allocations: 200.9 kB / 0.5362 GB, free: 14.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/0.6186, allocations: 7.062 kB / 0.5362 GB, free: 14.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.6188, allocations: 348.7 kB / 0.5366 GB, free: 14.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.619, allocations: 111.9 kB / 0.5367 GB, free: 14.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.6192, allocations: 221 kB / 0.5369 GB, free: 14.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.6195, allocations: 144.5 kB / 0.537 GB, free: 14.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6195, allocations: 0 / 0.537 GB, free: 14.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008617/0.6204, allocations: 0.5246 MB / 0.5375 GB, free: 13.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.6204, allocations: 8 kB / 0.5375 GB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.6204, allocations: 4 kB / 0.5375 GB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003793/0.6208, allocations: 118.2 kB / 0.5377 GB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/0.6212, allocations: 107.8 kB / 0.5378 GB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004345/0.6256, allocations: 4.655 MB / 0.5423 GB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/0.6259, allocations: 26.28 kB / 0.5423 GB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.6259, allocations: 23.86 kB / 0.5423 GB, free: 8.945 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001709/0.6261, allocations: 134.8 kB / 0.5425 GB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.6263, allocations: 35.62 kB / 0.5425 GB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.6264, allocations: 51.27 kB / 0.5426 GB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.6264, allocations: 8 kB / 0.5426 GB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-05/0.6264, allocations: 4 kB / 0.5426 GB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.6265, allocations: 0 / 0.5426 GB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/0.6284, allocations: 1.306 MB / 0.5438 GB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.6284, allocations: 0 / 0.5438 GB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000408/0.6288, allocations: 103.3 kB / 0.5439 GB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002638/0.6291, allocations: 91.58 kB / 0.544 GB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.6291, allocations: 10.81 kB / 0.544 GB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003261/0.6324, allocations: 4.1 MB / 0.548 GB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6324, allocations: 3.938 kB / 0.5481 GB, free: 3.207 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.6337, allocations: 0.9384 MB / 0.549 GB, free: 2.387 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.6338, allocations: 104.7 kB / 0.5491 GB, free: 2.266 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.6339, allocations: 26.86 kB / 0.5491 GB, free: 2.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.6341, allocations: 15.61 kB / 0.5491 GB, free: 2.238 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.6342, allocations: 42.66 kB / 0.5491 GB, free: 2.203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.6343, allocations: 19.61 kB / 0.5492 GB, free: 2.188 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001686/0.6344, allocations: 171.5 kB / 0.5493 GB, free: 2.043 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.643e-06/0.6344, allocations: 0 / 0.5493 GB, free: 2.043 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007003/0.6352, allocations: 126.6 kB / 0.5495 GB, free: 1.938 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001806/0.6353, allocations: 115.8 kB / 0.5496 GB, free: 1.824 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.6365, allocations: 0.7299 MB / 0.5503 GB, free: 1.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6365, allocations: 0 / 0.5503 GB, free: 1.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006594/0.6371, allocations: 0.5465 MB / 0.5508 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.6377, allocations: 49.52 kB / 0.5509 GB, free: 0.6289 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.6393, allocations: 0.9172 MB / 0.5518 GB, free: 15.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/0.6398, allocations: 0.832 MB / 0.5526 GB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001394/0.6399, allocations: 39.27 kB / 0.5526 GB, free: 14.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.586e-05/0.64, allocations: 28.12 kB / 0.5526 GB, free: 14.84 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.64, allocations: 0 / 0.5526 GB, free: 14.84 MB / 378.7 MB Notification: Performance of Templates: time 0.008265/0.6483, allocations: 4.026 MB / 0.5566 GB, free: 10.83 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1)