Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001536/0.001535, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.994/1.994, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 78.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2742/0.2742, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.811e-05/3.813e-05, allocations: 0 / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1189, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4734/0.5924, allocations: 88.22 MB / 0.5589 GB, free: 15.4 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.5927, allocations: 70.7 kB / 0.559 GB, free: 15.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02157/0.6143, allocations: 4.515 MB / 0.5634 GB, free: 11.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.6143, allocations: 0 / 0.5634 GB, free: 11.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.096e-05/0.6144, allocations: 4 kB / 0.5634 GB, free: 11.46 MB / 378.7 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.001175/0.6156, allocations: 0.4989 MB / 0.5639 GB, free: 10.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.6156, allocations: 15.97 kB / 0.5639 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.6157, allocations: 27.67 kB / 0.5639 GB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003954/0.6162, allocations: 240.8 kB / 0.5642 GB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.198e-05/0.6162, allocations: 19.17 kB / 0.5642 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.647e-05/0.6163, allocations: 23.69 kB / 0.5642 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006731/0.617, allocations: 240.4 kB / 0.5644 GB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.617, allocations: 11.91 kB / 0.5645 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/0.6171, allocations: 7.062 kB / 0.5645 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.6171, allocations: 4 kB / 0.5645 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000592/0.6177, allocations: 197.8 kB / 0.5647 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002096/0.6198, allocations: 0.7092 MB / 0.5653 GB, free: 9.656 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/0.6205, allocations: 207.3 kB / 0.5655 GB, free: 9.512 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003503/0.6208, allocations: 135.6 kB / 0.5657 GB, free: 9.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.565e-05/0.6209, allocations: 12.17 kB / 0.5657 GB, free: 9.418 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.621, allocations: 33.86 kB / 0.5657 GB, free: 9.379 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 3.216e-06/0.621, allocations: 0 / 0.5657 GB, free: 9.379 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.003387/0.6244, allocations: 1.166 MB / 0.5669 GB, free: 8.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.6245, allocations: 55.41 kB / 0.5669 GB, free: 8.266 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.6247, allocations: 166.3 kB / 0.5671 GB, free: 8.113 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.418e-05/0.6248, allocations: 35.39 kB / 0.5671 GB, free: 8.078 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.625, allocations: 200.8 kB / 0.5673 GB, free: 7.895 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.6251, allocations: 109.4 kB / 0.5674 GB, free: 7.805 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.6251, allocations: 3.5 kB / 0.5674 GB, free: 7.805 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.6253, allocations: 328.8 kB / 0.5677 GB, free: 7.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/0.6256, allocations: 109.3 kB / 0.5678 GB, free: 7.414 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003597/0.626, allocations: 154.8 kB / 0.568 GB, free: 7.297 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.6264, allocations: 92.45 kB / 0.5681 GB, free: 7.238 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.6264, allocations: 0 / 0.5681 GB, free: 7.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001118/0.6275, allocations: 381.8 kB / 0.5684 GB, free: 6.965 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.6276, allocations: 8 kB / 0.5684 GB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/0.6276, allocations: 12.03 kB / 0.5684 GB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006994/0.6283, allocations: 180.7 kB / 0.5686 GB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000423/0.6288, allocations: 51.91 kB / 0.5687 GB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/0.6298, allocations: 0.7201 MB / 0.5694 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005517/0.6304, allocations: 47.12 kB / 0.5694 GB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.326e-05/0.6304, allocations: 16.05 kB / 0.5694 GB, free: 6.035 MB / 378.7 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 ($PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode,bearingFriction1.free) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001739/0.6306, allocations: 125.2 kB / 0.5695 GB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.838e-05/0.6307, allocations: 23.78 kB / 0.5696 GB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.6322, allocations: 443.4 kB / 0.57 GB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.066e-06/0.6322, allocations: 0 / 0.57 GB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.6322, allocations: 4 kB / 0.57 GB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.6323, allocations: 3.984 kB / 0.57 GB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/0.6346, allocations: 0.9223 MB / 0.5709 GB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.6347, allocations: 4 kB / 0.5709 GB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004467/0.6351, allocations: 51.66 kB / 0.571 GB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005925/0.6357, allocations: 168.6 kB / 0.5711 GB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.688e-05/0.6358, allocations: 15.05 kB / 0.5711 GB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008618/0.6367, allocations: 0.6733 MB / 0.5718 GB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.6367, allocations: 4.062 kB / 0.5718 GB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.6384, allocations: 0.6134 MB / 0.5724 GB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002268/0.6386, allocations: 127.5 kB / 0.5725 GB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.2e-05/0.6387, allocations: 13.77 kB / 0.5725 GB, free: 3.293 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005078/0.6392, allocations: 51.89 kB / 0.5726 GB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/0.6394, allocations: 58.83 kB / 0.5726 GB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-05/0.6395, allocations: 15.05 kB / 0.5726 GB, free: 3.184 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001825/0.6397, allocations: 139.8 kB / 0.5728 GB, free: 3.062 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6397, allocations: 0 / 0.5728 GB, free: 3.062 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005413/0.6403, allocations: 78.19 kB / 0.5729 GB, free: 2.996 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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.0002812/0.6406, allocations: 129.2 kB / 0.573 GB, free: 2.867 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.6416, allocations: 317.3 kB / 0.5733 GB, free: 2.637 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.6416, allocations: 0 / 0.5733 GB, free: 2.637 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004895/0.6421, allocations: 154.4 kB / 0.5734 GB, free: 2.527 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004776/0.6426, allocations: 29.44 kB / 0.5735 GB, free: 2.508 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/0.6456, allocations: 0.6874 MB / 0.5741 GB, free: 1.844 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.6461, allocations: 0.7605 MB / 0.5749 GB, free: 1.055 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.6463, allocations: 34.55 kB / 0.5749 GB, free: 1.027 MB / 378.7 MB Notification: Performance of SimCode: time 1.183e-06/0.6463, allocations: 0 / 0.5749 GB, free: 1.027 MB / 378.7 MB Notification: Performance of Templates: time 0.01018/0.6565, allocations: 3.97 MB / 0.5788 GB, free: 13.09 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches