Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009947/0.0009947, allocations: 96.67 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 176.5 kB / 16.57 MB, free: 6.391 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.802/1.802, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4461/0.4461, allocations: 43.55 MB / 314.5 MB, free: 8.73 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: Performance of FrontEnd - loaded program: time 0.000608/0.000608, allocations: 14.97 kB / 384 MB, free: 7.945 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1374, allocations: 58.85 MB / 442.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.002481/0.1399, allocations: 1.802 MB / 444.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.1413, allocations: 0.7455 MB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.1414, allocations: 7.938 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.1415, allocations: 19.84 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.1417, allocations: 79.72 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.1421, allocations: 99.8 kB / 445.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000291/0.1424, allocations: 208 kB / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.1426, allocations: 68.64 kB / 445.9 MB, free: 9.949 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.1428, allocations: 119.6 kB / 446 MB, free: 9.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.143, allocations: 139.5 kB / 446.1 MB, free: 9.695 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.179e-05/0.143, allocations: 19.94 kB / 446.1 MB, free: 9.676 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.1431, allocations: 51.95 kB / 446.2 MB, free: 9.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.364e-05/0.1432, allocations: 55.81 kB / 446.2 MB, free: 9.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.035e-05/0.1433, allocations: 61.58 kB / 446.3 MB, free: 9.504 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.1436, allocations: 235.7 kB / 446.5 MB, free: 9.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1436, allocations: 0 / 446.5 MB, free: 9.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1436, allocations: 0 / 446.5 MB, free: 9.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1436, allocations: 0 / 446.5 MB, free: 9.273 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008488/0.1444, allocations: 0.5223 MB / 447.1 MB, free: 8.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.1445, allocations: 8.031 kB / 447.1 MB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.915e-05/0.1446, allocations: 58.55 kB / 447.1 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.799e-05/0.1446, allocations: 23.72 kB / 447.1 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.1449, allocations: 242.7 kB / 447.4 MB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.145, allocations: 16.44 kB / 447.4 MB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.058e-05/0.145, allocations: 24 kB / 447.4 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004859/0.1455, allocations: 259.2 kB / 447.7 MB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.1455, allocations: 3.906 kB / 447.7 MB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/0.1456, allocations: 11.95 kB / 447.7 MB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.1456, allocations: 4 kB / 447.7 MB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004765/0.1461, allocations: 249.6 kB / 447.9 MB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.1474, allocations: 0.7402 MB / 448.7 MB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005346/0.148, allocations: 258.3 kB / 448.9 MB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.148, allocations: 4 kB / 448.9 MB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.148, allocations: 30.56 kB / 449 MB, free: 6.672 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.272e-06/0.1481, allocations: 0 / 449 MB, free: 6.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.00311/0.1512, allocations: 1.523 MB / 450.5 MB, free: 5.039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.1512, allocations: 59.34 kB / 450.5 MB, free: 4.969 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.1514, allocations: 190.6 kB / 450.7 MB, free: 4.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.1515, allocations: 37.69 kB / 450.8 MB, free: 4.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.118e-05/0.1516, allocations: 132.6 kB / 450.9 MB, free: 4.594 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.956e-05/0.1517, allocations: 110.5 kB / 451 MB, free: 4.484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.015e-05/0.1517, allocations: 8 kB / 451 MB, free: 4.477 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1518, allocations: 330.8 kB / 451.3 MB, free: 4.145 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.1521, allocations: 131.9 kB / 451.5 MB, free: 4.016 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/0.1524, allocations: 167.1 kB / 451.6 MB, free: 3.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.1526, allocations: 107.8 kB / 451.7 MB, free: 3.734 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1526, allocations: 0 / 451.7 MB, free: 3.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008194/0.1534, allocations: 453.9 kB / 452.2 MB, free: 3.281 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.1535, allocations: 8 kB / 452.2 MB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1535, allocations: 0 / 452.2 MB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005329/0.154, allocations: 240.7 kB / 452.4 MB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.1543, allocations: 51.97 kB / 452.5 MB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007322/0.155, allocations: 0.7553 MB / 453.2 MB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.1553, allocations: 52.05 kB / 453.3 MB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.1553, allocations: 15.98 kB / 453.3 MB, free: 2.137 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.0001616/0.1555, allocations: 142 kB / 453.4 MB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.367e-05/0.1555, allocations: 27.7 kB / 453.5 MB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.411e-05/0.1556, allocations: 42.58 kB / 453.5 MB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1556, allocations: 4 kB / 453.5 MB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.1557, allocations: 7.953 kB / 453.5 MB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1557, allocations: 0 / 453.5 MB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.1572, allocations: 0.9519 MB / 454.5 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1572, allocations: 0 / 454.5 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.1574, allocations: 55.91 kB / 454.5 MB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003831/0.1578, allocations: 208.7 kB / 454.7 MB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.1579, allocations: 15.98 kB / 454.7 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2522/0.4101, allocations: 0.7113 MB / 455.4 MB, free: 46.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.4102, allocations: 0 / 455.4 MB, free: 46.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.4117, allocations: 0.6604 MB / 456.1 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.4119, allocations: 125.5 kB / 456.2 MB, free: 45.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.878e-05/0.4119, allocations: 9.656 kB / 456.2 MB, free: 45.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/0.4122, allocations: 50.78 kB / 456.3 MB, free: 45.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.4124, allocations: 53.2 kB / 456.3 MB, free: 45.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.4124, allocations: 14.66 kB / 456.4 MB, free: 45.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.4125, allocations: 143.8 kB / 456.5 MB, free: 45.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4125, allocations: 0 / 456.5 MB, free: 45.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000384/0.4129, allocations: 74.09 kB / 456.6 MB, free: 45.8 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.001335/0.4143, allocations: 1.284 MB / 457.9 MB, free: 45.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006611/0.4149, allocations: 326.9 kB / 458.2 MB, free: 45.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.415, allocations: 0 / 458.2 MB, free: 45.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002912/0.4153, allocations: 159.9 kB / 458.3 MB, free: 45.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.4156, allocations: 28.19 kB / 458.4 MB, free: 45.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003361/0.419, allocations: 2.398 MB / 460.8 MB, free: 43.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.4192, allocations: 0.7633 MB / 461.5 MB, free: 43.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.907e-05/0.4193, allocations: 26.56 kB / 461.5 MB, free: 43.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.973e-05/0.4194, allocations: 66.64 kB / 461.6 MB, free: 43.25 MB / 382.1 MB Notification: Performance of SimCode: time 1.263e-06/0.4194, allocations: 0 / 461.6 MB, free: 43.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.4395, allocations: 6.806 MB / 468.4 MB, free: 42.66 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/0.4397, allocations: 214 kB / 468.6 MB, free: 42.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/2.362, allocations: 0 / 468.6 MB, free: 42.43 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat does not exist to compare? outputFormat=mat