Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001268, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001369/0.001369, allocations: 210.9 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 230.5 MB / 258.2 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 67.91 kB / 378.5 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2426, allocations: 53.41 MB / 431.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008263/0.2508, allocations: 6.186 MB / 438.1 MB, free: 272 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005501/0.2563, allocations: 2.971 MB / 441.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004118/0.2567, allocations: 39.81 kB / 441.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001845/0.2586, allocations: 0.8835 MB / 442 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002611/0.2612, allocations: 1.382 MB / 443.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008996/0.2621, allocations: 0.5225 MB / 443.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003568/0.2657, allocations: 2.754 MB / 446.7 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.267, allocations: 1.233 MB / 447.9 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009192/0.2679, allocations: 0.872 MB / 448.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002614/0.2705, allocations: 2.252 MB / 451 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003062/0.2708, allocations: 180 kB / 451.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.2722, allocations: 0.8775 MB / 452.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001077/0.2732, allocations: 1.141 MB / 453.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009022/0.2741, allocations: 0.9471 MB / 454.2 MB, free: 164 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004972/0.2791, allocations: 4.42 MB / 458.6 MB, free: 11.72 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.2791, allocations: 3.938 kB / 458.6 MB, free: 11.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2791, allocations: 0 / 458.6 MB, free: 11.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.685e-05/0.2792, allocations: 0 / 458.6 MB, free: 11.72 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 947 * Number of variables: 947 Notification: Performance of Generate backend data structure: time 0.009153/0.2884, allocations: 3.365 MB / 461.9 MB, free: 8.309 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.451e-05/0.2884, allocations: 12.03 kB / 462 MB, free: 8.297 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.907e-05/0.2885, allocations: 59.45 kB / 462 MB, free: 8.238 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006747/0.2892, allocations: 458.3 kB / 462.5 MB, free: 7.781 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006132/0.2953, allocations: 1.684 MB / 464.1 MB, free: 6.094 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003909/0.2992, allocations: 1.676 MB / 465.8 MB, free: 4.383 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.2993, allocations: 135.1 kB / 465.9 MB, free: 4.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003703/0.2997, allocations: 167.8 kB / 466.1 MB, free: 4.086 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009917/0.3096, allocations: 6.629 MB / 472.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.961e-05/0.3097, allocations: 31.7 kB / 472.8 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000259/0.31, allocations: 87.89 kB / 472.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002005/0.312, allocations: 1.327 MB / 474.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009986/0.3219, allocations: 5.843 MB / 480 MB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03172/0.3537, allocations: 27.03 MB / 0.4952 GB, free: 9.734 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005804/0.3595, allocations: 2.247 MB / 0.4974 GB, free: 7.445 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/0.3611, allocations: 1.228 MB / 0.4986 GB, free: 6.203 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004732/0.3616, allocations: 180.2 kB / 0.4987 GB, free: 6.027 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/0.3616, allocations: 50.98 kB / 0.4988 GB, free: 5.969 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 4.008e-06/0.3616, allocations: 0 / 0.4988 GB, free: 5.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.0726/0.4342, allocations: 20.96 MB / 0.5193 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.4343, allocations: 175.2 kB / 0.5194 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00404/0.4384, allocations: 2.804 MB / 0.5222 GB, free: 13.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002711/0.4386, allocations: 45.7 kB / 0.5222 GB, free: 13.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001765/0.4404, allocations: 2.159 MB / 0.5243 GB, free: 11.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008132/0.4412, allocations: 0.6666 MB / 0.525 GB, free: 11.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001475/0.4427, allocations: 1 MB / 0.5259 GB, free: 9.996 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.4428, allocations: 301.1 kB / 0.5262 GB, free: 9.699 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003427/0.4463, allocations: 2.223 MB / 0.5284 GB, free: 7.469 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00647/0.4527, allocations: 5.142 MB / 0.5334 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01061/0.4634, allocations: 7.955 MB / 0.5412 GB, free: 7.469 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.746e-05/0.4634, allocations: 28 kB / 0.5412 GB, free: 7.441 MB / 462.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.2027/0.6661, allocations: 10.24 MB / 0.5512 GB, free: 111.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.901e-05/0.6662, allocations: 53.52 kB / 0.5513 GB, free: 111.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000101/0.6663, allocations: 109.4 kB / 0.5514 GB, free: 111.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01092/0.6772, allocations: 3.426 MB / 0.5547 GB, free: 111.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002882/0.6801, allocations: 1.087 MB / 0.5558 GB, free: 111.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01467/0.6948, allocations: 12.62 MB / 0.5681 GB, free: 105.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003257/0.698, allocations: 336 kB / 0.5684 GB, free: 105.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003519/0.6984, allocations: 308 kB / 0.5687 GB, free: 105 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * Number of states: 0 () * Number of discrete variables: 15 (world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],wheel1.body.sphereColor[3],wheel1.body.sphereColor[2],wheel1.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (573): * Single equations (assignments): 562 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 6 systems {(2,100.0%), (2,100.0%), (2,100.0%), (3,88.9%), (3,88.9%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,23,80.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001604/0.7, allocations: 1.466 MB / 0.5702 GB, free: 103.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003964/0.7004, allocations: 259.1 kB / 0.5704 GB, free: 103.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01294/0.7133, allocations: 5.97 MB / 0.5762 GB, free: 97.58 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.206e-05/0.7134, allocations: 31.98 kB / 0.5763 GB, free: 97.55 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.719e-05/0.7134, allocations: 8 kB / 0.5763 GB, free: 97.54 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-05/0.7134, allocations: 3.984 kB / 0.5763 GB, free: 97.54 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02317/0.7366, allocations: 12.81 MB / 0.5888 GB, free: 84.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.979e-05/0.7366, allocations: 11.84 kB / 0.5888 GB, free: 84.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.7377, allocations: 227.7 kB / 0.589 GB, free: 84.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0109/0.7486, allocations: 4.008 MB / 0.5929 GB, free: 80.53 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002523/0.7488, allocations: 50.06 kB / 0.593 GB, free: 80.49 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01567/0.7645, allocations: 12.6 MB / 0.6053 GB, free: 67.83 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.7645, allocations: 4 kB / 0.6053 GB, free: 67.83 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0169/0.7814, allocations: 10.07 MB / 0.6151 GB, free: 57.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004721/0.7819, allocations: 241.9 kB / 0.6153 GB, free: 57.57 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003461/0.7822, allocations: 39.5 kB / 0.6154 GB, free: 57.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001522/0.7837, allocations: 187.7 kB / 0.6156 GB, free: 57.35 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003853/0.7841, allocations: 116.7 kB / 0.6157 GB, free: 57.24 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/0.7843, allocations: 51.97 kB / 0.6157 GB, free: 57.19 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001706/0.786, allocations: 1.734 MB / 0.6174 GB, free: 55.45 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.786, allocations: 4 kB / 0.6174 GB, free: 55.44 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003062/0.789, allocations: 0.805 MB / 0.6182 GB, free: 54.64 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (wheel1.x,wheel1.y,wheel1.angles[1],wheel1.angles[2],wheel1.angles[3],wheel1.der_angles[1],wheel1.der_angles[2],wheel1.der_angles[3]) * 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 (105): * Single equations (assignments): 94 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 6 systems {(2,100.0%), (2,100.0%), (3,88.9%), (2,100.0%), (3,88.9%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,19,80.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02127/0.8103, allocations: 10.72 MB / 0.6287 GB, free: 43.88 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72:writable] Warning: Variable $DER.wheel1.der_angles[2] has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72:writable] Warning: Variable $DER.wheel1.der_angles[1] has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.01183/0.8221, allocations: 5.565 MB / 0.6341 GB, free: 38.31 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/0.8221, allocations: 0 / 0.6341 GB, free: 38.31 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005941/0.8281, allocations: 2.271 MB / 0.6363 GB, free: 36.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002716/0.8308, allocations: 288.5 kB / 0.6366 GB, free: 35.74 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07603/0.9068, allocations: 42.38 MB / 0.678 GB, free: 5.078 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002218/0.909, allocations: 1.748 MB / 0.6797 GB, free: 3.297 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00314/0.9122, allocations: 1.499 MB / 0.6811 GB, free: 1.793 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001571/0.9138, allocations: 1.128 MB / 0.6823 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of SimCode: time 8.72e-07/0.9138, allocations: 0 / 0.6823 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6263/1.54, allocations: 66.06 MB / 0.7468 GB, free: 183.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.76/18.3, allocations: 4.219 kB / 0.7468 GB, free: 183.9 MB / 0.5294 GB " [Timeout remaining time 641] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.41917466907762]