Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009765/0.0009765, allocations: 83.58 kB / 21.18 MB, free: 3.387 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.0009744/0.0009744, allocations: 161 kB / 24.56 MB, free: 20 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 0.9867/0.9867, allocations: 177.1 MB / 205 MB, free: 5.25 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2424/0.2424, allocations: 34.26 MB / 295.7 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.298e-05, allocations: 2.312 kB / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.008552/0.008575, allocations: 7.377 MB / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004325/0.0129, allocations: 2.542 MB / 388 MB, free: 8.684 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004935/0.01339, allocations: 35.88 kB / 388 MB, free: 8.648 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.01524, allocations: 0.9615 MB / 389 MB, free: 7.684 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006666/0.0159, allocations: 330 kB / 389.3 MB, free: 7.359 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007011/0.01661, allocations: 358.9 kB / 389.6 MB, free: 7.008 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008231/0.01743, allocations: 0.7466 MB / 390.4 MB, free: 6.262 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008154/0.01824, allocations: 0.6696 MB / 391 MB, free: 5.582 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000582/0.01883, allocations: 0.5026 MB / 391.5 MB, free: 5.078 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008609/0.01969, allocations: 0.6352 MB / 392.2 MB, free: 4.441 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001578/0.01984, allocations: 108 kB / 392.3 MB, free: 4.336 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006794/0.02052, allocations: 0.5029 MB / 392.8 MB, free: 3.832 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004889/0.02101, allocations: 0.522 MB / 393.3 MB, free: 3.309 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004034/0.02142, allocations: 363 kB / 393.7 MB, free: 2.953 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.02286, allocations: 1.296 MB / 395 MB, free: 1.652 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.02286, allocations: 0 / 395 MB, free: 1.652 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.02286, allocations: 4 kB / 395 MB, free: 1.648 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.02288, allocations: 0 / 395 MB, free: 1.648 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.002878/0.02575, allocations: 1.709 MB / 396.7 MB, free: 15.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.02581, allocations: 12.03 kB / 396.7 MB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008334/0.02664, allocations: 247.9 kB / 396.9 MB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000982/0.02762, allocations: 0.5542 MB / 397.5 MB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.271e-05/0.02767, allocations: 62.28 kB / 397.5 MB, free: 15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/0.02787, allocations: 84.48 kB / 397.6 MB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003717/0.03159, allocations: 1.776 MB / 399.4 MB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/0.03162, allocations: 3.938 kB / 399.4 MB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.873e-05/0.03171, allocations: 39.95 kB / 399.4 MB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004511/0.03217, allocations: 385.7 kB / 399.8 MB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003593/0.03576, allocations: 1.268 MB / 401.1 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00635/0.04211, allocations: 8.751 MB / 409.8 MB, free: 2.203 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.04389, allocations: 0.7468 MB / 410.6 MB, free: 1.441 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.04406, allocations: 127.7 kB / 410.7 MB, free: 1.312 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005779/0.04464, allocations: 0.5848 MB / 411.3 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.04466, allocations: 37.39 kB / 411.3 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 1.923e-06/0.04466, allocations: 0 / 411.3 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.005626/0.05029, allocations: 2.543 MB / 413.9 MB, free: 14.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.05032, allocations: 59.91 kB / 413.9 MB, free: 14.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006202/0.05094, allocations: 0.7916 MB / 414.7 MB, free: 13.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.05097, allocations: 37.7 kB / 414.8 MB, free: 13.21 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000337/0.05131, allocations: 0.7512 MB / 415.5 MB, free: 12.45 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.05142, allocations: 226.2 kB / 415.7 MB, free: 12.22 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/0.05163, allocations: 264.4 kB / 416 MB, free: 11.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.05181, allocations: 0.5859 MB / 416.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.05203, allocations: 142.5 kB / 416.7 MB, free: 11.22 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005942/0.05262, allocations: 1.065 MB / 417.8 MB, free: 9.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009356/0.05356, allocations: 1.337 MB / 419.1 MB, free: 7.973 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.05357, allocations: 8 kB / 419.1 MB, free: 7.965 MB / 394.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001065/0.05463, allocations: 1.005 MB / 420.1 MB, free: 6.953 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.05466, allocations: 16 kB / 420.1 MB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.05467, allocations: 20 kB / 420.2 MB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/0.0547, allocations: 32 kB / 420.2 MB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006593/0.05536, allocations: 320 kB / 420.5 MB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007711/0.05613, allocations: 1.844 MB / 422.4 MB, free: 4.613 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.05644, allocations: 63.94 kB / 422.4 MB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-05/0.05649, allocations: 64 kB / 422.5 MB, free: 4.488 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.000213/0.0567, allocations: 272.1 kB / 422.7 MB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.072e-05/0.05678, allocations: 103.4 kB / 422.8 MB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.793e-05/0.05687, allocations: 99.45 kB / 422.9 MB, free: 4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.05688, allocations: 8 kB / 423 MB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.05688, allocations: 0 / 423 MB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.81e-06/0.05688, allocations: 3.984 kB / 423 MB, free: 3.988 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/0.05859, allocations: 1.629 MB / 424.6 MB, free: 2.203 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.0586, allocations: 8 kB / 424.6 MB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.05886, allocations: 124.6 kB / 424.7 MB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.05887, allocations: 8 kB / 424.7 MB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.05889, allocations: 20 kB / 424.7 MB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006172/0.05951, allocations: 1.821 MB / 426.6 MB, free: 112 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.05951, allocations: 8 kB / 426.6 MB, free: 104 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005631/0.06008, allocations: 0.754 MB / 427.3 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.155e-05/0.06014, allocations: 75.47 kB / 427.4 MB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.06018, allocations: 16 kB / 427.4 MB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.06033, allocations: 16 kB / 427.4 MB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.06038, allocations: 55.8 kB / 427.5 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.0604, allocations: 20 kB / 427.5 MB, free: 15.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003152/0.06072, allocations: 426.9 kB / 427.9 MB, free: 14.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06072, allocations: 0 / 427.9 MB, free: 14.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005531/0.06127, allocations: 212 kB / 428.1 MB, free: 14.42 MB / 410.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.0001568/0.06143, allocations: 131 kB / 428.3 MB, free: 14.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006959/0.06212, allocations: 0.5799 MB / 428.8 MB, free: 13.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.06213, allocations: 4 kB / 428.8 MB, free: 13.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.06233, allocations: 179.7 kB / 429 MB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.06279, allocations: 107 kB / 429.1 MB, free: 13.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.06477, allocations: 1.932 MB / 431.1 MB, free: 11.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.06499, allocations: 303.4 kB / 431.3 MB, free: 11.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000418/0.06541, allocations: 286.7 kB / 431.6 MB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.06553, allocations: 64.5 kB / 431.7 MB, free: 10.67 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.06553, allocations: 0 / 431.7 MB, free: 10.67 MB / 410.7 MB Notification: Performance of Templates: time 0.01122/0.07675, allocations: 6.979 MB / 438.7 MB, free: 3.816 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.4889431381598115]