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.002185/0.002185, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.396/2.396, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 87.33 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2903/0.2903, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.304e-05/2.306e-05, allocations: 4.219 kB / 418.2 MB, free: 41.06 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4021, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1669/0.569, allocations: 87.55 MB / 0.5514 GB, free: 11.77 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.5694, allocations: 67.95 kB / 0.5515 GB, free: 11.71 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02174/0.5911, allocations: 4.492 MB / 0.5558 GB, free: 7.203 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5912, allocations: 0 / 0.5558 GB, free: 7.203 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.186e-05/0.5912, allocations: 4 kB / 0.5559 GB, free: 7.199 MB / 395.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.001233/0.5925, allocations: 0.5022 MB / 0.5563 GB, free: 6.652 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.5925, allocations: 8.031 kB / 0.5564 GB, free: 6.645 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.783e-05/0.5927, allocations: 27.67 kB / 0.5564 GB, free: 6.617 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.5931, allocations: 245.9 kB / 0.5566 GB, free: 6.34 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/0.5931, allocations: 8 kB / 0.5566 GB, free: 6.332 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.35e-05/0.5932, allocations: 16 kB / 0.5566 GB, free: 6.316 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005965/0.5938, allocations: 184.8 kB / 0.5568 GB, free: 6.137 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005918/0.5944, allocations: 210.4 kB / 0.557 GB, free: 5.926 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.5945, allocations: 7.906 kB / 0.557 GB, free: 5.918 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.93e-05/0.5945, allocations: 0 / 0.557 GB, free: 5.918 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.5946, allocations: 4 kB / 0.557 GB, free: 5.914 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002022/0.5966, allocations: 0.6544 MB / 0.5577 GB, free: 5.219 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000586/0.5972, allocations: 199 kB / 0.5579 GB, free: 5.016 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003365/0.5976, allocations: 129.3 kB / 0.558 GB, free: 4.887 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.635e-05/0.5976, allocations: 4.234 kB / 0.558 GB, free: 4.883 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.5977, allocations: 34.75 kB / 0.558 GB, free: 4.84 MB / 395.1 MB Notification: Performance of pre-optimization done (n=27): time 3.227e-06/0.5977, allocations: 0 / 0.558 GB, free: 4.84 MB / 395.1 MB Notification: Performance of matching and sorting (n=35): time 0.003662/0.6014, allocations: 1.105 MB / 0.5591 GB, free: 3.637 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.6015, allocations: 55.41 kB / 0.5591 GB, free: 3.57 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.6017, allocations: 132.9 kB / 0.5593 GB, free: 3.434 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 5.881e-05/0.6018, allocations: 33.64 kB / 0.5593 GB, free: 3.395 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.6019, allocations: 199.3 kB / 0.5595 GB, free: 3.199 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.6021, allocations: 110.5 kB / 0.5596 GB, free: 3.09 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.6021, allocations: 0 / 0.5596 GB, free: 3.09 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.6023, allocations: 326.8 kB / 0.5599 GB, free: 2.762 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/0.6026, allocations: 103.8 kB / 0.56 GB, free: 2.66 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/0.6029, allocations: 139.1 kB / 0.5601 GB, free: 2.512 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/0.6033, allocations: 99.77 kB / 0.5602 GB, free: 2.414 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.6033, allocations: 7.938 kB / 0.5602 GB, free: 2.406 MB / 395.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001135/0.6045, allocations: 358.2 kB / 0.5606 GB, free: 2.047 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.6045, allocations: 8 kB / 0.5606 GB, free: 2.039 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.6046, allocations: 0 / 0.5606 GB, free: 2.039 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007226/0.6053, allocations: 189.5 kB / 0.5608 GB, free: 1.852 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004152/0.6057, allocations: 55.91 kB / 0.5608 GB, free: 1.797 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.6069, allocations: 0.7397 MB / 0.5616 GB, free: 1.031 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004803/0.6074, allocations: 44.02 kB / 0.5616 GB, free: 0.9883 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.913e-05/0.6075, allocations: 12 kB / 0.5616 GB, free: 0.9766 MB / 395.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: bearingFriction1.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real 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.0002187/0.6077, allocations: 112.9 kB / 0.5617 GB, free: 0.8594 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.876e-05/0.6078, allocations: 23.72 kB / 0.5617 GB, free: 0.8359 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/0.6092, allocations: 401.4 kB / 0.5621 GB, free: 444 kB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.6093, allocations: 4 kB / 0.5621 GB, free: 440 kB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.6093, allocations: 4 kB / 0.5621 GB, free: 436 kB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.6093, allocations: 0 / 0.5621 GB, free: 436 kB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002614/0.6119, allocations: 0.8557 MB / 0.563 GB, free: 15.51 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.612, allocations: 4 kB / 0.563 GB, free: 15.5 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004682/0.6125, allocations: 51.91 kB / 0.563 GB, free: 15.45 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000604/0.6131, allocations: 164.7 kB / 0.5632 GB, free: 15.29 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.753e-05/0.6132, allocations: 11.97 kB / 0.5632 GB, free: 15.28 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/0.6142, allocations: 0.685 MB / 0.5639 GB, free: 14.57 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.6142, allocations: 0 / 0.5639 GB, free: 14.57 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.6158, allocations: 0.6068 MB / 0.5644 GB, free: 13.92 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.6161, allocations: 120.9 kB / 0.5646 GB, free: 13.79 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.724e-05/0.6162, allocations: 4.094 kB / 0.5646 GB, free: 13.78 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004788/0.6166, allocations: 55.89 kB / 0.5646 GB, free: 13.73 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.6169, allocations: 55.91 kB / 0.5647 GB, free: 13.67 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.58e-05/0.6169, allocations: 19.98 kB / 0.5647 GB, free: 13.65 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.6171, allocations: 119.3 kB / 0.5648 GB, free: 13.54 MB / 411.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6171, allocations: 0 / 0.5648 GB, free: 13.54 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005383/0.6177, allocations: 68 kB / 0.5649 GB, free: 13.47 MB / 411.1 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.0002835/0.618, allocations: 131.1 kB / 0.565 GB, free: 13.33 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0009289/0.6189, allocations: 293.4 kB / 0.5653 GB, free: 13.04 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6189, allocations: 0 / 0.5653 GB, free: 13.04 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004355/0.6194, allocations: 140.1 kB / 0.5654 GB, free: 12.9 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.6198, allocations: 23.98 kB / 0.5654 GB, free: 12.88 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/0.6228, allocations: 0.6923 MB / 0.5661 GB, free: 12.15 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.6232, allocations: 0.7564 MB / 0.5668 GB, free: 11.37 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.6233, allocations: 19.44 kB / 0.5669 GB, free: 11.35 MB / 411.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6233, allocations: 0 / 0.5669 GB, free: 11.35 MB / 411.1 MB Notification: Performance of Templates: time 0.009711/0.6331, allocations: 3.889 MB / 0.5707 GB, free: 7.465 MB / 411.1 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