Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.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.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal") translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001239/0.001239, allocations: 114.3 kB / 18.45 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001412/0.001412, allocations: 206 kB / 19.4 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1995/0.1995, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.00128, allocations: 75.88 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2785, allocations: 62.43 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01313/0.2917, allocations: 13.46 MB / 0.5448 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008255/0.3, allocations: 4.203 MB / 0.5489 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002115/0.3022, allocations: 68.28 kB / 0.549 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003648/0.3058, allocations: 1.961 MB / 0.5509 GB, free: 14 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004414/0.3103, allocations: 1.938 MB / 0.5528 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.3116, allocations: 0.5537 MB / 0.5533 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004835/0.3165, allocations: 4.046 MB / 0.5573 GB, free: 7.441 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002778/0.3193, allocations: 2.866 MB / 0.5601 GB, free: 4.531 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.3209, allocations: 1.444 MB / 0.5615 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002014/0.3229, allocations: 2.009 MB / 0.5634 GB, free: 1.066 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004427/0.3234, allocations: 304 kB / 0.5637 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00159/0.325, allocations: 1.006 MB / 0.5647 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001404/0.3264, allocations: 1.858 MB / 0.5665 GB, free: 13.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001872/0.3283, allocations: 2.236 MB / 0.5687 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006492/0.3348, allocations: 7.28 MB / 0.5758 GB, free: 4.344 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3348, allocations: 0 / 0.5758 GB, free: 4.344 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3348, allocations: 0 / 0.5758 GB, free: 4.344 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001361/0.3349, allocations: 0 / 0.5758 GB, free: 4.344 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.008173/0.3431, allocations: 4.881 MB / 0.5806 GB, free: 15.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3432, allocations: 16.03 kB / 0.5806 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009544/0.3527, allocations: 3.134 MB / 0.5837 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003991/0.3567, allocations: 2.188 MB / 0.5858 GB, free: 9.996 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001658/0.3569, allocations: 234.2 kB / 0.586 GB, free: 9.766 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006442/0.3576, allocations: 307.9 kB / 0.5863 GB, free: 9.465 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01653/0.3741, allocations: 12.09 MB / 0.5981 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/0.3742, allocations: 27.75 kB / 0.5982 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004563/0.3747, allocations: 147.8 kB / 0.5983 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004207/0.3789, allocations: 2.835 MB / 0.6011 GB, free: 9.816 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01958/0.3985, allocations: 11.36 MB / 0.6122 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05298/0.4515, allocations: 41.02 MB / 0.6522 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01124/0.4628, allocations: 6.074 MB / 0.6582 GB, free: 14.1 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003931/0.4668, allocations: 3.002 MB / 0.6611 GB, free: 11.09 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001632/0.4685, allocations: 1.888 MB / 0.6629 GB, free: 8.867 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.768e-05/0.4685, allocations: 56.56 kB / 0.663 GB, free: 8.801 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=262): time 8.056e-06/0.4686, allocations: 0 / 0.663 GB, free: 8.801 MB / 0.5138 GB Notification: Performance of matching and sorting (n=283): time 0.0478/0.5164, allocations: 20.14 MB / 0.6827 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/0.5165, allocations: 77.41 kB / 0.6827 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004766/0.5213, allocations: 3.023 MB / 0.6857 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005511/0.5218, allocations: 65.64 kB / 0.6857 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002194/0.524, allocations: 2.981 MB / 0.6886 GB, free: 14.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001425/0.5255, allocations: 1.021 MB / 0.6896 GB, free: 13.22 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002736/0.5282, allocations: 1.195 MB / 0.6908 GB, free: 12.01 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.5284, allocations: 313.1 kB / 0.6911 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004668/0.5331, allocations: 2.85 MB / 0.6939 GB, free: 8.848 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007711/0.5408, allocations: 6.026 MB / 0.6998 GB, free: 1.277 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01243/0.5533, allocations: 9.673 MB / 0.7092 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001049/0.5535, allocations: 35.94 kB / 0.7093 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=792) (initialization): time 0.01847/0.5719, allocations: 10.03 MB / 0.7191 GB, free: 11.97 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001461/0.5721, allocations: 55.94 kB / 0.7191 GB, free: 11.91 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001883/0.5723, allocations: 112 kB / 0.7192 GB, free: 11.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003533/0.5759, allocations: 1.366 MB / 0.7206 GB, free: 10.43 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004572/0.5805, allocations: 1.369 MB / 0.7219 GB, free: 9.062 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/0.5905, allocations: 7.818 MB / 0.7295 GB, free: 1.105 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003857/0.5944, allocations: 359.7 kB / 0.7299 GB, free: 0.7539 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009265/0.5953, allocations: 344 kB / 0.7302 GB, free: 428 kB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[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 (722): * Single equations (assignments): 715 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.2295/0.8248, allocations: 2.296 MB / 0.7324 GB, free: 175.7 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005752/0.8254, allocations: 305.5 kB / 0.7327 GB, free: 175.7 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009572/0.835, allocations: 6.623 MB / 0.7392 GB, free: 173.8 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.375e-05/0.8351, allocations: 46.59 kB / 0.7392 GB, free: 173.7 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.8351, allocations: 4.969 kB / 0.7392 GB, free: 173.7 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.507e-05/0.8351, allocations: 11.34 kB / 0.7393 GB, free: 173.7 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0178/0.853, allocations: 13.89 MB / 0.7528 GB, free: 168.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.946e-05/0.853, allocations: 7.438 kB / 0.7528 GB, free: 168.9 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/0.8547, allocations: 454.4 kB / 0.7533 GB, free: 168.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002781/0.8575, allocations: 1.215 MB / 0.7545 GB, free: 168.6 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002889/0.8578, allocations: 51.2 kB / 0.7545 GB, free: 168.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006565/0.8644, allocations: 7.01 MB / 0.7613 GB, free: 162.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.8644, allocations: 16.88 kB / 0.7614 GB, free: 162.7 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01089/0.8753, allocations: 9.866 MB / 0.771 GB, free: 152.9 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005961/0.8759, allocations: 356.8 kB / 0.7713 GB, free: 152.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003658/0.8763, allocations: 44 kB / 0.7714 GB, free: 152.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/0.8777, allocations: 191.7 kB / 0.7716 GB, free: 152.4 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003439/0.878, allocations: 169.3 kB / 0.7717 GB, free: 152.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000173/0.8782, allocations: 79.58 kB / 0.7718 GB, free: 152.2 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.001948/0.8802, allocations: 1.87 MB / 0.7736 GB, free: 150.3 MB / 0.5763 GB Notification: Performance of sort global known variables: time 5.41e-07/0.8802, allocations: 0 / 0.7736 GB, free: 150.3 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.003599/0.8838, allocations: 1.1 MB / 0.7747 GB, free: 149.2 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (218): * Single equations (assignments): 211 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,16,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003759/0.8842, allocations: 190 kB / 0.7749 GB, free: 149.1 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.007581/0.8918, allocations: 7 MB / 0.7817 GB, free: 142.1 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/0.8918, allocations: 0 / 0.7817 GB, free: 142.1 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.003208/0.895, allocations: 2.865 MB / 0.7845 GB, free: 139.2 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/0.897, allocations: 420.8 kB / 0.7849 GB, free: 138.8 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/0.9111, allocations: 11.82 MB / 0.7965 GB, free: 126.9 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002688/0.9138, allocations: 3.586 MB / 0.8 GB, free: 123.3 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/0.9151, allocations: 287.4 kB / 0.8002 GB, free: 123 MB / 0.5763 GB Notification: Performance of SimCode: time 1.263e-06/0.9151, allocations: 0 / 0.8002 GB, free: 123 MB / 0.5763 GB Notification: Performance of Templates: time 0.07589/0.991, allocations: 84.24 MB / 0.8825 GB, free: 38.9 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches