Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Spherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001437/0.001437, allocations: 109.2 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002022/0.002022, allocations: 215.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.4 MB / 247.6 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2253/0.2253, allocations: 46.11 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 75.88 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3893, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01388/0.4032, allocations: 11.75 MB / 0.5432 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.4133, allocations: 4.059 MB / 0.5471 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003005/0.4164, allocations: 60.03 kB / 0.5472 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00328/0.4197, allocations: 1.182 MB / 0.5483 GB, free: 464 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005822/0.4256, allocations: 1.762 MB / 0.55 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002225/0.4278, allocations: 0.5574 MB / 0.5506 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007217/0.4351, allocations: 4.034 MB / 0.5545 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00351/0.4386, allocations: 1.787 MB / 0.5563 GB, free: 8.492 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002973/0.4416, allocations: 1.164 MB / 0.5574 GB, free: 7.324 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003357/0.445, allocations: 1.666 MB / 0.559 GB, free: 5.652 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001056/0.4461, allocations: 220 kB / 0.5593 GB, free: 5.438 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004128/0.4502, allocations: 1.283 MB / 0.5605 GB, free: 4.152 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002992/0.4532, allocations: 1.574 MB / 0.562 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004175/0.4574, allocations: 1.824 MB / 0.5638 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009509/0.4669, allocations: 6.175 MB / 0.5699 GB, free: 10.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.467, allocations: 0 / 0.5699 GB, free: 10.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.467, allocations: 0 / 0.5699 GB, free: 10.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002486/0.4672, allocations: 0 / 0.5699 GB, free: 10.54 MB / 430.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.01143/0.4787, allocations: 4.065 MB / 0.5738 GB, free: 6.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.4788, allocations: 8.031 kB / 0.5738 GB, free: 6.402 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02103/0.4998, allocations: 6.141 MB / 0.5798 GB, free: 252 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005896/0.5057, allocations: 2.178 MB / 0.582 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/0.5059, allocations: 180.8 kB / 0.5821 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001387/0.5073, allocations: 315.5 kB / 0.5824 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01989/0.5272, allocations: 10.72 MB / 0.5929 GB, free: 2.359 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.29e-05/0.5274, allocations: 19.81 kB / 0.5929 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003714/0.5278, allocations: 115.8 kB / 0.593 GB, free: 2.227 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004053/0.5318, allocations: 2.467 MB / 0.5954 GB, free: 15.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01994/0.5518, allocations: 10.16 MB / 0.6054 GB, free: 5.582 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0567/0.6085, allocations: 35.49 MB / 0.64 GB, free: 1.219 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01343/0.622, allocations: 5.602 MB / 0.6455 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004584/0.6267, allocations: 2.333 MB / 0.6478 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002325/0.629, allocations: 1.88 MB / 0.6496 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.1e-05/0.6291, allocations: 52.5 kB / 0.6497 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=224): time 6.863e-06/0.6291, allocations: 0 / 0.6497 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of matching and sorting (n=225): time 0.04281/0.6719, allocations: 14.56 MB / 0.6639 GB, free: 8.105 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.672, allocations: 73.47 kB / 0.6639 GB, free: 8.02 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004255/0.6763, allocations: 2.786 MB / 0.6667 GB, free: 5.219 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0003921/0.6767, allocations: 53.7 kB / 0.6667 GB, free: 5.16 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001965/0.6787, allocations: 2.673 MB / 0.6693 GB, free: 2.445 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001099/0.6798, allocations: 0.8327 MB / 0.6701 GB, free: 1.602 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001725/0.6815, allocations: 1.088 MB / 0.6712 GB, free: 0.5039 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.6816, allocations: 305.1 kB / 0.6715 GB, free: 208 kB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003677/0.6853, allocations: 2.544 MB / 0.674 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006366/0.6917, allocations: 5.534 MB / 0.6794 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01218/0.7039, allocations: 8.777 MB / 0.688 GB, free: 12.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.583e-05/0.704, allocations: 28 kB / 0.688 GB, free: 12.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=724) (initialization): time 0.06609/0.7702, allocations: 16.93 MB / 0.7045 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001591/0.7704, allocations: 48 kB / 0.7046 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04579/0.8162, allocations: 10.42 MB / 0.7147 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3563/1.172, allocations: 8.64 MB / 0.7232 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00491/1.177, allocations: 1.3 MB / 0.7244 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02715/1.205, allocations: 17.82 MB / 0.7418 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003893/1.208, allocations: 360 kB / 0.7422 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000732/1.209, allocations: 307.6 kB / 0.7425 GB, free: 152.2 MB / 0.5606 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.002996/1.212, allocations: 2.029 MB / 0.7445 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004408/1.213, allocations: 273.1 kB / 0.7447 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006684/1.219, allocations: 4.816 MB / 0.7494 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.822e-05/1.219, allocations: 7.969 kB / 0.7494 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/1.219, allocations: 7.719 kB / 0.7494 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005451/1.22, allocations: 306.1 kB / 0.7497 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003213/1.22, allocations: 28 kB / 0.7498 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/1.221, allocations: 167.6 kB / 0.7499 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002599/1.222, allocations: 109.8 kB / 0.75 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006101/1.228, allocations: 4.37 MB / 0.7543 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005872/1.234, allocations: 6.28 MB / 0.7604 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001508/1.235, allocations: 1.779 MB / 0.7622 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001862/1.237, allocations: 1.7 MB / 0.7638 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of Backend: time 7.11e-07/1.237, allocations: 0 / 0.7638 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008259/1.245, allocations: 4.977 MB / 0.7687 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01058/1.256, allocations: 8.363 MB / 0.7768 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.07369/1.33, allocations: 56.02 MB / 0.8316 GB, free: 61.98 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Spherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches