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.001057/0.001058, allocations: 117.7 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001188/0.001189, allocations: 208 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2211/0.2211, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 71.88 kB / 482 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3119, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.0145/0.3265, allocations: 13.45 MB / 0.5448 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008532/0.335, allocations: 4.202 MB / 0.5489 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001993/0.3371, allocations: 76.53 kB / 0.549 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00376/0.3408, allocations: 1.964 MB / 0.5509 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004902/0.3458, allocations: 1.88 MB / 0.5527 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.3473, allocations: 0.5614 MB / 0.5533 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005285/0.3526, allocations: 4.044 MB / 0.5572 GB, free: 7.449 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003046/0.3556, allocations: 2.87 MB / 0.56 GB, free: 4.531 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001857/0.3575, allocations: 1.448 MB / 0.5615 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002258/0.3598, allocations: 2.009 MB / 0.5634 GB, free: 1.062 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004867/0.3603, allocations: 304 kB / 0.5637 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001744/0.362, allocations: 1.006 MB / 0.5647 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001423/0.3635, allocations: 1.85 MB / 0.5665 GB, free: 13.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001764/0.3652, allocations: 2.24 MB / 0.5687 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006765/0.372, allocations: 7.28 MB / 0.5758 GB, free: 4.344 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.372, allocations: 0 / 0.5758 GB, free: 4.344 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.372, allocations: 0 / 0.5758 GB, free: 4.344 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001154/0.3722, allocations: 3.938 kB / 0.5758 GB, free: 4.34 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.007769/0.3799, allocations: 4.881 MB / 0.5806 GB, free: 15.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.38, allocations: 8.031 kB / 0.5806 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009982/0.39, allocations: 3.137 MB / 0.5836 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003843/0.3938, allocations: 2.177 MB / 0.5858 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.394, allocations: 234.2 kB / 0.586 GB, free: 9.777 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006518/0.3947, allocations: 319.8 kB / 0.5863 GB, free: 9.465 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01822/0.4129, allocations: 12.08 MB / 0.5981 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/0.4131, allocations: 35.75 kB / 0.5981 GB, free: 12.81 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004334/0.4135, allocations: 147.8 kB / 0.5983 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004478/0.418, allocations: 2.835 MB / 0.601 GB, free: 9.82 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0205/0.4385, allocations: 11.35 MB / 0.6121 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05387/0.4924, allocations: 41.03 MB / 0.6522 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01105/0.5035, allocations: 6.07 MB / 0.6581 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003662/0.5072, allocations: 3.009 MB / 0.661 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001592/0.5088, allocations: 1.884 MB / 0.6629 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.5089, allocations: 53.12 kB / 0.6629 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=262): time 5.821e-06/0.5089, allocations: 0 / 0.6629 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of matching and sorting (n=283): time 0.047/0.5559, allocations: 20.15 MB / 0.6826 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.556, allocations: 73.41 kB / 0.6827 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00469/0.5607, allocations: 3.023 MB / 0.6856 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002943/0.561, allocations: 65.7 kB / 0.6857 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001908/0.5629, allocations: 2.981 MB / 0.6886 GB, free: 14.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001013/0.5639, allocations: 1.021 MB / 0.6896 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001685/0.5656, allocations: 1.195 MB / 0.6908 GB, free: 12.02 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.083e-05/0.5657, allocations: 301.1 kB / 0.6911 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00397/0.5697, allocations: 2.858 MB / 0.6939 GB, free: 8.863 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005949/0.5756, allocations: 6.034 MB / 0.6997 GB, free: 1.285 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01096/0.5866, allocations: 9.677 MB / 0.7092 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.028e-05/0.5867, allocations: 28 kB / 0.7092 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=792) (initialization): time 0.01798/0.6047, allocations: 10.05 MB / 0.719 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.6049, allocations: 52 kB / 0.7191 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002175/0.6051, allocations: 111.9 kB / 0.7192 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003707/0.6088, allocations: 1.363 MB / 0.7205 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004791/0.6137, allocations: 1.376 MB / 0.7219 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/0.6239, allocations: 7.793 MB / 0.7295 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003887/0.6278, allocations: 371.7 kB / 0.7298 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008297/0.6287, allocations: 340 kB / 0.7302 GB, free: 440 kB / 0.5762 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.2541/0.8828, allocations: 2.297 MB / 0.7324 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006545/0.8835, allocations: 300 kB / 0.7327 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01053/0.894, allocations: 6.621 MB / 0.7391 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-05/0.8941, allocations: 13.73 kB / 0.7392 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.8941, allocations: 1.906 kB / 0.7392 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006655/0.8948, allocations: 341.9 kB / 0.7395 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005149/0.8953, allocations: 44.12 kB / 0.7395 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/0.8967, allocations: 190.9 kB / 0.7397 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004736/0.8972, allocations: 149.7 kB / 0.7399 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009571/0.9068, allocations: 6.018 MB / 0.7457 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008411/0.9152, allocations: 8.455 MB / 0.754 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002231/0.9175, allocations: 2.383 MB / 0.7563 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002284/0.9198, allocations: 1.865 MB / 0.7581 GB, free: 166 MB / 0.5762 GB Notification: Performance of Backend: time 7.11e-07/0.9198, allocations: 0 / 0.7581 GB, free: 166 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006991/0.9268, allocations: 5.014 MB / 0.763 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of SimCode: time 0.01077/0.9376, allocations: 9.68 MB / 0.7725 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.08603/1.024, allocations: 53.68 MB / 0.8249 GB, free: 98.38 MB / 0.5762 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