Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002189/0.002189, allocations: 210.8 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|wheel1.angles.1.|wheel1.angles.2.|wheel1.angles.3.|wheel1.der_angles.1.|wheel1.der_angles.2.|wheel1.der_angles.3.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|wheel1.angles.1.|wheel1.angles.2.|wheel1.angles.3.|wheel1.der_angles.1.|wheel1.der_angles.2.|wheel1.der_angles.3.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 51.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2215, allocations: 53.37 MB / 432.4 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008346/0.2299, allocations: 6.227 MB / 438.6 MB, free: 472 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005922/0.2358, allocations: 2.987 MB / 441.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006101/0.2364, allocations: 35.88 kB / 441.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001911/0.2383, allocations: 0.8795 MB / 442.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003021/0.2414, allocations: 1.386 MB / 443.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.2424, allocations: 0.5147 MB / 444.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003367/0.2458, allocations: 2.758 MB / 447.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.2472, allocations: 1.234 MB / 448.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.2483, allocations: 0.872 MB / 449.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002786/0.2511, allocations: 2.256 MB / 451.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003847/0.2515, allocations: 176 kB / 451.7 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00159/0.2531, allocations: 0.8775 MB / 452.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001107/0.2542, allocations: 1.141 MB / 453.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.2552, allocations: 0.9394 MB / 454.6 MB, free: 364 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004994/0.2602, allocations: 4.412 MB / 459 MB, free: 11.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.2602, allocations: 4 kB / 459 MB, free: 11.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2602, allocations: 3.938 kB / 459 MB, free: 11.92 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.364e-05/0.2603, allocations: 0 / 459 MB, free: 11.92 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.008161/0.2685, allocations: 3.345 MB / 462.4 MB, free: 8.531 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.2685, allocations: 8.031 kB / 462.4 MB, free: 8.523 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006097/0.2746, allocations: 1.672 MB / 464.1 MB, free: 6.848 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003732/0.2783, allocations: 1.445 MB / 465.5 MB, free: 5.371 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.2785, allocations: 123.2 kB / 465.6 MB, free: 5.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004061/0.2789, allocations: 171.8 kB / 465.8 MB, free: 5.082 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01022/0.2891, allocations: 6.629 MB / 472.4 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.636e-05/0.2892, allocations: 31.7 kB / 472.5 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002582/0.2894, allocations: 87.89 kB / 472.6 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002078/0.2915, allocations: 1.331 MB / 473.9 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01056/0.3021, allocations: 5.824 MB / 479.7 MB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03283/0.3349, allocations: 26.56 MB / 0.4944 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006116/0.341, allocations: 2.24 MB / 0.4966 GB, free: 8.949 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001648/0.3427, allocations: 1.216 MB / 0.4978 GB, free: 7.719 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005212/0.3432, allocations: 188.2 kB / 0.498 GB, free: 7.535 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.467e-05/0.3432, allocations: 54.92 kB / 0.498 GB, free: 7.473 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 4.037e-06/0.3432, allocations: 0 / 0.498 GB, free: 7.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07853/0.4218, allocations: 20.93 MB / 0.5184 GB, free: 2.484 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.4219, allocations: 171.3 kB / 0.5186 GB, free: 2.277 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003448/0.4253, allocations: 2.667 MB / 0.5212 GB, free: 15.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002833/0.4256, allocations: 45.7 kB / 0.5213 GB, free: 15.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00163/0.4272, allocations: 2.183 MB / 0.5234 GB, free: 13.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007333/0.428, allocations: 0.6512 MB / 0.524 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001472/0.4294, allocations: 1.008 MB / 0.525 GB, free: 11.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.4296, allocations: 353.9 kB / 0.5253 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00339/0.433, allocations: 2.231 MB / 0.5275 GB, free: 9.051 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005854/0.4388, allocations: 5.158 MB / 0.5326 GB, free: 2.438 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2042/0.6431, allocations: 7.966 MB / 0.5403 GB, free: 92.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.508e-05/0.6432, allocations: 29.75 kB / 0.5404 GB, free: 92.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02513/0.6683, allocations: 10.25 MB / 0.5504 GB, free: 89.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.867e-05/0.6684, allocations: 54 kB / 0.5504 GB, free: 89.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.221e-05/0.6684, allocations: 104.2 kB / 0.5505 GB, free: 89.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01137/0.6798, allocations: 3.426 MB / 0.5539 GB, free: 88.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003056/0.6828, allocations: 1.094 MB / 0.555 GB, free: 88.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01521/0.6981, allocations: 12.57 MB / 0.5672 GB, free: 75.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003373/0.7014, allocations: 333.5 kB / 0.5675 GB, free: 75.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003269/0.7018, allocations: 304 kB / 0.5678 GB, free: 75.04 MB / 446.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 (577): * Single equations (assignments): 566 * 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.00155/0.7033, allocations: 1.458 MB / 0.5693 GB, free: 73.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003677/0.7037, allocations: 243.5 kB / 0.5695 GB, free: 73.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01452/0.7182, allocations: 5.948 MB / 0.5753 GB, free: 67.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.395e-05/0.7182, allocations: 11.91 kB / 0.5753 GB, free: 67.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.7182, allocations: 0 / 0.5753 GB, free: 67.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004726/0.7187, allocations: 213.2 kB / 0.5755 GB, free: 67.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004311/0.7191, allocations: 36 kB / 0.5755 GB, free: 67.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/0.7206, allocations: 148.3 kB / 0.5757 GB, free: 67.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003302/0.721, allocations: 140.6 kB / 0.5758 GB, free: 67.16 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01004/0.731, allocations: 5.778 MB / 0.5815 GB, free: 61.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006049/0.7371, allocations: 5.914 MB / 0.5872 GB, free: 55.49 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001497/0.7385, allocations: 1.511 MB / 0.5887 GB, free: 53.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001606/0.7402, allocations: 1.508 MB / 0.5902 GB, free: 52.45 MB / 446.1 MB Notification: Performance of Backend: time 2.6e-07/0.7402, allocations: 0 / 0.5902 GB, free: 52.45 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/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 4.1.0+maint.om/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.008359/0.7485, allocations: 4.358 MB / 0.5944 GB, free: 48.12 MB / 446.1 MB Notification: Performance of SimCode: time 0.00757/0.7561, allocations: 6.84 MB / 0.6011 GB, free: 41.27 MB / 446.1 MB Notification: Performance of Templates: time 0.06278/0.8189, allocations: 49.58 MB / 0.6495 GB, free: 8.059 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 6.187566031003371]