Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.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.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 113.9 kB / 18.45 MB, free: 4.602 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.001391/0.001391, allocations: 185.9 kB / 19.38 MB, free: 3.68 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.377/1.377, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2359/0.2359, allocations: 44.18 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 67.89 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3685, allocations: 60.83 MB / 0.5196 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01491/0.3834, allocations: 13.5 MB / 0.5328 GB, free: 9.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01102/0.3945, allocations: 4.204 MB / 0.5369 GB, free: 6.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003732/0.3983, allocations: 69 kB / 0.5369 GB, free: 6.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005271/0.4036, allocations: 1.958 MB / 0.5388 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006821/0.4105, allocations: 1.968 MB / 0.5408 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.4122, allocations: 0.5552 MB / 0.5413 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006516/0.4188, allocations: 4.033 MB / 0.5453 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004269/0.4231, allocations: 2.869 MB / 0.5481 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002656/0.4257, allocations: 1.46 MB / 0.5495 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003302/0.4291, allocations: 2.013 MB / 0.5514 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001116/0.4302, allocations: 308 kB / 0.5517 GB, free: 11 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002788/0.433, allocations: 1.022 MB / 0.5527 GB, free: 9.973 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002251/0.4353, allocations: 1.878 MB / 0.5546 GB, free: 8.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003915/0.4392, allocations: 2.26 MB / 0.5568 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008781/0.448, allocations: 7.35 MB / 0.564 GB, free: 14.44 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.448, allocations: 0 / 0.564 GB, free: 14.44 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.448, allocations: 0 / 0.564 GB, free: 14.44 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002776/0.4483, allocations: 0 / 0.564 GB, free: 14.44 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.01319/0.4615, allocations: 4.904 MB / 0.5687 GB, free: 9.469 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.4616, allocations: 8.031 kB / 0.5688 GB, free: 9.461 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/0.4734, allocations: 3.134 MB / 0.5718 GB, free: 6.316 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006344/0.4798, allocations: 2.208 MB / 0.574 GB, free: 4.059 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002688/0.4801, allocations: 234.2 kB / 0.5742 GB, free: 3.828 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001416/0.4815, allocations: 315.8 kB / 0.5745 GB, free: 3.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01998/0.5015, allocations: 12.09 MB / 0.5863 GB, free: 6.891 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001243/0.5017, allocations: 31.66 kB / 0.5863 GB, free: 6.859 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009/0.5026, allocations: 147.8 kB / 0.5865 GB, free: 6.715 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005089/0.5077, allocations: 2.828 MB / 0.5892 GB, free: 3.883 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0239/0.5316, allocations: 11.36 MB / 0.6003 GB, free: 8.508 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06298/0.5946, allocations: 41.05 MB / 0.6404 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01237/0.607, allocations: 6.076 MB / 0.6463 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004161/0.6112, allocations: 3.009 MB / 0.6493 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001922/0.6132, allocations: 1.884 MB / 0.6511 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.154e-05/0.6133, allocations: 56.56 kB / 0.6512 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=262): time 7.815e-06/0.6133, allocations: 4 kB / 0.6512 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=283): time 0.05096/0.6642, allocations: 20.13 MB / 0.6708 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.6643, allocations: 73.41 kB / 0.6709 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00498/0.6693, allocations: 3.031 MB / 0.6739 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004513/0.6698, allocations: 61.7 kB / 0.6739 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00224/0.672, allocations: 2.989 MB / 0.6768 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001288/0.6733, allocations: 1.014 MB / 0.6778 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002556/0.6759, allocations: 1.199 MB / 0.679 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.676, allocations: 301.1 kB / 0.6793 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005039/0.6811, allocations: 2.854 MB / 0.6821 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007421/0.6885, allocations: 6.034 MB / 0.688 GB, free: 11.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01302/0.7016, allocations: 9.669 MB / 0.6974 GB, free: 112 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001345/0.7017, allocations: 32 kB / 0.6974 GB, free: 80 kB / 0.545 GB Notification: Performance of matching and sorting (n=792) (initialization): time 0.01985/0.7216, allocations: 10.05 MB / 0.7073 GB, free: 6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001159/0.7218, allocations: 52 kB / 0.7073 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001979/0.722, allocations: 111.9 kB / 0.7074 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003888/0.7259, allocations: 1.365 MB / 0.7087 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005162/0.7311, allocations: 1.376 MB / 0.7101 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/0.7418, allocations: 7.797 MB / 0.7177 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004741/0.7466, allocations: 367.7 kB / 0.7181 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001173/0.7478, allocations: 340 kB / 0.7184 GB, free: 10.46 MB / 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.005436/0.7533, allocations: 2.306 MB / 0.7206 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001173/0.7545, allocations: 304.1 kB / 0.7209 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/0.7676, allocations: 6.623 MB / 0.7274 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.733e-05/0.7677, allocations: 11.95 kB / 0.7274 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.7677, allocations: 0 / 0.7274 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000902/0.7686, allocations: 333.2 kB / 0.7277 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007182/0.7693, allocations: 51.91 kB / 0.7278 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001874/0.7712, allocations: 187.7 kB / 0.7279 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005115/0.7717, allocations: 153.8 kB / 0.7281 GB, free: 428 kB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3017/1.073, allocations: 6.005 MB / 0.734 GB, free: 181.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01059/1.084, allocations: 8.456 MB / 0.7422 GB, free: 178.1 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00307/1.087, allocations: 2.386 MB / 0.7445 GB, free: 177.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002471/1.09, allocations: 1.867 MB / 0.7464 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of Backend: time 8.92e-07/1.09, allocations: 0 / 0.7464 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008326/1.098, allocations: 5.013 MB / 0.7513 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of SimCode: time 0.01434/1.112, allocations: 9.689 MB / 0.7607 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.0784/1.191, allocations: 53.55 MB / 0.813 GB, free: 118.2 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches