Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.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.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000747/0.000747, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005097/0.005097, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.637/1.637, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3341/0.3341, allocations: 38.04 MB / 308.8 MB, free: 10.36 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.0005868/0.0005869, allocations: 12 kB / 377 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1328, allocations: 57.52 MB / 434.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.002928/0.1358, allocations: 2.504 MB / 437.1 MB, free: 2.684 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.1369, allocations: 0.741 MB / 437.8 MB, free: 1.934 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.1371, allocations: 8 kB / 437.8 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.1373, allocations: 39.62 kB / 437.9 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.1375, allocations: 111.1 kB / 438 MB, free: 1.777 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.1378, allocations: 79.81 kB / 438 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004539/0.1383, allocations: 422.5 kB / 438.5 MB, free: 1.285 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003263/0.1386, allocations: 163 kB / 438.6 MB, free: 1.121 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.1388, allocations: 147.3 kB / 438.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.1391, allocations: 167.1 kB / 438.9 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.438e-05/0.1391, allocations: 20 kB / 438.9 MB, free: 0.793 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.762e-05/0.1392, allocations: 20 kB / 439 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.281e-05/0.1393, allocations: 67.69 kB / 439 MB, free: 0.707 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002008/0.1395, allocations: 204.7 kB / 439.2 MB, free: 0.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004073/0.1399, allocations: 418.5 kB / 439.6 MB, free: 92 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1399, allocations: 0 / 439.6 MB, free: 92 kB / 366.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.1399, allocations: 0 / 439.6 MB, free: 92 kB / 366.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1399, allocations: 0 / 439.6 MB, free: 92 kB / 366.1 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.001057/0.141, allocations: 0.6045 MB / 440.2 MB, free: 15.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.1411, allocations: 8.031 kB / 440.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.793e-05/0.1412, allocations: 48.38 kB / 440.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.1415, allocations: 288.5 kB / 440.6 MB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/0.1415, allocations: 33.38 kB / 440.6 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.035e-05/0.1416, allocations: 40.28 kB / 440.6 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006407/0.1423, allocations: 393.3 kB / 441 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.1423, allocations: 0 / 441 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/0.1423, allocations: 16 kB / 441 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.1423, allocations: 12 kB / 441.1 MB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004826/0.1428, allocations: 271.7 kB / 441.3 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.1444, allocations: 1.128 MB / 442.4 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005254/0.1449, allocations: 356.1 kB / 442.8 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/0.1452, allocations: 186.7 kB / 443 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.1453, allocations: 4 kB / 443 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.1453, allocations: 38.56 kB / 443 MB, free: 12.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 1.623e-06/0.1453, allocations: 0 / 443 MB, free: 12.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.003941/0.1493, allocations: 2.472 MB / 445.5 MB, free: 9.746 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.849e-05/0.1493, allocations: 106.8 kB / 445.6 MB, free: 9.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.1496, allocations: 242.6 kB / 445.8 MB, free: 9.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.1496, allocations: 37.7 kB / 445.9 MB, free: 9.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.1498, allocations: 184.7 kB / 446.1 MB, free: 9.145 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.1499, allocations: 201 kB / 446.2 MB, free: 8.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/0.15, allocations: 49.69 kB / 446.3 MB, free: 8.891 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1501, allocations: 350.7 kB / 446.6 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.1504, allocations: 133.1 kB / 446.8 MB, free: 8.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003023/0.1507, allocations: 239.8 kB / 447 MB, free: 8.141 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005946/0.1513, allocations: 414 kB / 447.4 MB, free: 7.699 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.299e-06/0.1513, allocations: 0 / 447.4 MB, free: 7.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009479/0.1523, allocations: 0.5693 MB / 448 MB, free: 7.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1523, allocations: 8 kB / 448 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.1523, allocations: 4 kB / 448 MB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003533/0.1527, allocations: 126.8 kB / 448.1 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.153, allocations: 99.83 kB / 448.2 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003755/0.1568, allocations: 4.699 MB / 452.9 MB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.1571, allocations: 16 kB / 452.9 MB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.1571, allocations: 20 kB / 452.9 MB, free: 1.734 MB / 382.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002306/0.1574, allocations: 169.7 kB / 453.1 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.258e-05/0.1575, allocations: 39.62 kB / 453.1 MB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.962e-05/0.1576, allocations: 46.17 kB / 453.2 MB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.1576, allocations: 8 kB / 453.2 MB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.749e-05/0.1576, allocations: 0 / 453.2 MB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.1576, allocations: 4 kB / 453.2 MB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/0.1595, allocations: 1.34 MB / 454.5 MB, free: 48 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.1596, allocations: 12.22 kB / 454.6 MB, free: 36 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.253/0.4126, allocations: 100.8 kB / 454.7 MB, free: 49.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003479/0.413, allocations: 92.95 kB / 454.7 MB, free: 49.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.736e-05/0.413, allocations: 12.78 kB / 454.8 MB, free: 49.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002451/0.4155, allocations: 4.108 MB / 458.9 MB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4155, allocations: 0 / 458.9 MB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.4167, allocations: 0.942 MB / 459.8 MB, free: 45.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.389e-05/0.4168, allocations: 115 kB / 459.9 MB, free: 45.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.4169, allocations: 10 kB / 459.9 MB, free: 45.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.4171, allocations: 20.36 kB / 460 MB, free: 45.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.4173, allocations: 48.02 kB / 460 MB, free: 45.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.4173, allocations: 17.52 kB / 460 MB, free: 45.35 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001643/0.4175, allocations: 174.8 kB / 460.2 MB, free: 45.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4175, allocations: 0.7812 kB / 460.2 MB, free: 45.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006855/0.4182, allocations: 120.6 kB / 460.3 MB, free: 45.27 MB / 382.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001149/0.4183, allocations: 111 kB / 460.4 MB, free: 45.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.4194, allocations: 0.7907 MB / 461.2 MB, free: 44.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4195, allocations: 3.156 kB / 461.2 MB, free: 44.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006299/0.4201, allocations: 0.5826 MB / 461.8 MB, free: 44.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007357/0.4208, allocations: 65.67 kB / 461.9 MB, free: 44.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.4225, allocations: 1.343 MB / 463.2 MB, free: 43.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.4227, allocations: 0.8198 MB / 464 MB, free: 43.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001283/0.4229, allocations: 41.8 kB / 464.1 MB, free: 43.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.684e-05/0.423, allocations: 27.31 kB / 464.1 MB, free: 43.02 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.423, allocations: 3.281 kB / 464.1 MB, free: 43.02 MB / 382.1 MB Notification: Performance of Templates: time 0.007554/0.4305, allocations: 4.169 MB / 468.3 MB, free: 42.78 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) Environment - environmentSimulation: