Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001175/0.001175, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.001222/0.001222, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 241.8 MB, free: 15.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001053, allocations: 42.91 kB / 300.6 MB, free: 6.305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1036, allocations: 49.45 MB / 350.1 MB, free: 4.852 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003348/0.107, allocations: 2.171 MB / 352.2 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007968/0.1078, allocations: 0.5376 MB / 352.8 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.108, allocations: 4 kB / 352.8 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001399/0.1081, allocations: 27.78 kB / 352.8 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.222e-05/0.1082, allocations: 35.69 kB / 352.8 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.1084, allocations: 43.91 kB / 352.9 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.1086, allocations: 199.1 kB / 353.1 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.1088, allocations: 61.52 kB / 353.1 MB, free: 1.754 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.23e-05/0.1089, allocations: 71.67 kB / 353.2 MB, free: 1.684 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.109, allocations: 75.67 kB / 353.3 MB, free: 1.609 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.819e-05/0.109, allocations: 15.94 kB / 353.3 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.051e-05/0.1091, allocations: 12 kB / 353.3 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.556e-05/0.1091, allocations: 31.91 kB / 353.3 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.634e-05/0.1092, allocations: 83.55 kB / 353.4 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.1094, allocations: 159.9 kB / 353.6 MB, free: 1.312 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1094, allocations: 0 / 353.6 MB, free: 1.312 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1094, allocations: 8 kB / 353.6 MB, free: 1.305 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1094, allocations: 0 / 353.6 MB, free: 1.305 MB / 286.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.0007042/0.1101, allocations: 474.8 kB / 354 MB, free: 0.793 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1102, allocations: 12.03 kB / 354 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.392e-05/0.1102, allocations: 20.66 kB / 354.1 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.1105, allocations: 220 kB / 354.3 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1105, allocations: 12.38 kB / 354.3 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/0.1105, allocations: 20.38 kB / 354.3 MB, free: 488 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/0.1108, allocations: 157.7 kB / 354.5 MB, free: 324 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.1109, allocations: 3.906 kB / 354.5 MB, free: 320 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.1109, allocations: 8 kB / 354.5 MB, free: 312 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.1109, allocations: 7.938 kB / 354.5 MB, free: 304 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002307/0.1111, allocations: 99.94 kB / 354.6 MB, free: 204 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008734/0.112, allocations: 0.5927 MB / 355.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.1123, allocations: 118.6 kB / 355.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.1124, allocations: 44.84 kB / 355.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.1124, allocations: 4 kB / 355.3 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.1124, allocations: 30.56 kB / 355.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.1124, allocations: 0 / 355.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001517/0.114, allocations: 0.8003 MB / 356.2 MB, free: 14.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.114, allocations: 55.39 kB / 356.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.1142, allocations: 150.3 kB / 356.4 MB, free: 14.22 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.1142, allocations: 33.64 kB / 356.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.582e-05/0.1143, allocations: 132.3 kB / 356.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/0.1143, allocations: 70.98 kB / 356.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.537e-05/0.1144, allocations: 37.72 kB / 356.6 MB, free: 13.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1145, allocations: 326.8 kB / 357 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.1146, allocations: 47.97 kB / 357 MB, free: 13.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.1148, allocations: 71.41 kB / 357.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.115, allocations: 127.4 kB / 357.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.115, allocations: 0 / 357.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003781/0.1154, allocations: 217.6 kB / 357.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1154, allocations: 8 kB / 357.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1154, allocations: 0 / 357.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001731/0.1156, allocations: 40.89 kB / 357.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.1158, allocations: 35.92 kB / 357.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.117, allocations: 1.425 MB / 358.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.838e-05/0.1171, allocations: 8 kB / 358.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.1171, allocations: 4 kB / 358.9 MB, free: 11.46 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 (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.0001371/0.1173, allocations: 129.8 kB / 359.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.1173, allocations: 15.81 kB / 359.1 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.724e-05/0.1174, allocations: 21.17 kB / 359.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1174, allocations: 4 kB / 359.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1174, allocations: 4.062 kB / 359.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1174, allocations: 0 / 359.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008037/0.1182, allocations: 0.5877 MB / 359.7 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1182, allocations: 0 / 359.7 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.1184, allocations: 35.97 kB / 359.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000118/0.1185, allocations: 36.78 kB / 359.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.1185, allocations: 3.938 kB / 359.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.1196, allocations: 1.371 MB / 361.1 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.1196, allocations: 4 kB / 361.1 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005096/0.1201, allocations: 338.7 kB / 361.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.1202, allocations: 92.94 kB / 361.6 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.1202, allocations: 16.06 kB / 361.6 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.1203, allocations: 3.938 kB / 361.6 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.1204, allocations: 15.98 kB / 361.6 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.1204, allocations: 7.938 kB / 361.6 MB, free: 8.539 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.27e-05/0.1205, allocations: 120.1 kB / 361.7 MB, free: 8.422 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1205, allocations: 0 / 361.7 MB, free: 8.422 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003077/0.1208, allocations: 48 kB / 361.8 MB, free: 8.375 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 (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.0001367/0.121, allocations: 111.2 kB / 361.9 MB, free: 8.258 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004795/0.1214, allocations: 246.5 kB / 362.1 MB, free: 8.004 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1215, allocations: 0 / 362.1 MB, free: 8.004 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002619/0.1217, allocations: 190.6 kB / 362.3 MB, free: 7.805 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.1222, allocations: 16.12 kB / 362.3 MB, free: 7.789 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.1232, allocations: 0.6012 MB / 362.9 MB, free: 7.156 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.1235, allocations: 0.7284 MB / 363.6 MB, free: 6.402 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.776e-05/0.1236, allocations: 15.44 kB / 363.7 MB, free: 6.387 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1236, allocations: 4 kB / 363.7 MB, free: 6.383 MB / 302.1 MB Notification: Performance of Templates: time 0.004579/0.1282, allocations: 2.865 MB / 366.5 MB, free: 3.516 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches