Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.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.001779/0.001779, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002081/0.002081, allocations: 210.2 kB / 23.73 MB, free: 4.406 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.493/1.493, allocations: 230.5 MB / 257.4 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2427/0.2427, allocations: 46.95 MB / 360.8 MB, free: 3.941 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002421/0.002421, allocations: 79.88 kB / 0.4966 GB, free: 7.055 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3969, allocations: 66.08 MB / 0.5612 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01599/0.4129, allocations: 11.79 MB / 0.5727 GB, free: 8.145 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.423, allocations: 3.984 MB / 0.5766 GB, free: 4.148 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00273/0.4257, allocations: 75.75 kB / 0.5767 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004304/0.43, allocations: 1.787 MB / 0.5784 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006432/0.4365, allocations: 1.88 MB / 0.5802 GB, free: 404 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002419/0.4389, allocations: 0.5419 MB / 0.5808 GB, free: 15.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006844/0.4457, allocations: 3.887 MB / 0.5846 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003732/0.4495, allocations: 2.273 MB / 0.5868 GB, free: 9.633 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002782/0.4522, allocations: 1.398 MB / 0.5881 GB, free: 8.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003576/0.4558, allocations: 2.028 MB / 0.5901 GB, free: 6.195 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009504/0.4568, allocations: 292 kB / 0.5904 GB, free: 5.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002409/0.4592, allocations: 0.8971 MB / 0.5913 GB, free: 5.012 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002082/0.4612, allocations: 1.784 MB / 0.593 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002545/0.4638, allocations: 1.51 MB / 0.5945 GB, free: 1.703 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009966/0.4738, allocations: 6.94 MB / 0.6013 GB, free: 10.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.4738, allocations: 4 kB / 0.6013 GB, free: 10.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4738, allocations: 0 / 0.6013 GB, free: 10.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002622/0.474, allocations: 0 / 0.6013 GB, free: 10.73 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01246/0.4865, allocations: 4.573 MB / 0.6057 GB, free: 6.102 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.4865, allocations: 8.031 kB / 0.6057 GB, free: 6.094 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0109/0.4974, allocations: 3.141 MB / 0.6088 GB, free: 2.945 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006665/0.5041, allocations: 2.084 MB / 0.6109 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002233/0.5043, allocations: 221.8 kB / 0.6111 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001228/0.5056, allocations: 287.7 kB / 0.6113 GB, free: 336 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01995/0.5255, allocations: 11.11 MB / 0.6222 GB, free: 4.746 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001482/0.5257, allocations: 27.77 kB / 0.6222 GB, free: 4.719 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004369/0.5261, allocations: 143.8 kB / 0.6224 GB, free: 4.578 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004885/0.531, allocations: 2.62 MB / 0.6249 GB, free: 1.953 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02456/0.5555, allocations: 10.35 MB / 0.635 GB, free: 7.59 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06478/0.6203, allocations: 33.53 MB / 0.6678 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009778/0.6301, allocations: 3.473 MB / 0.6712 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00398/0.6341, allocations: 2.221 MB / 0.6733 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/0.6352, allocations: 445.2 kB / 0.6737 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.477e-05/0.6352, allocations: 48.56 kB / 0.6738 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 6.042e-06/0.6352, allocations: 0 / 0.6738 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.04571/0.6809, allocations: 17.47 MB / 0.6909 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.867e-05/0.681, allocations: 81.34 kB / 0.6909 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004961/0.686, allocations: 2.687 MB / 0.6936 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004337/0.6864, allocations: 57.7 kB / 0.6936 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002752/0.6892, allocations: 2.905 MB / 0.6964 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001372/0.6905, allocations: 0.9571 MB / 0.6974 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002115/0.6926, allocations: 1.08 MB / 0.6984 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.6928, allocations: 301.1 kB / 0.6987 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004042/0.6968, allocations: 2.314 MB / 0.701 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007196/0.704, allocations: 5.225 MB / 0.7061 GB, free: 12.38 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01194/0.716, allocations: 8.273 MB / 0.7142 GB, free: 2.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001271/0.7161, allocations: 28 kB / 0.7142 GB, free: 2.652 MB / 0.545 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01682/0.7329, allocations: 8.284 MB / 0.7223 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.733, allocations: 48 kB / 0.7223 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001931/0.7332, allocations: 104 kB / 0.7224 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002959/0.7362, allocations: 0.9409 MB / 0.7233 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004372/0.7406, allocations: 1.228 MB / 0.7245 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007528/0.7481, allocations: 4.967 MB / 0.7294 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003455/0.7516, allocations: 295.8 kB / 0.7297 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008465/0.7524, allocations: 308 kB / 0.73 GB, free: 2.375 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 35 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (657): * Single equations (assignments): 650 * Array equations: 6 * 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 {(4,10,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004265/0.7567, allocations: 2.15 MB / 0.7321 GB, free: 220 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3563/1.113, allocations: 274 kB / 0.7323 GB, free: 154 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01049/1.123, allocations: 5.108 MB / 0.7373 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.492e-05/1.124, allocations: 46.92 kB / 0.7374 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/1.124, allocations: 5.188 kB / 0.7374 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.613e-05/1.124, allocations: 12.3 kB / 0.7374 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01738/1.141, allocations: 10.38 MB / 0.7475 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.632e-05/1.141, allocations: 11.75 kB / 0.7475 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/1.142, allocations: 397.3 kB / 0.7479 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002147/1.145, allocations: 0.7863 MB / 0.7487 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001644/1.145, allocations: 55.67 kB / 0.7487 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004491/1.149, allocations: 4.218 MB / 0.7528 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/1.149, allocations: 11.94 kB / 0.7529 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008723/1.158, allocations: 7.607 MB / 0.7603 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007919/1.159, allocations: 247.7 kB / 0.7605 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003078/1.159, allocations: 46.84 kB / 0.7606 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/1.16, allocations: 143.8 kB / 0.7607 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003039/1.161, allocations: 168.7 kB / 0.7609 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/1.161, allocations: 71.91 kB / 0.7609 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00206/1.163, allocations: 1.522 MB / 0.7624 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.163, allocations: 0 / 0.7624 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004394/1.167, allocations: 0.9592 MB / 0.7634 GB, free: 134.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.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 (196): * Single equations (assignments): 189 * Array equations: 6 * 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 {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004683/1.168, allocations: 189 kB / 0.7635 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006709/1.174, allocations: 5.438 MB / 0.7688 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/1.174, allocations: 0 / 0.7688 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002117/1.176, allocations: 2.002 MB / 0.7708 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/1.178, allocations: 310.6 kB / 0.7711 GB, free: 127 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/1.194, allocations: 10.35 MB / 0.7812 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002879/1.197, allocations: 2.831 MB / 0.784 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003658/1.2, allocations: 1.965 MB / 0.7859 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006243/1.201, allocations: 199.4 kB / 0.7861 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.603e-06/1.201, allocations: 0 / 0.7861 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.0491/1.25, allocations: 30.63 MB / 0.816 GB, free: 81.18 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.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: 7.308207785710692]