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.001325/0.001325, allocations: 107.7 kB / 18.44 MB, free: 4.645 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.001142/0.001142, allocations: 184.1 kB / 19.38 MB, free: 3.723 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.295/1.295, 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.2008/0.2008, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.89 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3039, allocations: 60.82 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01434/0.3183, allocations: 13.52 MB / 0.5328 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009066/0.3274, allocations: 4.2 MB / 0.5369 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00247/0.3299, allocations: 68.97 kB / 0.5369 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00402/0.334, allocations: 1.957 MB / 0.5388 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005185/0.3392, allocations: 1.92 MB / 0.5407 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.3409, allocations: 0.5551 MB / 0.5413 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0062/0.3471, allocations: 4.021 MB / 0.5452 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004329/0.3515, allocations: 2.879 MB / 0.548 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002731/0.3542, allocations: 1.46 MB / 0.5494 GB, free: 13.37 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003246/0.3575, allocations: 2.005 MB / 0.5514 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001014/0.3585, allocations: 308 kB / 0.5517 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002695/0.3612, allocations: 1.026 MB / 0.5527 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002457/0.3637, allocations: 1.882 MB / 0.5545 GB, free: 8.141 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003756/0.3675, allocations: 2.26 MB / 0.5567 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007936/0.3755, allocations: 7.342 MB / 0.5639 GB, free: 14.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3755, allocations: 3.938 kB / 0.5639 GB, free: 14.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3755, allocations: 0 / 0.5639 GB, free: 14.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002301/0.3757, allocations: 4 kB / 0.5639 GB, free: 14.49 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.01115/0.3869, allocations: 4.896 MB / 0.5687 GB, free: 9.527 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.387, allocations: 8.031 kB / 0.5687 GB, free: 9.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01105/0.398, allocations: 3.137 MB / 0.5717 GB, free: 6.371 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004756/0.4028, allocations: 2.204 MB / 0.5739 GB, free: 4.117 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002844/0.4031, allocations: 234.2 kB / 0.5741 GB, free: 3.887 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001589/0.4048, allocations: 323.8 kB / 0.5744 GB, free: 3.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02193/0.4267, allocations: 12.08 MB / 0.5862 GB, free: 6.953 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001401/0.4269, allocations: 27.72 kB / 0.5863 GB, free: 6.926 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001069/0.428, allocations: 151.8 kB / 0.5864 GB, free: 6.777 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005025/0.433, allocations: 2.839 MB / 0.5892 GB, free: 3.934 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02235/0.4554, allocations: 11.35 MB / 0.6003 GB, free: 8.559 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05942/0.5148, allocations: 41.05 MB / 0.6403 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01219/0.5271, allocations: 6.063 MB / 0.6463 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004017/0.5311, allocations: 3.014 MB / 0.6492 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001811/0.533, allocations: 1.888 MB / 0.6511 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/0.533, allocations: 56.48 kB / 0.6511 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=262): time 5.049e-06/0.5331, allocations: 0 / 0.6511 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=283): time 0.05106/0.5841, allocations: 20.13 MB / 0.6708 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.5842, allocations: 89.34 kB / 0.6709 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004794/0.589, allocations: 3.031 MB / 0.6738 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002818/0.5893, allocations: 61.7 kB / 0.6739 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001994/0.5913, allocations: 2.985 MB / 0.6768 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00131/0.5926, allocations: 1.017 MB / 0.6778 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002374/0.595, allocations: 1.195 MB / 0.6789 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.5952, allocations: 305.1 kB / 0.6792 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004461/0.5996, allocations: 2.854 MB / 0.682 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006568/0.6062, allocations: 6.022 MB / 0.6879 GB, free: 11.38 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01122/0.6175, allocations: 9.673 MB / 0.6973 GB, free: 168 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001022/0.6176, allocations: 35.94 kB / 0.6974 GB, free: 132 kB / 0.545 GB Notification: Performance of matching and sorting (n=792) (initialization): time 0.01847/0.6361, allocations: 10.05 MB / 0.7072 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.663e-05/0.6362, allocations: 55.94 kB / 0.7073 GB, free: 6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001647/0.6364, allocations: 108 kB / 0.7074 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00371/0.6401, allocations: 1.363 MB / 0.7087 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004706/0.6448, allocations: 1.372 MB / 0.71 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/0.6552, allocations: 7.808 MB / 0.7176 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004164/0.6594, allocations: 363.7 kB / 0.718 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/0.6606, allocations: 344 kB / 0.7183 GB, free: 10.52 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.004239/0.6649, allocations: 2.299 MB / 0.7206 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006905/0.6656, allocations: 308 kB / 0.7209 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/0.6773, allocations: 6.627 MB / 0.7273 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.099e-05/0.6774, allocations: 51.97 kB / 0.7274 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.039e-05/0.6774, allocations: 4 kB / 0.7274 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.103e-05/0.6774, allocations: 15.89 kB / 0.7274 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2657/0.9431, allocations: 13.87 MB / 0.741 GB, free: 178.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.799e-05/0.9432, allocations: 11.41 kB / 0.741 GB, free: 178.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001968/0.9451, allocations: 452.9 kB / 0.7414 GB, free: 178.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003089/0.9482, allocations: 1.21 MB / 0.7426 GB, free: 178.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002592/0.9485, allocations: 55.48 kB / 0.7426 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007315/0.9558, allocations: 7.007 MB / 0.7495 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.9559, allocations: 13.72 kB / 0.7495 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01136/0.9672, allocations: 9.865 MB / 0.7591 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006721/0.9679, allocations: 358 kB / 0.7595 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004546/0.9684, allocations: 51.25 kB / 0.7595 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/0.97, allocations: 194.3 kB / 0.7597 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004017/0.9704, allocations: 158.9 kB / 0.7598 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001727/0.9705, allocations: 77.56 kB / 0.7599 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002197/0.9727, allocations: 1.874 MB / 0.7617 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9728, allocations: 0.6562 kB / 0.7617 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003726/0.9765, allocations: 1.124 MB / 0.7628 GB, free: 169.1 MB / 0.5762 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.0004319/0.9769, allocations: 197.3 kB / 0.763 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00753/0.9845, allocations: 6.998 MB / 0.7699 GB, free: 162 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.9845, allocations: 0 / 0.7699 GB, free: 162 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003009/0.9875, allocations: 2.862 MB / 0.7727 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/0.9896, allocations: 431.4 kB / 0.7731 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01366/1.003, allocations: 11.83 MB / 0.7846 GB, free: 146.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002693/1.006, allocations: 3.582 MB / 0.7881 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001241/1.007, allocations: 291.4 kB / 0.7884 GB, free: 143 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/1.007, allocations: 0 / 0.7884 GB, free: 143 MB / 0.5762 GB Notification: Performance of Templates: time 0.07905/1.086, allocations: 84.43 MB / 0.8709 GB, free: 58.68 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