Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001168/0.001168, allocations: 100.9 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001238/0.001238, allocations: 209.7 kB / 18.14 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 246.3 MB, free: 9.125 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 66.59 kB / 306.3 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1256, allocations: 50.53 MB / 356.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003299/0.129, allocations: 2.417 MB / 359.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.13, allocations: 0.6466 MB / 359.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.1301, allocations: 4 kB / 359.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.1303, allocations: 23.78 kB / 359.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.1304, allocations: 67.45 kB / 359.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.1306, allocations: 51.95 kB / 360 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.1308, allocations: 250.8 kB / 360.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.131, allocations: 88.08 kB / 360.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.1312, allocations: 87.66 kB / 360.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.1313, allocations: 107.5 kB / 360.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.91e-05/0.1314, allocations: 15.94 kB / 360.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.059e-05/0.1314, allocations: 16 kB / 360.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.852e-05/0.1315, allocations: 43.84 kB / 360.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.1316, allocations: 111.4 kB / 360.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.1318, allocations: 247.3 kB / 360.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1318, allocations: 0 / 360.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1319, allocations: 4 kB / 360.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1319, allocations: 0 / 360.9 MB, free: 10.11 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006712/0.1325, allocations: 0.5068 MB / 361.4 MB, free: 9.551 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.1326, allocations: 8.031 kB / 361.4 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.1327, allocations: 36.64 kB / 361.5 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.133, allocations: 236.6 kB / 361.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.133, allocations: 16.81 kB / 361.7 MB, free: 9.219 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.1331, allocations: 32.28 kB / 361.8 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/0.1334, allocations: 210.2 kB / 362 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.1335, allocations: 0 / 362 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.1335, allocations: 8 kB / 362 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.1335, allocations: 4 kB / 362 MB, free: 8.957 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002632/0.1338, allocations: 133.5 kB / 362.1 MB, free: 8.828 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009759/0.1347, allocations: 0.7015 MB / 362.8 MB, free: 8.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.135, allocations: 160.6 kB / 363 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.1352, allocations: 80.75 kB / 363 MB, free: 7.828 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.1352, allocations: 3.984 kB / 363.1 MB, free: 7.824 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.1352, allocations: 34.56 kB / 363.1 MB, free: 7.781 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.353e-06/0.1352, allocations: 0 / 363.1 MB, free: 7.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001525/0.1368, allocations: 0.8834 MB / 364 MB, free: 6.805 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.1368, allocations: 55.41 kB / 364 MB, free: 6.738 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.137, allocations: 172.3 kB / 364.2 MB, free: 6.559 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.137, allocations: 33.7 kB / 364.2 MB, free: 6.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.719e-05/0.1371, allocations: 144.3 kB / 364.4 MB, free: 6.375 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/0.1372, allocations: 90.66 kB / 364.5 MB, free: 6.285 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-05/0.1372, allocations: 45.7 kB / 364.5 MB, free: 6.234 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1374, allocations: 326.8 kB / 364.8 MB, free: 5.906 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.1375, allocations: 55.97 kB / 364.9 MB, free: 5.852 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.1376, allocations: 100.2 kB / 365 MB, free: 5.738 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.1379, allocations: 169.9 kB / 365.1 MB, free: 5.559 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1379, allocations: 0 / 365.1 MB, free: 5.559 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004296/0.1384, allocations: 254 kB / 365.4 MB, free: 5.301 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1384, allocations: 8 kB / 365.4 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1384, allocations: 0 / 365.4 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001562/0.1386, allocations: 36.83 kB / 365.4 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.1388, allocations: 47.92 kB / 365.5 MB, free: 5.207 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.14, allocations: 1.374 MB / 366.8 MB, free: 3.695 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.1401, allocations: 12 kB / 366.9 MB, free: 3.684 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.1401, allocations: 11.94 kB / 366.9 MB, free: 3.672 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.1402, allocations: 145.8 kB / 367 MB, free: 3.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/0.1403, allocations: 19.72 kB / 367 MB, free: 3.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.614e-05/0.1403, allocations: 26.02 kB / 367.1 MB, free: 3.477 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1404, allocations: 7.984 kB / 367.1 MB, free: 3.469 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1404, allocations: 0 / 367.1 MB, free: 3.469 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1404, allocations: 3.984 kB / 367.1 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008996/0.1413, allocations: 0.6519 MB / 367.7 MB, free: 2.742 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1413, allocations: 0 / 367.7 MB, free: 2.742 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.1415, allocations: 43.92 kB / 367.8 MB, free: 2.699 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001189/0.1416, allocations: 36.83 kB / 367.8 MB, free: 2.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.1417, allocations: 8.062 kB / 367.8 MB, free: 2.652 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.1428, allocations: 1.374 MB / 369.2 MB, free: 1.148 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.1428, allocations: 3.938 kB / 369.2 MB, free: 1.145 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005414/0.1433, allocations: 409.5 kB / 369.6 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.785e-05/0.1434, allocations: 88.92 kB / 369.7 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.1434, allocations: 7.938 kB / 369.7 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.1435, allocations: 12.03 kB / 369.7 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/0.1436, allocations: 15.98 kB / 369.7 MB, free: 0.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.1436, allocations: 11.98 kB / 369.7 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.251e-05/0.1437, allocations: 129.2 kB / 369.8 MB, free: 456 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1437, allocations: 0 / 369.8 MB, free: 456 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003214/0.1441, allocations: 56 kB / 369.9 MB, free: 400 kB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000112/0.1442, allocations: 107.7 kB / 370 MB, free: 280 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.16/0.3041, allocations: 287.5 kB / 370.3 MB, free: 20.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.3042, allocations: 0 / 370.3 MB, free: 20.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004007/0.3046, allocations: 219 kB / 370.5 MB, free: 20.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005678/0.3052, allocations: 39.81 kB / 370.5 MB, free: 20.51 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.3064, allocations: 0.7736 MB / 371.3 MB, free: 20.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.3066, allocations: 0.7476 MB / 372.1 MB, free: 19.39 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.199e-05/0.3067, allocations: 21.98 kB / 372.1 MB, free: 19.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.3067, allocations: 18.94 kB / 372.1 MB, free: 19.39 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3067, allocations: 0.6562 kB / 372.1 MB, free: 19.39 MB / 302.1 MB Notification: Performance of Templates: time 0.00571/0.3124, allocations: 2.256 MB / 374.4 MB, free: 19.24 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches