Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 112.9 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001278, allocations: 183 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2188/0.2188, allocations: 44.18 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.89 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.378, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01193/0.39, allocations: 11.8 MB / 0.5311 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008519/0.3985, allocations: 4.059 MB / 0.5351 GB, free: 8.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001941/0.4005, allocations: 60.38 kB / 0.5351 GB, free: 8.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002456/0.403, allocations: 1.174 MB / 0.5363 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004112/0.4071, allocations: 1.8 MB / 0.538 GB, free: 6.094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.4085, allocations: 0.5506 MB / 0.5386 GB, free: 5.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005015/0.4135, allocations: 3.958 MB / 0.5424 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002841/0.4164, allocations: 1.78 MB / 0.5442 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002268/0.4187, allocations: 1.171 MB / 0.5453 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002549/0.4212, allocations: 1.686 MB / 0.547 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007796/0.422, allocations: 216 kB / 0.5472 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002966/0.425, allocations: 1.303 MB / 0.5484 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001811/0.4268, allocations: 1.589 MB / 0.55 GB, free: 12.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003177/0.43, allocations: 1.847 MB / 0.5518 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008546/0.4386, allocations: 6.267 MB / 0.5579 GB, free: 4.664 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.4386, allocations: 4 kB / 0.5579 GB, free: 4.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4386, allocations: 4 kB / 0.5579 GB, free: 4.656 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002594/0.4389, allocations: 0 / 0.5579 GB, free: 4.656 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.009937/0.4488, allocations: 4.221 MB / 0.562 GB, free: 368 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.4489, allocations: 23.89 kB / 0.5621 GB, free: 344 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01969/0.4686, allocations: 5.699 MB / 0.5676 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005038/0.4737, allocations: 2.217 MB / 0.5698 GB, free: 8.363 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/0.4738, allocations: 180.8 kB / 0.57 GB, free: 8.184 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009601/0.4748, allocations: 311.6 kB / 0.5703 GB, free: 7.879 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01721/0.492, allocations: 10.72 MB / 0.5807 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.747e-05/0.4921, allocations: 23.81 kB / 0.5808 GB, free: 12.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003659/0.4925, allocations: 115.8 kB / 0.5809 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003899/0.4964, allocations: 2.471 MB / 0.5833 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0206/0.517, allocations: 10.15 MB / 0.5932 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04832/0.5654, allocations: 35.58 MB / 0.6279 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01187/0.5773, allocations: 5.596 MB / 0.6334 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003347/0.5807, allocations: 2.334 MB / 0.6357 GB, free: 3.316 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001651/0.5824, allocations: 1.876 MB / 0.6375 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.5824, allocations: 52.5 kB / 0.6376 GB, free: 1.047 MB / 494.1 MB Notification: Performance of pre-optimization done (n=224): time 1.606e-05/0.5825, allocations: 0 / 0.6376 GB, free: 1.047 MB / 494.1 MB Notification: Performance of matching and sorting (n=225): time 0.03338/0.6158, allocations: 14.62 MB / 0.6519 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.6159, allocations: 69.41 kB / 0.6519 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003385/0.6193, allocations: 2.811 MB / 0.6547 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002094/0.6195, allocations: 61.61 kB / 0.6547 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001626/0.6212, allocations: 2.78 MB / 0.6574 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007132/0.6219, allocations: 0.8798 MB / 0.6583 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001419/0.6233, allocations: 1.096 MB / 0.6594 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.6234, allocations: 301.1 kB / 0.6597 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003417/0.6268, allocations: 2.537 MB / 0.6621 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005171/0.632, allocations: 5.537 MB / 0.6675 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/0.6423, allocations: 8.777 MB / 0.6761 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001016/0.6425, allocations: 28 kB / 0.6761 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of matching and sorting (n=724) (initialization): time 0.06719/0.7097, allocations: 18.83 MB / 0.6945 GB, free: 3.539 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.342e-05/0.7098, allocations: 52 kB / 0.6946 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04723/0.757, allocations: 11.8 MB / 0.7061 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05169/0.8087, allocations: 10.28 MB / 0.7161 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004845/0.8136, allocations: 1.306 MB / 0.7174 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2799/1.094, allocations: 18.22 MB / 0.7352 GB, free: 179.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003964/1.098, allocations: 382.4 kB / 0.7356 GB, free: 179.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000603/1.098, allocations: 308.8 kB / 0.7359 GB, free: 179.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 476 * Number of states: 0 () * Number of discrete variables: 24 (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],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (656): * Single equations (assignments): 647 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,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 {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.00298/1.101, allocations: 2.017 MB / 0.7378 GB, free: 178.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004347/1.102, allocations: 282 kB / 0.7381 GB, free: 178.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008014/1.11, allocations: 4.826 MB / 0.7428 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.787e-05/1.11, allocations: 7.547 kB / 0.7428 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/1.11, allocations: 0 / 0.7428 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006208/1.11, allocations: 315.4 kB / 0.7431 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003804/1.111, allocations: 35.31 kB / 0.7432 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/1.112, allocations: 161.4 kB / 0.7433 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003466/1.112, allocations: 105.8 kB / 0.7434 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007459/1.12, allocations: 4.379 MB / 0.7477 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006121/1.126, allocations: 6.295 MB / 0.7538 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00175/1.128, allocations: 1.78 MB / 0.7556 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002038/1.13, allocations: 1.705 MB / 0.7572 GB, free: 172 MB / 0.5762 GB Notification: Performance of Backend: time 4.4e-07/1.13, allocations: 0 / 0.7572 GB, free: 172 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008756/1.138, allocations: 5.048 MB / 0.7622 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of SimCode: time 0.011/1.15, allocations: 8.509 MB / 0.7705 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.07174/1.221, allocations: 56.2 MB / 0.8254 GB, free: 107.1 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Spherical/Spherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches