Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.SupportTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008837/0.0008838, allocations: 92 kB / 15.06 MB, free: 1.098 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.0009894/0.0009895, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.4 MB / 222.1 MB, free: 5.629 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.3593/0.3593, allocations: 38.03 MB / 308.4 MB, free: 10.46 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.0005649/0.0005651, allocations: 16 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1198, allocations: 57.52 MB / 434 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.002455/0.1223, allocations: 1.867 MB / 435.8 MB, free: 3.668 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1238, allocations: 0.7337 MB / 436.6 MB, free: 2.926 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.1241, allocations: 4 kB / 436.6 MB, free: 2.922 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.1243, allocations: 27.78 kB / 436.6 MB, free: 2.895 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.1245, allocations: 67.52 kB / 436.7 MB, free: 2.828 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004297/0.125, allocations: 95.81 kB / 436.7 MB, free: 2.734 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003858/0.1254, allocations: 295.3 kB / 437 MB, free: 2.445 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.1256, allocations: 64.66 kB / 437.1 MB, free: 2.383 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002702/0.1258, allocations: 123.5 kB / 437.2 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.1261, allocations: 139.5 kB / 437.4 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.383e-05/0.1262, allocations: 16 kB / 437.4 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.1263, allocations: 51.95 kB / 437.4 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.828e-05/0.1264, allocations: 51.83 kB / 437.5 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.085e-05/0.1265, allocations: 65.58 kB / 437.5 MB, free: 1.938 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.1268, allocations: 239.6 kB / 437.8 MB, free: 1.703 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.1268, allocations: 0 / 437.8 MB, free: 1.703 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1268, allocations: 3.938 kB / 437.8 MB, free: 1.699 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.1268, allocations: 0 / 437.8 MB, free: 1.699 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009411/0.1278, allocations: 0.5223 MB / 438.3 MB, free: 1.125 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.1278, allocations: 12.03 kB / 438.3 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.402e-05/0.1279, allocations: 31.58 kB / 438.3 MB, free: 1.082 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.1283, allocations: 246.6 kB / 438.6 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.91e-05/0.1283, allocations: 16.44 kB / 438.6 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.263e-05/0.1284, allocations: 27.94 kB / 438.6 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005369/0.129, allocations: 259.1 kB / 438.9 MB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.129, allocations: 0 / 438.9 MB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/0.129, allocations: 12 kB / 438.9 MB, free: 500 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.1291, allocations: 4 kB / 438.9 MB, free: 496 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004614/0.1295, allocations: 249.5 kB / 439.1 MB, free: 244 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.1308, allocations: 0.7364 MB / 439.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005104/0.1314, allocations: 254.4 kB / 440.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.1316, allocations: 136.8 kB / 440.3 MB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.1317, allocations: 4 kB / 440.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.1317, allocations: 38.55 kB / 440.3 MB, free: 15.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.413e-06/0.1317, allocations: 11.94 kB / 440.3 MB, free: 15 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.003056/0.1348, allocations: 1.49 MB / 441.8 MB, free: 13.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.1348, allocations: 59.36 kB / 441.9 MB, free: 13.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.1351, allocations: 198.6 kB / 442.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.428e-05/0.1351, allocations: 37.7 kB / 442.1 MB, free: 13.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.799e-05/0.1352, allocations: 140.7 kB / 442.2 MB, free: 12.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.21e-05/0.1353, allocations: 110.4 kB / 442.3 MB, free: 12.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.876e-05/0.1353, allocations: 4 kB / 442.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1355, allocations: 342.8 kB / 442.7 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.1357, allocations: 119.9 kB / 442.8 MB, free: 12.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/0.136, allocations: 175.9 kB / 443 MB, free: 12.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.1362, allocations: 119.8 kB / 443.1 MB, free: 12.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1362, allocations: 0 / 443.1 MB, free: 12.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000804/0.137, allocations: 449.8 kB / 443.5 MB, free: 11.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.1371, allocations: 4 kB / 443.5 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.1371, allocations: 8.062 kB / 443.5 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005117/0.1376, allocations: 236.7 kB / 443.8 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.1378, allocations: 51.91 kB / 443.8 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007402/0.1386, allocations: 0.7514 MB / 444.6 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.1389, allocations: 56.05 kB / 444.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.1389, allocations: 8 kB / 444.6 MB, free: 10.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (bearingFriction1.free,$PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.00015/0.1391, allocations: 150 kB / 444.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.596e-05/0.1391, allocations: 23.72 kB / 444.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.1392, allocations: 38.66 kB / 444.8 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.1393, allocations: 7.938 kB / 444.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.1393, allocations: 0 / 444.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.1393, allocations: 7.938 kB / 444.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.1408, allocations: 0.948 MB / 445.8 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.1408, allocations: 0 / 445.8 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.141, allocations: 51.92 kB / 445.8 MB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003885/0.1414, allocations: 224.6 kB / 446.1 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/0.1415, allocations: 11.98 kB / 446.1 MB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006352/0.1421, allocations: 0.7124 MB / 446.8 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.1421, allocations: 0 / 446.8 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.1432, allocations: 0.6492 MB / 447.4 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.1433, allocations: 124.8 kB / 447.6 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.044e-05/0.1434, allocations: 8 kB / 447.6 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.1437, allocations: 52.02 kB / 447.6 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.1438, allocations: 55.83 kB / 447.7 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.1438, allocations: 15.98 kB / 447.7 MB, free: 7.258 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.144, allocations: 140.5 kB / 447.8 MB, free: 7.121 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.144, allocations: 0 / 447.8 MB, free: 7.121 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000372/0.1443, allocations: 84 kB / 447.9 MB, free: 7.039 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002318/0.1446, allocations: 123.2 kB / 448 MB, free: 6.906 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007031/0.1453, allocations: 319.6 kB / 448.3 MB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1453, allocations: 0 / 448.3 MB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003347/0.1456, allocations: 164.1 kB / 448.5 MB, free: 6.434 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.146, allocations: 36.11 kB / 448.5 MB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.1479, allocations: 0.9376 MB / 449.5 MB, free: 5.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.1483, allocations: 0.7564 MB / 450.2 MB, free: 4.648 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.926e-05/0.1484, allocations: 18.3 kB / 450.2 MB, free: 4.629 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/0.1484, allocations: 23.42 kB / 450.3 MB, free: 4.605 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1485, allocations: 0 / 450.3 MB, free: 4.605 MB / 382.1 MB Notification: Performance of Templates: time 0.2082/0.3567, allocations: 4.622 MB / 454.9 MB, free: 51.06 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) Environment - environmentSimulation: