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/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_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_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.001032/0.001032, allocations: 176.1 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.83/1.83, allocations: 205.3 MB / 213.7 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008217/0.0008214, allocations: 86.61 kB / 261.7 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2855/0.2855, allocations: 43.49 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.016e-05/2.018e-05, allocations: 0 / 418.3 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1336, allocations: 58.86 MB / 477.1 MB, free: 1.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4467/0.5803, allocations: 87.54 MB / 0.5514 GB, free: 7.555 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.5806, allocations: 73.05 kB / 0.5515 GB, free: 7.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01201/0.5926, allocations: 4.489 MB / 0.5559 GB, free: 3.832 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5927, allocations: 0 / 0.5559 GB, free: 3.832 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.912e-05/0.5928, allocations: 4 kB / 0.5559 GB, free: 3.828 MB / 362.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.0007589/0.5935, allocations: 0.496 MB / 0.5564 GB, free: 3.301 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.5936, allocations: 8.031 kB / 0.5564 GB, free: 3.293 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.811e-05/0.5936, allocations: 31.66 kB / 0.5564 GB, free: 3.262 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.5939, allocations: 248.5 kB / 0.5566 GB, free: 3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.5939, allocations: 7.938 kB / 0.5566 GB, free: 2.992 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.513e-05/0.594, allocations: 16 kB / 0.5567 GB, free: 2.977 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003046/0.5943, allocations: 181.1 kB / 0.5568 GB, free: 2.863 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.5946, allocations: 209.9 kB / 0.557 GB, free: 2.707 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.5947, allocations: 7.906 kB / 0.557 GB, free: 2.699 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.5947, allocations: 3.984 kB / 0.557 GB, free: 2.695 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.954e-06/0.5947, allocations: 4 kB / 0.557 GB, free: 2.691 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.5958, allocations: 0.6523 MB / 0.5577 GB, free: 2.121 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.5961, allocations: 191.8 kB / 0.5579 GB, free: 1.992 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.5963, allocations: 125 kB / 0.558 GB, free: 1.914 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.376e-05/0.5963, allocations: 11.36 kB / 0.558 GB, free: 1.906 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.5964, allocations: 42.73 kB / 0.558 GB, free: 1.855 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.473e-06/0.5964, allocations: 0 / 0.558 GB, free: 1.855 MB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.002134/0.5985, allocations: 1.106 MB / 0.5591 GB, free: 0.8359 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.5985, allocations: 55.41 kB / 0.5592 GB, free: 0.7695 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.5987, allocations: 140.4 kB / 0.5593 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.5987, allocations: 28.58 kB / 0.5593 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.059e-05/0.5988, allocations: 133.9 kB / 0.5595 GB, free: 500 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.67e-05/0.5988, allocations: 107.9 kB / 0.5596 GB, free: 404 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-05/0.5989, allocations: 0 / 0.5596 GB, free: 404 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.494e-05/0.599, allocations: 332.8 kB / 0.5599 GB, free: 72 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.5991, allocations: 104.5 kB / 0.56 GB, free: 8 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.5993, allocations: 140.9 kB / 0.5601 GB, free: 15.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.5996, allocations: 106.6 kB / 0.5602 GB, free: 15.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5996, allocations: 0 / 0.5602 GB, free: 15.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006521/0.6003, allocations: 366.4 kB / 0.5606 GB, free: 15.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.6003, allocations: 7.984 kB / 0.5606 GB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.6003, allocations: 7.984 kB / 0.5606 GB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004031/0.6007, allocations: 178 kB / 0.5608 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.601, allocations: 51.91 kB / 0.5608 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007743/0.6018, allocations: 0.7319 MB / 0.5615 GB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.602, allocations: 48.05 kB / 0.5616 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.959e-05/0.6021, allocations: 11.88 kB / 0.5616 GB, free: 14.63 MB / 378.7 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.0001947/0.6023, allocations: 120.8 kB / 0.5617 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.6023, allocations: 23.72 kB / 0.5617 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008489/0.6032, allocations: 407.1 kB / 0.5621 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.6032, allocations: 4 kB / 0.5621 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.6032, allocations: 0 / 0.5621 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.6032, allocations: 0 / 0.5621 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.6046, allocations: 0.8506 MB / 0.5629 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.6047, allocations: 0 / 0.5629 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.6049, allocations: 55.97 kB / 0.563 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003311/0.6053, allocations: 163.2 kB / 0.5631 GB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/0.6053, allocations: 7.984 kB / 0.5632 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006831/0.606, allocations: 0.69 MB / 0.5638 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.497e-06/0.606, allocations: 12.02 kB / 0.5638 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009492/0.607, allocations: 0.5965 MB / 0.5644 GB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.6071, allocations: 124.3 kB / 0.5645 GB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.977e-05/0.6072, allocations: 11.62 kB / 0.5645 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.6074, allocations: 44.02 kB / 0.5646 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.6076, allocations: 59.34 kB / 0.5646 GB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.019e-05/0.6076, allocations: 11.98 kB / 0.5647 GB, free: 11.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001104/0.6077, allocations: 115 kB / 0.5648 GB, free: 11.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6078, allocations: 0 / 0.5648 GB, free: 11.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000424/0.6082, allocations: 64 kB / 0.5648 GB, free: 11.7 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.00023/0.6084, allocations: 132 kB / 0.565 GB, free: 11.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000563/0.609, allocations: 293.8 kB / 0.5652 GB, free: 11.35 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.609, allocations: 96 / 0.5652 GB, free: 11.35 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.6093, allocations: 151.2 kB / 0.5654 GB, free: 11.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.6096, allocations: 19.23 kB / 0.5654 GB, free: 11.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.6115, allocations: 0.6622 MB / 0.566 GB, free: 10.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.6119, allocations: 0.7525 MB / 0.5668 GB, free: 9.812 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.034e-05/0.612, allocations: 18.08 kB / 0.5668 GB, free: 9.797 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.805e-05/0.612, allocations: 26.73 kB / 0.5668 GB, free: 9.773 MB / 378.7 MB Notification: Performance of SimCode: time 3.227e-06/0.612, allocations: 0 / 0.5668 GB, free: 9.773 MB / 378.7 MB Notification: Performance of Templates: time 0.008474/0.6205, allocations: 4.126 MB / 0.5709 GB, free: 5.672 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins/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_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches