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.001139/0.001139, allocations: 183 kB / 16.63 MB, free: 5.137 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.371/1.371, allocations: 205.1 MB / 222.5 MB, free: 8.477 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.001122/0.001122, allocations: 101.4 kB / 269.9 MB, free: 8.43 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.3893/0.3893, allocations: 43.49 MB / 360.7 MB, free: 51.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 47.92 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1174, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003948/0.1214, allocations: 2.29 MB / 489.3 MB, free: 10.24 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.1228, allocations: 0.7801 MB / 490.1 MB, free: 9.449 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002216/0.1231, allocations: 8 kB / 490.1 MB, free: 9.441 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.1234, allocations: 23.78 kB / 490.1 MB, free: 9.418 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.1237, allocations: 71.45 kB / 490.2 MB, free: 9.348 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005686/0.1243, allocations: 103.8 kB / 490.3 MB, free: 9.246 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004189/0.1247, allocations: 319.3 kB / 490.6 MB, free: 8.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.1249, allocations: 69.02 kB / 490.7 MB, free: 8.863 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002469/0.1252, allocations: 139.5 kB / 490.8 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.1255, allocations: 155.4 kB / 490.9 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.383e-05/0.1255, allocations: 16 kB / 491 MB, free: 8.559 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.1257, allocations: 63.95 kB / 491 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.1258, allocations: 51.81 kB / 491.1 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.1259, allocations: 123.4 kB / 491.2 MB, free: 8.324 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003682/0.1263, allocations: 323.2 kB / 491.5 MB, free: 8.008 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1263, allocations: 4 kB / 491.5 MB, free: 8.004 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1263, allocations: 0 / 491.5 MB, free: 8.004 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1263, allocations: 0 / 491.5 MB, free: 8.004 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.0009722/0.1273, allocations: 0.5575 MB / 492.1 MB, free: 7.398 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.1274, allocations: 8.031 kB / 492.1 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.815e-05/0.1274, allocations: 24.66 kB / 492.1 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.1277, allocations: 243.9 kB / 492.3 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.1278, allocations: 12.81 kB / 492.4 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/0.1278, allocations: 28.38 kB / 492.4 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004912/0.1283, allocations: 271.4 kB / 492.6 MB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.1284, allocations: 3.906 kB / 492.6 MB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.1284, allocations: 8 kB / 492.7 MB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1284, allocations: 8 kB / 492.7 MB, free: 6.758 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004534/0.1289, allocations: 233.6 kB / 492.9 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.1302, allocations: 0.7284 MB / 493.6 MB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005209/0.1307, allocations: 242.5 kB / 493.9 MB, free: 5.504 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.131, allocations: 136.8 kB / 494 MB, free: 5.367 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.131, allocations: 3.938 kB / 494 MB, free: 5.363 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.1311, allocations: 38.5 kB / 494 MB, free: 5.316 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 1.533e-06/0.1311, allocations: 0 / 494 MB, free: 5.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.002948/0.134, allocations: 1.461 MB / 495.5 MB, free: 3.746 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.1341, allocations: 55.41 kB / 495.5 MB, free: 3.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.1343, allocations: 198.6 kB / 495.7 MB, free: 3.473 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.1343, allocations: 33.7 kB / 495.8 MB, free: 3.434 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.766e-05/0.1344, allocations: 140.6 kB / 495.9 MB, free: 3.293 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.35e-05/0.1345, allocations: 110.4 kB / 496 MB, free: 3.184 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.1346, allocations: 69.69 kB / 496.1 MB, free: 3.109 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1348, allocations: 326.8 kB / 496.4 MB, free: 2.781 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/0.135, allocations: 131.7 kB / 496.5 MB, free: 2.652 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.1353, allocations: 167.2 kB / 496.7 MB, free: 2.477 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/0.1357, allocations: 263.1 kB / 497 MB, free: 2.207 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1357, allocations: 3.938 kB / 497 MB, free: 2.203 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007581/0.1365, allocations: 429.8 kB / 497.4 MB, free: 1.773 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1365, allocations: 8.062 kB / 497.4 MB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1365, allocations: 0 / 497.4 MB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005327/0.1371, allocations: 232.7 kB / 497.6 MB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.1373, allocations: 55.91 kB / 497.7 MB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007225/0.138, allocations: 0.7592 MB / 498.4 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.1383, allocations: 32.03 kB / 498.5 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.1383, allocations: 15.98 kB / 498.5 MB, free: 0.6484 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 (bearingFriction1.free,bearingFriction1.mode,$PRE.bearingFriction1.mode,bearingFriction1.locked,bearingFriction1.startBackward,$PRE.bearingFriction1.startBackward,bearingFriction1.startForward,$PRE.bearingFriction1.startForward) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001603/0.1385, allocations: 154.2 kB / 498.6 MB, free: 500 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.572e-05/0.1385, allocations: 23.72 kB / 498.6 MB, free: 476 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.773e-05/0.1386, allocations: 38.58 kB / 498.7 MB, free: 436 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.1386, allocations: 0 / 498.7 MB, free: 436 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1387, allocations: 4 kB / 498.7 MB, free: 432 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.1387, allocations: 3.984 kB / 498.7 MB, free: 428 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.1403, allocations: 0.9558 MB / 499.6 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.1403, allocations: 0 / 499.6 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.1405, allocations: 51.97 kB / 499.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003853/0.1409, allocations: 212.7 kB / 499.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/0.1409, allocations: 15.98 kB / 499.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006144/0.1416, allocations: 0.7122 MB / 0.4889 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1416, allocations: 0 / 0.4889 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007915/0.1495, allocations: 5.07 MB / 0.4939 GB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.1497, allocations: 120.9 kB / 0.494 GB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.247e-05/0.1497, allocations: 12 kB / 0.494 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.15, allocations: 35.95 kB / 0.494 GB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.1501, allocations: 43.92 kB / 0.4941 GB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.1501, allocations: 16.11 kB / 0.4941 GB, free: 8.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001251/0.1502, allocations: 148.2 kB / 0.4942 GB, free: 8.586 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1502, allocations: 3.938 kB / 0.4942 GB, free: 8.582 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005138/0.1508, allocations: 131.9 kB / 0.4943 GB, free: 8.453 MB / 394.7 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002699/0.151, allocations: 155.2 kB / 0.4945 GB, free: 8.293 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007303/0.1518, allocations: 315.8 kB / 0.4948 GB, free: 7.984 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1518, allocations: 8.062 kB / 0.4948 GB, free: 7.977 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000328/0.1521, allocations: 167.7 kB / 0.495 GB, free: 7.812 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.1525, allocations: 31.59 kB / 0.495 GB, free: 7.785 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.1547, allocations: 1.215 MB / 0.4962 GB, free: 6.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.1551, allocations: 0.7603 MB / 0.4969 GB, free: 5.734 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.965e-05/0.1552, allocations: 30.28 kB / 0.4969 GB, free: 5.703 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.992e-05/0.1552, allocations: 23.44 kB / 0.497 GB, free: 5.68 MB / 394.7 MB Notification: Performance of SimCode: time 4.11e-07/0.1552, allocations: 0 / 0.497 GB, free: 5.68 MB / 394.7 MB Notification: Performance of Templates: time 0.2054/0.3607, allocations: 6.379 MB / 0.5032 GB, free: 60.16 MB / 394.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@2/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