Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001005/0.001005, allocations: 91.31 kB / 20.42 MB, free: 4.141 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.001113/0.001113, allocations: 169 kB / 23.8 MB, free: 0.7695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8767/0.8767, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1381/0.1381, allocations: 32.37 MB / 270.4 MB, free: 14.59 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 3.938 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.715e-05, allocations: 4.281 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.005352/0.005379, allocations: 7.43 MB / 355.1 MB, free: 1.973 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0042/0.009579, allocations: 2.489 MB / 357.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007904/0.01037, allocations: 35.88 kB / 357.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001402/0.01177, allocations: 0.946 MB / 358.6 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007393/0.01251, allocations: 341.9 kB / 358.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007307/0.01324, allocations: 351 kB / 359.2 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007084/0.01395, allocations: 0.7706 MB / 360 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007396/0.01469, allocations: 0.6813 MB / 360.7 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005452/0.01523, allocations: 0.5299 MB / 361.2 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007699/0.016, allocations: 0.6275 MB / 361.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.01615, allocations: 104 kB / 362 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006665/0.01682, allocations: 0.5107 MB / 362.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003785/0.0172, allocations: 0.522 MB / 363 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002944/0.01749, allocations: 374.9 kB / 363.4 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.01877, allocations: 1.308 MB / 364.7 MB, free: 8.367 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.01877, allocations: 0 / 364.7 MB, free: 8.367 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.01877, allocations: 0 / 364.7 MB, free: 8.367 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.107e-05/0.0188, allocations: 0 / 364.7 MB, free: 8.367 MB / 298.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.002308/0.0211, allocations: 1.712 MB / 366.4 MB, free: 6.617 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.235e-05/0.02117, allocations: 8.031 kB / 366.4 MB, free: 6.609 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006922/0.02186, allocations: 259.9 kB / 366.6 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008139/0.02267, allocations: 0.558 MB / 367.2 MB, free: 5.766 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/0.02272, allocations: 62.34 kB / 367.3 MB, free: 5.707 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.02287, allocations: 80.53 kB / 367.3 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002581/0.02545, allocations: 1.784 MB / 369.1 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/0.02548, allocations: 3.938 kB / 369.1 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.735e-05/0.02554, allocations: 39.97 kB / 369.2 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003538/0.0259, allocations: 381.7 kB / 369.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002443/0.02834, allocations: 1.268 MB / 370.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006914/0.03525, allocations: 8.754 MB / 379.6 MB, free: 8.898 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002054/0.03731, allocations: 0.7548 MB / 380.3 MB, free: 8.129 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.0375, allocations: 131.6 kB / 380.4 MB, free: 7.996 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006778/0.03818, allocations: 0.5655 MB / 381 MB, free: 7.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.03822, allocations: 41.39 kB / 381 MB, free: 7.379 MB / 314.7 MB Notification: Performance of pre-optimization done (n=44): time 3.477e-06/0.03822, allocations: 0 / 381 MB, free: 7.379 MB / 314.7 MB Notification: Performance of matching and sorting (n=58): time 0.006371/0.04459, allocations: 2.545 MB / 383.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.04463, allocations: 59.91 kB / 383.7 MB, free: 4.754 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007449/0.04538, allocations: 0.8071 MB / 384.5 MB, free: 3.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.04541, allocations: 37.7 kB / 384.5 MB, free: 3.887 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003805/0.04579, allocations: 0.7513 MB / 385.2 MB, free: 3.125 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.04593, allocations: 226.2 kB / 385.5 MB, free: 2.902 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002359/0.04616, allocations: 264.4 kB / 385.7 MB, free: 2.637 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002217/0.04638, allocations: 0.5821 MB / 386.3 MB, free: 2.043 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.04661, allocations: 142.5 kB / 386.4 MB, free: 1.902 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006923/0.04731, allocations: 1.064 MB / 387.5 MB, free: 424 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.04845, allocations: 1.333 MB / 388.8 MB, free: 14.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.04846, allocations: 4 kB / 388.8 MB, free: 14.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001337/0.04979, allocations: 1.013 MB / 389.9 MB, free: 13.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.151e-05/0.04984, allocations: 16 kB / 389.9 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/0.04986, allocations: 20.88 kB / 389.9 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.005e-05/0.04991, allocations: 32 kB / 389.9 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007399/0.05065, allocations: 323.5 kB / 390.2 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.05183, allocations: 1.844 MB / 392.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/0.05231, allocations: 52.08 kB / 392.1 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.308e-05/0.05238, allocations: 68 kB / 392.2 MB, free: 11.18 MB / 330.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.0003504/0.05273, allocations: 271.9 kB / 392.5 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.05284, allocations: 103.4 kB / 392.6 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.972e-05/0.05294, allocations: 99.64 kB / 392.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.05295, allocations: 8 kB / 392.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.05296, allocations: 4 kB / 392.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.05297, allocations: 0 / 392.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/0.05512, allocations: 1.649 MB / 394.3 MB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.05512, allocations: 4 kB / 394.3 MB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.0554, allocations: 131.9 kB / 394.5 MB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.05541, allocations: 8 kB / 394.5 MB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.05544, allocations: 16 kB / 394.5 MB, free: 8.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008743/0.05631, allocations: 1.811 MB / 396.3 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/0.05632, allocations: 16.06 kB / 396.3 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006215/0.05694, allocations: 0.7573 MB / 397.1 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.05709, allocations: 107.5 kB / 397.2 MB, free: 5.785 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/0.05714, allocations: 19.98 kB / 397.2 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.0573, allocations: 16 kB / 397.2 MB, free: 5.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.749e-05/0.05737, allocations: 59.8 kB / 397.3 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.05739, allocations: 20 kB / 397.3 MB, free: 5.672 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003729/0.05776, allocations: 427 kB / 397.7 MB, free: 5.258 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.05776, allocations: 0 / 397.7 MB, free: 5.258 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007628/0.05853, allocations: 216 kB / 397.9 MB, free: 5.047 MB / 330.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.000221/0.05875, allocations: 123 kB / 398 MB, free: 4.914 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008576/0.0596, allocations: 0.5923 MB / 398.6 MB, free: 4.324 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.05961, allocations: 0 / 398.6 MB, free: 4.324 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.05982, allocations: 190.1 kB / 398.8 MB, free: 4.137 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005402/0.06036, allocations: 109.1 kB / 398.9 MB, free: 4.035 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.06288, allocations: 1.952 MB / 400.9 MB, free: 1.934 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.06312, allocations: 307.4 kB / 401.2 MB, free: 1.609 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004679/0.06359, allocations: 286.8 kB / 401.5 MB, free: 1.324 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.06372, allocations: 60.5 kB / 401.5 MB, free: 1.266 MB / 330.7 MB Notification: Performance of SimCode: time 2.053e-06/0.06372, allocations: 0 / 401.5 MB, free: 1.266 MB / 330.7 MB Notification: Performance of Templates: time 0.01267/0.07639, allocations: 6.975 MB / 408.5 MB, free: 10.39 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.3798046559095383]