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.001259/0.001259, allocations: 109.3 kB / 18.39 MB, free: 4.758 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.001411/0.001411, allocations: 184.1 kB / 19.32 MB, free: 3.828 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.374/1.374, allocations: 222.9 MB / 243 MB, free: 15.08 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.2208/0.2208, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 69.7 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1369, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01394/0.1509, allocations: 13.49 MB / 484.2 MB, free: 88 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008574/0.1595, allocations: 4.209 MB / 488.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002426/0.162, allocations: 75.81 kB / 488.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0038/0.1658, allocations: 1.954 MB / 490.4 MB, free: 9.824 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00515/0.171, allocations: 1.918 MB / 492.3 MB, free: 7.898 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.1725, allocations: 0.5459 MB / 492.9 MB, free: 7.352 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005592/0.1781, allocations: 4.032 MB / 496.9 MB, free: 3.312 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003616/0.1818, allocations: 2.874 MB / 499.8 MB, free: 392 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002396/0.1842, allocations: 1.444 MB / 0.4895 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002916/0.1871, allocations: 2.017 MB / 0.4915 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007896/0.1879, allocations: 308 kB / 0.4918 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002371/0.1903, allocations: 1.026 MB / 0.4928 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001895/0.1922, allocations: 1.886 MB / 0.4946 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002476/0.1947, allocations: 2.259 MB / 0.4968 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008343/0.2031, allocations: 7.348 MB / 0.504 GB, free: 44 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.2031, allocations: 4 kB / 0.504 GB, free: 40 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2031, allocations: 0 / 0.504 GB, free: 40 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002575/0.2034, allocations: 0 / 0.504 GB, free: 40 kB / 382.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.2847/0.4881, allocations: 4.893 MB / 0.5088 GB, free: 27.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.4882, allocations: 9.781 kB / 0.5088 GB, free: 27.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01193/0.5001, allocations: 3.132 MB / 0.5118 GB, free: 27.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008249/0.5084, allocations: 2.212 MB / 0.514 GB, free: 26.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003133/0.5088, allocations: 235.6 kB / 0.5142 GB, free: 26.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001723/0.5105, allocations: 314.2 kB / 0.5145 GB, free: 26.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02252/0.533, allocations: 12.08 MB / 0.5263 GB, free: 22.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001547/0.5333, allocations: 35.59 kB / 0.5263 GB, free: 22.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005334/0.5338, allocations: 151.3 kB / 0.5265 GB, free: 22.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00439/0.5382, allocations: 2.835 MB / 0.5293 GB, free: 21.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01927/0.5575, allocations: 11.35 MB / 0.5403 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05895/0.6165, allocations: 41.04 MB / 0.5804 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01209/0.6286, allocations: 6.079 MB / 0.5864 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004486/0.6332, allocations: 3.01 MB / 0.5893 GB, free: 7.938 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002037/0.6352, allocations: 1.889 MB / 0.5911 GB, free: 5.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.662e-05/0.6353, allocations: 56.56 kB / 0.5912 GB, free: 5.668 MB / 430.1 MB Notification: Performance of pre-optimization done (n=262): time 5.931e-06/0.6353, allocations: 0 / 0.5912 GB, free: 5.668 MB / 430.1 MB Notification: Performance of matching and sorting (n=283): time 0.04855/0.6839, allocations: 20.13 MB / 0.6109 GB, free: 1.422 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.684, allocations: 77.41 kB / 0.6109 GB, free: 1.332 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004508/0.6885, allocations: 3.026 MB / 0.6139 GB, free: 14.29 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006791/0.6892, allocations: 61.7 kB / 0.6139 GB, free: 14.22 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002061/0.6913, allocations: 2.986 MB / 0.6169 GB, free: 11.25 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001312/0.6926, allocations: 1.02 MB / 0.6179 GB, free: 10.24 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001816/0.6944, allocations: 1.2 MB / 0.619 GB, free: 9.031 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.6946, allocations: 305.1 kB / 0.6193 GB, free: 8.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004003/0.6986, allocations: 2.854 MB / 0.6221 GB, free: 5.871 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006126/0.7047, allocations: 6.031 MB / 0.628 GB, free: 14.36 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01239/0.7171, allocations: 9.664 MB / 0.6374 GB, free: 3.605 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.618e-05/0.7173, allocations: 38.39 kB / 0.6375 GB, free: 3.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=792) (initialization): time 0.02023/0.7375, allocations: 10.03 MB / 0.6473 GB, free: 9.543 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001255/0.7377, allocations: 56.03 kB / 0.6473 GB, free: 9.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002133/0.7379, allocations: 112 kB / 0.6474 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003804/0.7417, allocations: 1.37 MB / 0.6488 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005486/0.7472, allocations: 1.372 MB / 0.6501 GB, free: 6.633 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/0.7587, allocations: 7.806 MB / 0.6577 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005683/0.7645, allocations: 370.3 kB / 0.6581 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009331/0.7654, allocations: 336 kB / 0.6584 GB, free: 14 MB / 0.4981 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.004285/0.7697, allocations: 2.302 MB / 0.6607 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006703/0.7704, allocations: 304.1 kB / 0.6609 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01071/0.7811, allocations: 6.62 MB / 0.6674 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.517e-05/0.7812, allocations: 51.98 kB / 0.6675 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.7812, allocations: 4 kB / 0.6675 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.476e-05/0.7812, allocations: 15.95 kB / 0.6675 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02331/0.8046, allocations: 13.98 MB / 0.6811 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.608e-05/0.8046, allocations: 8.062 kB / 0.6811 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00198/0.8066, allocations: 459.3 kB / 0.6816 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003774/0.8104, allocations: 1.214 MB / 0.6828 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003783/0.8108, allocations: 51.98 kB / 0.6828 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01025/0.8211, allocations: 6.967 MB / 0.6896 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.219e-05/0.8211, allocations: 11.94 kB / 0.6896 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01517/0.8363, allocations: 9.86 MB / 0.6992 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/0.8376, allocations: 349.2 kB / 0.6996 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005155/0.8381, allocations: 55.12 kB / 0.6996 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/0.8397, allocations: 192.9 kB / 0.6998 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005466/0.8403, allocations: 169.5 kB / 0.7 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002323/0.8405, allocations: 83.98 kB / 0.7001 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003418/0.844, allocations: 1.871 MB / 0.7019 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.844, allocations: 4 kB / 0.7019 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.3187/1.163, allocations: 1.123 MB / 0.703 GB, free: 187.3 MB / 0.5294 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.001193/1.164, allocations: 188.4 kB / 0.7032 GB, free: 187.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01515/1.179, allocations: 6.998 MB / 0.71 GB, free: 186.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/1.179, allocations: 4.094 kB / 0.71 GB, free: 186.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005295/1.184, allocations: 2.853 MB / 0.7128 GB, free: 185.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002937/1.187, allocations: 417.4 kB / 0.7132 GB, free: 184.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01813/1.206, allocations: 11.33 MB / 0.7243 GB, free: 180.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003229/1.209, allocations: 3.573 MB / 0.7277 GB, free: 178.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004354/1.213, allocations: 2.2 MB / 0.7299 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009032/1.214, allocations: 241.7 kB / 0.7301 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of SimCode: time 8.82e-07/1.214, allocations: 0 / 0.7301 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.06008/1.274, allocations: 37.57 MB / 0.7668 GB, free: 145.4 MB / 0.5294 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 -s cvode -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