Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.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.001027/0.001027, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 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.002162/0.002162, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.045/1.045, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2551/0.2551, allocations: 32.81 MB / 294.3 MB, free: 1.273 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.MultiBody.Joints.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|sphericalSpherical.frame_b.r_0.[0-9,]+.|sphericalSpherical.frame_b.f.[0-9,]+.|sphericalSpherical.frame_b.t.[0-9,]+.|Prismatic1.frame_b.r_0.[0-9,]+.|Prismatic1.frame_b.f.[0-9,]+.|Prismatic1.frame_b.t.[0-9,]+.|Fixed1.frame_b.r_0.[0-9,]+.|Fixed1.frame_b.f.[0-9,]+.|Fixed1.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical") translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|sphericalSpherical.frame_b.r_0.[0-9,]+.|sphericalSpherical.frame_b.f.[0-9,]+.|sphericalSpherical.frame_b.t.[0-9,]+.|Prismatic1.frame_b.r_0.[0-9,]+.|Prismatic1.frame_b.f.[0-9,]+.|Prismatic1.frame_b.t.[0-9,]+.|Fixed1.frame_b.r_0.[0-9,]+.|Fixed1.frame_b.f.[0-9,]+.|Fixed1.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.751e-05, allocations: 6.25 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.00647/0.006498, allocations: 7.372 MB / 383.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004545/0.01104, allocations: 2.542 MB / 385.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007182/0.01176, allocations: 35.88 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.01306, allocations: 0.9499 MB / 386.9 MB, free: 9.703 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005898/0.01365, allocations: 333.9 kB / 387.3 MB, free: 9.375 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006353/0.01428, allocations: 358.9 kB / 387.6 MB, free: 9.023 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000721/0.015, allocations: 0.7434 MB / 388.4 MB, free: 8.277 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006847/0.01569, allocations: 0.6735 MB / 389 MB, free: 7.594 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00051/0.0162, allocations: 0.5104 MB / 389.5 MB, free: 7.082 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007727/0.01697, allocations: 0.6235 MB / 390.2 MB, free: 6.457 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.01715, allocations: 108 kB / 390.3 MB, free: 6.352 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006241/0.01778, allocations: 0.5146 MB / 390.8 MB, free: 5.836 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003679/0.01814, allocations: 0.5182 MB / 391.3 MB, free: 5.316 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003157/0.01846, allocations: 362.9 kB / 391.7 MB, free: 4.961 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.02002, allocations: 1.293 MB / 392.9 MB, free: 3.664 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.02002, allocations: 3.938 kB / 392.9 MB, free: 3.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.02003, allocations: 0 / 392.9 MB, free: 3.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.684e-05/0.02006, allocations: 0 / 392.9 MB, free: 3.66 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.002167/0.02223, allocations: 1.716 MB / 394.7 MB, free: 1.902 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.02227, allocations: 12.03 kB / 394.7 MB, free: 1.891 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005316/0.0228, allocations: 247.9 kB / 394.9 MB, free: 1.648 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006398/0.02344, allocations: 0.5503 MB / 395.5 MB, free: 1.074 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/0.02348, allocations: 62.34 kB / 395.5 MB, free: 1.012 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.0236, allocations: 80.48 kB / 395.6 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002384/0.02598, allocations: 1.78 MB / 397.4 MB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.02601, allocations: 15.92 kB / 397.4 MB, free: 14.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.204e-05/0.02607, allocations: 35.97 kB / 397.4 MB, free: 14.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002933/0.02636, allocations: 381.7 kB / 397.8 MB, free: 14.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/0.02868, allocations: 1.276 MB / 399.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005629/0.03431, allocations: 8.739 MB / 407.8 MB, free: 4.211 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001916/0.03622, allocations: 0.7585 MB / 408.6 MB, free: 3.438 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.0364, allocations: 119.6 kB / 408.7 MB, free: 3.316 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006311/0.03703, allocations: 0.5848 MB / 409.3 MB, free: 2.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.03706, allocations: 37.39 kB / 409.3 MB, free: 2.684 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 3.105e-06/0.03706, allocations: 0 / 409.3 MB, free: 2.684 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.0061/0.04316, allocations: 2.546 MB / 411.9 MB, free: 128 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.0432, allocations: 63.84 kB / 411.9 MB, free: 52 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006933/0.04389, allocations: 0.7955 MB / 412.7 MB, free: 15.24 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.04392, allocations: 37.7 kB / 412.8 MB, free: 15.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003516/0.04427, allocations: 0.7511 MB / 413.5 MB, free: 14.44 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.04441, allocations: 218.2 kB / 413.7 MB, free: 14.22 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002365/0.04465, allocations: 264.4 kB / 414 MB, free: 13.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.04485, allocations: 0.5821 MB / 414.6 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.04508, allocations: 142.5 kB / 414.7 MB, free: 13.22 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006355/0.04571, allocations: 1.065 MB / 415.8 MB, free: 11.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.04673, allocations: 1.337 MB / 417.1 MB, free: 9.977 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.966e-06/0.04674, allocations: 8 kB / 417.1 MB, free: 9.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001151/0.04789, allocations: 1.006 MB / 418.1 MB, free: 8.957 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.04792, allocations: 16 kB / 418.1 MB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.04794, allocations: 23.98 kB / 418.2 MB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.334e-05/0.04797, allocations: 40 kB / 418.2 MB, free: 8.879 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006811/0.04865, allocations: 319.5 kB / 418.5 MB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008822/0.04953, allocations: 1.836 MB / 420.3 MB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003978/0.04993, allocations: 60.06 kB / 420.4 MB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.244e-05/0.04998, allocations: 64 kB / 420.5 MB, free: 6.492 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 27 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (157): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002881/0.05027, allocations: 268 kB / 420.7 MB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.511e-05/0.05037, allocations: 107.4 kB / 420.8 MB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.776e-05/0.05046, allocations: 91.53 kB / 420.9 MB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.05046, allocations: 11.98 kB / 420.9 MB, free: 6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.05047, allocations: 0 / 420.9 MB, free: 6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.05047, allocations: 7.984 kB / 420.9 MB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/0.05255, allocations: 1.626 MB / 422.6 MB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.05255, allocations: 12.03 kB / 422.6 MB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002745/0.05283, allocations: 123.8 kB / 422.7 MB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.05283, allocations: 11.94 kB / 422.7 MB, free: 4.066 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.05286, allocations: 20 kB / 422.7 MB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007029/0.05356, allocations: 1.825 MB / 424.6 MB, free: 2.105 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/0.05357, allocations: 11.94 kB / 424.6 MB, free: 2.094 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005762/0.05415, allocations: 0.7461 MB / 425.3 MB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.921e-05/0.05422, allocations: 75.47 kB / 425.4 MB, free: 1.141 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.653e-05/0.05427, allocations: 16 kB / 425.4 MB, free: 1.125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.05443, allocations: 12 kB / 425.4 MB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.05448, allocations: 67.8 kB / 425.5 MB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.0545, allocations: 20 kB / 425.5 MB, free: 1.027 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003414/0.05485, allocations: 423 kB / 425.9 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05485, allocations: 0 / 425.9 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000702/0.05555, allocations: 212 kB / 426.1 MB, free: 424 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 simulation (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00016/0.05571, allocations: 123 kB / 426.2 MB, free: 292 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008105/0.05652, allocations: 0.5801 MB / 426.8 MB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.05652, allocations: 4.812 kB / 426.8 MB, free: 15.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.05673, allocations: 181.2 kB / 427 MB, free: 15.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/0.05722, allocations: 104.3 kB / 427.1 MB, free: 15.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.05948, allocations: 1.939 MB / 429 MB, free: 13.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.05971, allocations: 307.4 kB / 429.3 MB, free: 13.01 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004482/0.06016, allocations: 286.7 kB / 429.6 MB, free: 12.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.06029, allocations: 60.5 kB / 429.7 MB, free: 12.66 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/0.06029, allocations: 0 / 429.7 MB, free: 12.66 MB / 410.7 MB Notification: Performance of Templates: time 0.01149/0.07178, allocations: 6.964 MB / 436.7 MB, free: 5.82 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5381113048642874]