Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.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.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel") translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008647/0.0008646, allocations: 95.81 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009214/0.0009215, allocations: 208.3 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 227.2 MB / 245.9 MB, free: 12.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002172/0.0002172, allocations: 11.98 kB / 306.6 MB, free: 1.645 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09785/0.0981, allocations: 51.49 MB / 358.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.001969/0.1001, allocations: 1.689 MB / 359.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008815/0.101, allocations: 0.5576 MB / 360.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.664e-05/0.1011, allocations: 11.94 kB / 360.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.335e-05/0.1012, allocations: 19.84 kB / 360.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.1013, allocations: 67.78 kB / 360.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.1015, allocations: 31.97 kB / 360.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.1017, allocations: 139.7 kB / 360.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.1019, allocations: 57.77 kB / 360.6 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.746e-05/0.102, allocations: 59.8 kB / 360.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.1021, allocations: 75.61 kB / 360.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.1021, allocations: 12 kB / 360.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.459e-05/0.1022, allocations: 8 kB / 360.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.988e-05/0.1022, allocations: 27.86 kB / 360.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.455e-05/0.1023, allocations: 57.64 kB / 360.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.1024, allocations: 151.8 kB / 361 MB, free: 11.17 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1024, allocations: 0 / 361 MB, free: 11.17 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1024, allocations: 0 / 361 MB, free: 11.17 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1025, allocations: 0 / 361 MB, free: 11.17 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006081/0.1031, allocations: 457.4 kB / 361.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1031, allocations: 8.031 kB / 361.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/0.1032, allocations: 27.7 kB / 361.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.1034, allocations: 218.7 kB / 361.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.1034, allocations: 12 kB / 361.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/0.1035, allocations: 19.95 kB / 361.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.1038, allocations: 153.4 kB / 361.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1038, allocations: 0 / 361.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.1038, allocations: 8 kB / 361.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1039, allocations: 7.938 kB / 361.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.1041, allocations: 103.9 kB / 362 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008624/0.105, allocations: 0.6041 MB / 362.6 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.1052, allocations: 114.6 kB / 362.7 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.1052, allocations: 0 / 362.7 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.1052, allocations: 38.56 kB / 362.8 MB, free: 9.254 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 9.52e-07/0.1052, allocations: 0 / 362.8 MB, free: 9.254 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001377/0.1066, allocations: 0.8014 MB / 363.6 MB, free: 8.359 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.1067, allocations: 55.31 kB / 363.6 MB, free: 8.293 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.1068, allocations: 168.6 kB / 363.8 MB, free: 8.121 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.1069, allocations: 29.7 kB / 363.8 MB, free: 8.086 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.782e-05/0.1069, allocations: 132.3 kB / 363.9 MB, free: 7.953 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.484e-05/0.107, allocations: 59.11 kB / 364 MB, free: 7.895 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.107, allocations: 0 / 364 MB, free: 7.895 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1071, allocations: 326.8 kB / 364.3 MB, free: 7.566 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.919e-05/0.1072, allocations: 44.34 kB / 364.4 MB, free: 7.523 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.1074, allocations: 83.34 kB / 364.4 MB, free: 7.434 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.1075, allocations: 62.17 kB / 364.5 MB, free: 7.375 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1075, allocations: 0 / 364.5 MB, free: 7.375 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003679/0.1079, allocations: 214.1 kB / 364.7 MB, free: 7.156 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.1079, allocations: 10.5 kB / 364.7 MB, free: 7.148 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1079, allocations: 0 / 364.7 MB, free: 7.148 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000173/0.1081, allocations: 40.83 kB / 364.8 MB, free: 7.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.1083, allocations: 31.92 kB / 364.8 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.1095, allocations: 1.441 MB / 366.2 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.279e-05/0.1096, allocations: 7.984 kB / 366.2 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.1096, allocations: 12 kB / 366.3 MB, free: 5.48 MB / 302.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.1097, allocations: 133.7 kB / 366.4 MB, free: 5.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.1097, allocations: 7.906 kB / 366.4 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.209e-05/0.1098, allocations: 25.17 kB / 366.4 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1098, allocations: 4 kB / 366.4 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.1098, allocations: 0 / 366.4 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1098, allocations: 0 / 366.4 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007634/0.1106, allocations: 0.5878 MB / 367 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1106, allocations: 3.984 kB / 367 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.1108, allocations: 31.92 kB / 367 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001119/0.1109, allocations: 36.84 kB / 367.1 MB, free: 4.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.1109, allocations: 4 kB / 367.1 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/0.1119, allocations: 1.386 MB / 368.5 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1119, allocations: 4.062 kB / 368.5 MB, free: 3.043 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004983/0.1124, allocations: 340.1 kB / 368.8 MB, free: 2.691 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.166e-05/0.1125, allocations: 88.95 kB / 368.9 MB, free: 2.586 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.1125, allocations: 4 kB / 368.9 MB, free: 2.582 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.583e-05/0.1126, allocations: 8.062 kB / 368.9 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.1127, allocations: 23.92 kB / 368.9 MB, free: 2.551 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.1127, allocations: 0 / 368.9 MB, free: 2.551 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.28e-05/0.1128, allocations: 123.4 kB / 369 MB, free: 2.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1128, allocations: 0 / 369 MB, free: 2.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.1131, allocations: 44 kB / 369.1 MB, free: 2.387 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * 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 (15): * Single equations (assignments): 14 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001025/0.1132, allocations: 99.25 kB / 369.2 MB, free: 2.281 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004463/0.1136, allocations: 260.8 kB / 369.4 MB, free: 2.016 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1137, allocations: 0 / 369.4 MB, free: 2.016 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.1139, allocations: 194.5 kB / 369.6 MB, free: 1.812 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.1142, allocations: 32.09 kB / 369.7 MB, free: 1.781 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009063/0.1151, allocations: 0.5815 MB / 370.2 MB, free: 1.172 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.1154, allocations: 0.7323 MB / 371 MB, free: 424 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.587e-05/0.1155, allocations: 21.53 kB / 371 MB, free: 400 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.1155, allocations: 15.44 kB / 371 MB, free: 384 kB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1155, allocations: 0 / 371 MB, free: 384 kB / 302.1 MB Notification: Performance of Templates: time 0.1549/0.2705, allocations: 1.639 MB / 372.7 MB, free: 18.92 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches