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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 97.53 kB / 15.69 MB, free: 488 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.001114/0.001114, allocations: 174 kB / 16.56 MB, free: 6.379 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.517/1.517, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.4065/0.4065, allocations: 43.54 MB / 314.5 MB, free: 8.781 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.0005317/0.000532, allocations: 18.97 kB / 383.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1394, allocations: 58.85 MB / 442.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.002645/0.1421, allocations: 1.798 MB / 444.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.1435, allocations: 0.7455 MB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002028/0.1437, allocations: 11.94 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.1439, allocations: 27.77 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.1441, allocations: 67.8 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.1446, allocations: 91.86 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003901/0.145, allocations: 216 kB / 445.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.1452, allocations: 68.62 kB / 445.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002572/0.1454, allocations: 123.6 kB / 445.9 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002478/0.1457, allocations: 139.5 kB / 446 MB, free: 9.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.563e-05/0.1458, allocations: 16 kB / 446 MB, free: 9.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.1459, allocations: 55.89 kB / 446.1 MB, free: 9.715 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.074e-05/0.146, allocations: 47.81 kB / 446.1 MB, free: 9.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.924e-05/0.1461, allocations: 61.64 kB / 446.2 MB, free: 9.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.1464, allocations: 243.6 kB / 446.4 MB, free: 9.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1464, allocations: 0 / 446.4 MB, free: 9.363 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1464, allocations: 0 / 446.4 MB, free: 9.363 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.1464, allocations: 0 / 446.4 MB, free: 9.363 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.0009391/0.1474, allocations: 0.5261 MB / 447 MB, free: 8.789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.1474, allocations: 12.03 kB / 447 MB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.899e-05/0.1475, allocations: 23.72 kB / 447 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.1478, allocations: 242.7 kB / 447.2 MB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.201e-05/0.1479, allocations: 16.44 kB / 447.2 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.135e-05/0.1479, allocations: 20 kB / 447.3 MB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000519/0.1485, allocations: 263.1 kB / 447.5 MB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.1485, allocations: 3.906 kB / 447.5 MB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.1485, allocations: 12 kB / 447.5 MB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.1485, allocations: 7.953 kB / 447.5 MB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004769/0.149, allocations: 241.6 kB / 447.8 MB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.1504, allocations: 0.748 MB / 448.5 MB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005362/0.151, allocations: 246.4 kB / 448.8 MB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.151, allocations: 4 kB / 448.8 MB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.151, allocations: 38.5 kB / 448.8 MB, free: 6.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.283e-06/0.151, allocations: 3.938 kB / 448.8 MB, free: 6.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.003058/0.1541, allocations: 1.5 MB / 450.3 MB, free: 5.207 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.1542, allocations: 63.34 kB / 450.4 MB, free: 5.133 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.1544, allocations: 190.6 kB / 450.6 MB, free: 4.934 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.1544, allocations: 33.7 kB / 450.6 MB, free: 4.895 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.96e-05/0.1546, allocations: 144.7 kB / 450.7 MB, free: 4.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.657e-05/0.1546, allocations: 106.5 kB / 450.8 MB, free: 4.645 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.786e-05/0.1547, allocations: 8 kB / 450.9 MB, free: 4.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1548, allocations: 334.8 kB / 451.2 MB, free: 4.301 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.1551, allocations: 127.9 kB / 451.3 MB, free: 4.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.1553, allocations: 171.1 kB / 451.5 MB, free: 3.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.1556, allocations: 115.8 kB / 451.6 MB, free: 3.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1556, allocations: 0 / 451.6 MB, free: 3.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008584/0.1564, allocations: 449.9 kB / 452 MB, free: 3.434 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.1565, allocations: 8 kB / 452 MB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/0.1565, allocations: 0 / 452 MB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005216/0.157, allocations: 244.7 kB / 452.3 MB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.1573, allocations: 51.91 kB / 452.3 MB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007354/0.158, allocations: 0.7475 MB / 453.1 MB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002732/0.1583, allocations: 56.05 kB / 453.1 MB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.726e-05/0.1583, allocations: 8 kB / 453.1 MB, free: 2.297 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.000169/0.1585, allocations: 146.1 kB / 453.3 MB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.1586, allocations: 23.72 kB / 453.3 MB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.7e-05/0.1587, allocations: 38.59 kB / 453.3 MB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1587, allocations: 11.94 kB / 453.3 MB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/0.1587, allocations: 3.953 kB / 453.4 MB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.1587, allocations: 3.984 kB / 453.4 MB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.1602, allocations: 0.9481 MB / 454.3 MB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.1603, allocations: 3.953 kB / 454.3 MB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.1605, allocations: 47.97 kB / 454.4 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003794/0.1609, allocations: 216.7 kB / 454.6 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.1609, allocations: 15.98 kB / 454.6 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000626/0.1615, allocations: 0.7084 MB / 455.3 MB, free: 32 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1616, allocations: 0 / 455.3 MB, free: 32 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2303/0.3918, allocations: 0.657 MB / 455.9 MB, free: 46.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.392, allocations: 124.7 kB / 456.1 MB, free: 46.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.595e-05/0.3921, allocations: 8.969 kB / 456.1 MB, free: 46.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.3924, allocations: 52.56 kB / 456.1 MB, free: 46.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.3925, allocations: 52.61 kB / 456.2 MB, free: 46.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.3925, allocations: 15.59 kB / 456.2 MB, free: 46.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.3926, allocations: 145.2 kB / 456.3 MB, free: 46.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3926, allocations: 0.75 kB / 456.3 MB, free: 46.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003905/0.393, allocations: 76.72 kB / 456.4 MB, free: 46.75 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.0001887/0.3932, allocations: 126.9 kB / 456.5 MB, free: 46.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006398/0.3939, allocations: 314.5 kB / 456.8 MB, free: 46.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3939, allocations: 3.938 kB / 456.8 MB, free: 46.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002888/0.3942, allocations: 169.1 kB / 457 MB, free: 46.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.3945, allocations: 23.5 kB / 457 MB, free: 46.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.3962, allocations: 0.9358 MB / 458 MB, free: 46.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.3964, allocations: 0.7621 MB / 458.7 MB, free: 45.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.461e-05/0.3965, allocations: 21.59 kB / 458.8 MB, free: 45.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.632e-05/0.3966, allocations: 22.73 kB / 458.8 MB, free: 45.59 MB / 382.1 MB Notification: Performance of SimCode: time 9.41e-07/0.3966, allocations: 0 / 458.8 MB, free: 45.59 MB / 382.1 MB Notification: Performance of Templates: time 0.007023/0.4036, allocations: 4.611 MB / 463.4 MB, free: 45.32 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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