Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.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) 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(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 96.02 kB / 17.3 MB, free: 6.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 180.2 kB / 18.21 MB, free: 5.395 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.714/1.714, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.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.0005008/0.000501, allocations: 8 kB / 281.4 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1114, allocations: 47.58 MB / 329 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.00252/0.114, allocations: 1.812 MB / 330.8 MB, free: 1.953 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1153, allocations: 0.562 MB / 331.3 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.1154, allocations: 4 kB / 331.3 MB, free: 1.379 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.1156, allocations: 23.78 kB / 331.4 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.1157, allocations: 51.61 kB / 331.4 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.1159, allocations: 39.97 kB / 331.4 MB, free: 1.266 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.1162, allocations: 199 kB / 331.6 MB, free: 1.07 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.1164, allocations: 65.61 kB / 331.7 MB, free: 1.004 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.782e-05/0.1165, allocations: 55.8 kB / 331.8 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.1166, allocations: 75.61 kB / 331.8 MB, free: 0.875 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.1167, allocations: 15.94 kB / 331.8 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.937e-05/0.1167, allocations: 8 kB / 331.9 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.929e-05/0.1168, allocations: 27.86 kB / 331.9 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.1169, allocations: 105.3 kB / 332 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.1171, allocations: 203.5 kB / 332.2 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.1171, allocations: 0 / 332.2 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.1171, allocations: 0 / 332.2 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1171, allocations: 7.938 kB / 332.2 MB, free: 0.5078 MB / 270.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.0006608/0.1178, allocations: 442.7 kB / 332.6 MB, free: 28 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.1178, allocations: 8.031 kB / 332.6 MB, free: 20 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.26e-05/0.1179, allocations: 20.75 kB / 332.7 MB, free: 0 / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.1182, allocations: 227.2 kB / 332.9 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.1182, allocations: 16.31 kB / 332.9 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.132e-05/0.1183, allocations: 20.38 kB / 332.9 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003435/0.1186, allocations: 169.6 kB / 333.1 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.1186, allocations: 0 / 333.1 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.1187, allocations: 4 kB / 333.1 MB, free: 15.53 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1187, allocations: 4 kB / 333.1 MB, free: 15.53 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.1189, allocations: 111.7 kB / 333.2 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009181/0.1199, allocations: 0.5965 MB / 333.8 MB, free: 14.76 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.1201, allocations: 110.6 kB / 333.9 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.1202, allocations: 52.83 kB / 333.9 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.1203, allocations: 4.188 kB / 334 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.1203, allocations: 38.56 kB / 334 MB, free: 14.54 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.1203, allocations: 0 / 334 MB, free: 14.54 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001591/0.1219, allocations: 0.8063 MB / 334.8 MB, free: 13.64 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.1219, allocations: 51.41 kB / 334.8 MB, free: 13.58 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.1221, allocations: 162.2 kB / 335 MB, free: 13.41 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.1221, allocations: 29.7 kB / 335 MB, free: 13.38 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.936e-05/0.1222, allocations: 128.3 kB / 335.2 MB, free: 13.25 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.1223, allocations: 67.09 kB / 335.2 MB, free: 13.18 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.1223, allocations: 25.7 kB / 335.2 MB, free: 13.15 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1225, allocations: 322.8 kB / 335.6 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.1226, allocations: 55.91 kB / 335.6 MB, free: 12.77 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.1227, allocations: 79.34 kB / 335.7 MB, free: 12.68 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.123, allocations: 131.4 kB / 335.8 MB, free: 12.54 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.123, allocations: 0 / 335.8 MB, free: 12.54 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004449/0.1234, allocations: 210.1 kB / 336 MB, free: 12.32 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1234, allocations: 8 kB / 336 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1235, allocations: 0 / 336 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001956/0.1237, allocations: 48.83 kB / 336.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.1238, allocations: 31.98 kB / 336.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.1251, allocations: 1.425 MB / 337.5 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.442e-05/0.1252, allocations: 8.031 kB / 337.5 MB, free: 10.67 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.1253, allocations: 8 kB / 337.6 MB, free: 10.66 MB / 286.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 (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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001442/0.1254, allocations: 133.7 kB / 337.7 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.1255, allocations: 11.91 kB / 337.7 MB, free: 10.51 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.854e-05/0.1255, allocations: 25.23 kB / 337.7 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1255, allocations: 4 kB / 337.7 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1255, allocations: 192 / 337.7 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1255, allocations: 3.938 kB / 337.7 MB, free: 10.47 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008704/0.1264, allocations: 0.5955 MB / 338.3 MB, free: 9.812 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1264, allocations: 0 / 338.3 MB, free: 9.812 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.1266, allocations: 35.92 kB / 338.4 MB, free: 9.777 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001151/0.1267, allocations: 32.83 kB / 338.4 MB, free: 9.742 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.1267, allocations: 4 kB / 338.4 MB, free: 9.738 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.1278, allocations: 1.367 MB / 339.8 MB, free: 8.238 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1278, allocations: 0 / 339.8 MB, free: 8.238 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005067/0.1283, allocations: 351.1 kB / 340.1 MB, free: 7.879 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/0.1284, allocations: 85.05 kB / 340.2 MB, free: 7.777 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.1284, allocations: 11.92 kB / 340.2 MB, free: 7.766 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.905e-05/0.1285, allocations: 8 kB / 340.2 MB, free: 7.758 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.1286, allocations: 7.984 kB / 340.2 MB, free: 7.75 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.1286, allocations: 4 kB / 340.2 MB, free: 7.746 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.577e-05/0.1287, allocations: 123.3 kB / 340.3 MB, free: 7.625 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1287, allocations: 0 / 340.3 MB, free: 7.625 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000309/0.129, allocations: 44 kB / 340.4 MB, free: 7.582 MB / 286.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 (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.0001321/0.1291, allocations: 103.2 kB / 340.5 MB, free: 7.473 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005124/0.1297, allocations: 262.6 kB / 340.7 MB, free: 7.203 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1297, allocations: 3.938 kB / 340.7 MB, free: 7.199 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002517/0.1299, allocations: 194.5 kB / 340.9 MB, free: 6.996 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.1303, allocations: 23.98 kB / 341 MB, free: 6.973 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.1314, allocations: 0.6203 MB / 341.6 MB, free: 6.328 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.1318, allocations: 0.7361 MB / 342.3 MB, free: 5.566 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.154e-05/0.1319, allocations: 13.55 kB / 342.3 MB, free: 5.555 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.132, allocations: 15.44 kB / 342.3 MB, free: 5.539 MB / 286.1 MB Notification: Performance of SimCode: time 9.92e-07/0.132, allocations: 0 / 342.3 MB, free: 5.539 MB / 286.1 MB Notification: Performance of Templates: time 0.005073/0.137, allocations: 1.709 MB / 344.1 MB, free: 3.832 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches