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.001562/0.001562, allocations: 108.3 kB / 18.4 MB, free: 4.699 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.001795/0.001795, allocations: 191 kB / 19.34 MB, free: 3.766 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.458/1.458, allocations: 222.9 MB / 243 MB, free: 15.07 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.2135/0.2135, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 77.16 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1208, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.0143/0.1351, allocations: 13.49 MB / 484.2 MB, free: 100 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008668/0.1438, allocations: 4.205 MB / 488.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00306/0.1469, allocations: 71.81 kB / 488.5 MB, free: 11.81 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004286/0.1512, allocations: 1.95 MB / 490.4 MB, free: 9.852 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004996/0.1563, allocations: 1.926 MB / 492.4 MB, free: 7.918 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.1578, allocations: 0.5498 MB / 492.9 MB, free: 7.367 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005724/0.1635, allocations: 4.03 MB / 496.9 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003407/0.167, allocations: 2.87 MB / 499.8 MB, free: 412 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00207/0.1691, allocations: 1.44 MB / 0.4895 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002496/0.1716, allocations: 2.021 MB / 0.4915 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005756/0.1722, allocations: 308 kB / 0.4918 GB, free: 12.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001927/0.1741, allocations: 1.026 MB / 0.4928 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001756/0.1759, allocations: 1.878 MB / 0.4946 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002272/0.1781, allocations: 2.26 MB / 0.4968 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00752/0.1857, allocations: 7.356 MB / 0.504 GB, free: 64 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.1857, allocations: 4 kB / 0.504 GB, free: 60 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1857, allocations: 0 / 0.504 GB, free: 60 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002916/0.1861, allocations: 0 / 0.504 GB, free: 60 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.2479/0.434, allocations: 4.891 MB / 0.5088 GB, free: 46.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.4341, allocations: 9.969 kB / 0.5088 GB, free: 46.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/0.4454, allocations: 3.136 MB / 0.5118 GB, free: 46.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006021/0.4514, allocations: 2.214 MB / 0.514 GB, free: 45.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/0.4516, allocations: 241.4 kB / 0.5142 GB, free: 45.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009463/0.4526, allocations: 304.6 kB / 0.5145 GB, free: 44.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01812/0.4707, allocations: 12.09 MB / 0.5263 GB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-05/0.4709, allocations: 35.75 kB / 0.5264 GB, free: 37.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000411/0.4713, allocations: 146.3 kB / 0.5265 GB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003472/0.4748, allocations: 2.835 MB / 0.5293 GB, free: 34.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01722/0.492, allocations: 11.36 MB / 0.5404 GB, free: 23.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05459/0.5466, allocations: 41.03 MB / 0.5804 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01194/0.5586, allocations: 6.094 MB / 0.5864 GB, free: 7.242 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004289/0.5629, allocations: 3.009 MB / 0.5893 GB, free: 4.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001911/0.5649, allocations: 1.884 MB / 0.5912 GB, free: 2.012 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.21e-05/0.565, allocations: 53.12 kB / 0.5912 GB, free: 1.953 MB / 414.1 MB Notification: Performance of pre-optimization done (n=262): time 5.481e-06/0.565, allocations: 3.844 kB / 0.5912 GB, free: 1.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=283): time 0.05284/0.6178, allocations: 20.13 MB / 0.6109 GB, free: 13.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/0.6179, allocations: 73.41 kB / 0.6109 GB, free: 13.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00573/0.6237, allocations: 3.031 MB / 0.6139 GB, free: 10.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006839/0.6244, allocations: 65.64 kB / 0.614 GB, free: 10.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002369/0.6268, allocations: 2.985 MB / 0.6169 GB, free: 7.406 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001405/0.6282, allocations: 1.017 MB / 0.6179 GB, free: 6.375 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002931/0.6311, allocations: 1.199 MB / 0.619 GB, free: 5.164 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.6313, allocations: 301.1 kB / 0.6193 GB, free: 4.867 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004323/0.6356, allocations: 2.854 MB / 0.6221 GB, free: 2.008 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006177/0.6418, allocations: 6.034 MB / 0.628 GB, free: 10.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01197/0.6538, allocations: 9.669 MB / 0.6375 GB, free: 15.22 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.996e-05/0.6539, allocations: 32 kB / 0.6375 GB, free: 15.19 MB / 478.1 MB Notification: Performance of matching and sorting (n=792) (initialization): time 0.01953/0.6735, allocations: 10.05 MB / 0.6473 GB, free: 5.121 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.543e-05/0.6736, allocations: 52 kB / 0.6473 GB, free: 5.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001238/0.6737, allocations: 108 kB / 0.6474 GB, free: 4.965 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003574/0.6773, allocations: 1.355 MB / 0.6488 GB, free: 3.605 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005273/0.6826, allocations: 1.376 MB / 0.6501 GB, free: 2.227 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/0.6936, allocations: 7.799 MB / 0.6577 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005078/0.6988, allocations: 367.6 kB / 0.6581 GB, free: 9.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001275/0.7001, allocations: 348.7 kB / 0.6584 GB, free: 9.59 MB / 494.1 MB 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.004893/0.705, allocations: 2.302 MB / 0.6607 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/0.7061, allocations: 304 kB / 0.661 GB, free: 6.973 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01159/0.7177, allocations: 6.623 MB / 0.6674 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.935e-05/0.7178, allocations: 51.98 kB / 0.6675 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.761e-05/0.7178, allocations: 4 kB / 0.6675 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.978e-05/0.7178, allocations: 11.95 kB / 0.6675 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02741/0.7452, allocations: 13.98 MB / 0.6811 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-05/0.7453, allocations: 8 kB / 0.6811 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002259/0.7476, allocations: 451.3 kB / 0.6816 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003319/0.7509, allocations: 1.213 MB / 0.6828 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004493/0.7514, allocations: 48 kB / 0.6828 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00921/0.7606, allocations: 6.969 MB / 0.6896 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/0.7607, allocations: 11.94 kB / 0.6896 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3075/1.068, allocations: 9.851 MB / 0.6992 GB, free: 169.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001695/1.07, allocations: 353.5 kB / 0.6996 GB, free: 169.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001046/1.071, allocations: 49.78 kB / 0.6996 GB, free: 169.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/1.073, allocations: 192.8 kB / 0.6998 GB, free: 169.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006471/1.073, allocations: 171.8 kB / 0.7 GB, free: 169.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003035/1.074, allocations: 73.92 kB / 0.7 GB, free: 169.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003886/1.078, allocations: 1.874 MB / 0.7019 GB, free: 169.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.31e-07/1.078, allocations: 0.7812 kB / 0.7019 GB, free: 169.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005439/1.083, allocations: 1.127 MB / 0.703 GB, free: 169.1 MB / 0.5137 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.0005851/1.084, allocations: 196.9 kB / 0.7032 GB, free: 169 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01197/1.096, allocations: 6.995 MB / 0.71 GB, free: 167 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.616e-05/1.096, allocations: 1.375 kB / 0.71 GB, free: 167 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004083/1.1, allocations: 2.856 MB / 0.7128 GB, free: 165.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/1.102, allocations: 418.4 kB / 0.7132 GB, free: 165.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01653/1.119, allocations: 11.33 MB / 0.7242 GB, free: 161 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003346/1.122, allocations: 3.576 MB / 0.7277 GB, free: 159.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004201/1.126, allocations: 2.207 MB / 0.7299 GB, free: 159.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008236/1.127, allocations: 236.1 kB / 0.7301 GB, free: 159.5 MB / 0.5137 GB Notification: Performance of SimCode: time 7.61e-07/1.127, allocations: 0 / 0.7301 GB, free: 159.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.06042/1.188, allocations: 37.57 MB / 0.7668 GB, free: 124.3 MB / 0.5137 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 gbode -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