Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001567/0.001567, allocations: 112 kB / 17.08 MB, free: 6.012 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.001613/0.001613, allocations: 200.1 kB / 18.01 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2011/0.2011, allocations: 43.53 MB / 314.8 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 75.89 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.115, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.0146/0.1297, allocations: 14.22 MB / 0.5024 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009087/0.1388, allocations: 4.276 MB / 0.5066 GB, free: 9.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002417/0.1413, allocations: 67.88 kB / 0.5067 GB, free: 9.164 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0043/0.1457, allocations: 1.985 MB / 0.5086 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005254/0.151, allocations: 1.911 MB / 0.5105 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.1527, allocations: 0.5576 MB / 0.511 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006022/0.1587, allocations: 4.081 MB / 0.515 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004641/0.1634, allocations: 2.886 MB / 0.5178 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002968/0.1664, allocations: 1.475 MB / 0.5193 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003525/0.17, allocations: 2.028 MB / 0.5213 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001183/0.1712, allocations: 311.9 kB / 0.5215 GB, free: 9.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002781/0.174, allocations: 1.014 MB / 0.5225 GB, free: 8.824 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002558/0.1766, allocations: 1.882 MB / 0.5244 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004072/0.1807, allocations: 2.271 MB / 0.5266 GB, free: 4.652 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2423/0.4229, allocations: 7.367 MB / 0.5338 GB, free: 14.24 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.423, allocations: 0.7031 kB / 0.5338 GB, free: 14.24 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.423, allocations: 0 / 0.5338 GB, free: 14.24 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000295/0.4233, allocations: 1.062 kB / 0.5338 GB, free: 14.24 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.01343/0.4368, allocations: 4.909 MB / 0.5386 GB, free: 12.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.4368, allocations: 14.08 kB / 0.5386 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01206/0.4489, allocations: 3.134 MB / 0.5417 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006089/0.455, allocations: 2.268 MB / 0.5439 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003159/0.4554, allocations: 240 kB / 0.5441 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00187/0.4572, allocations: 306.3 kB / 0.5444 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.024/0.4813, allocations: 12.1 MB / 0.5562 GB, free: 8.461 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001352/0.4814, allocations: 27.38 kB / 0.5562 GB, free: 8.461 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006117/0.4821, allocations: 148.9 kB / 0.5564 GB, free: 8.402 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004556/0.4866, allocations: 2.839 MB / 0.5592 GB, free: 7.934 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02076/0.5074, allocations: 11.37 MB / 0.5703 GB, free: 2.723 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06239/0.5698, allocations: 40.96 MB / 0.6103 GB, free: 9.441 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01169/0.5816, allocations: 6.067 MB / 0.6162 GB, free: 3.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004001/0.5856, allocations: 3.012 MB / 0.6191 GB, free: 144 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001719/0.5874, allocations: 1.883 MB / 0.621 GB, free: 13.94 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.5874, allocations: 56.56 kB / 0.621 GB, free: 13.88 MB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 7.203e-06/0.5874, allocations: 0 / 0.621 GB, free: 13.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=283): time 0.05243/0.6399, allocations: 20.15 MB / 0.6407 GB, free: 9.598 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/0.64, allocations: 73.41 kB / 0.6408 GB, free: 9.516 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004477/0.6445, allocations: 3.059 MB / 0.6438 GB, free: 6.441 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007789/0.6453, allocations: 62.47 kB / 0.6438 GB, free: 6.375 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001986/0.6473, allocations: 3.014 MB / 0.6468 GB, free: 3.371 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001506/0.6488, allocations: 1.011 MB / 0.6477 GB, free: 2.367 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00195/0.6508, allocations: 1.208 MB / 0.6489 GB, free: 1.152 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.737e-05/0.6509, allocations: 309.1 kB / 0.6492 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004158/0.655, allocations: 2.864 MB / 0.652 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007107/0.6622, allocations: 6.065 MB / 0.6579 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01245/0.6747, allocations: 9.722 MB / 0.6674 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001109/0.6748, allocations: 36 kB / 0.6675 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=798) (initialization): time 0.02099/0.6958, allocations: 10.08 MB / 0.6773 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.299e-05/0.696, allocations: 52 kB / 0.6774 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001399/0.6961, allocations: 112 kB / 0.6775 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003796/0.6999, allocations: 1.363 MB / 0.6788 GB, free: 448 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005328/0.7053, allocations: 1.384 MB / 0.6802 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01145/0.7168, allocations: 7.812 MB / 0.6878 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005328/0.7221, allocations: 370.7 kB / 0.6881 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001566/0.7237, allocations: 345.4 kB / 0.6885 GB, free: 6.414 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 507 * Number of states: 0 () * Number of discrete variables: 30 (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 (728): * Single equations (assignments): 721 * 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.006202/0.73, allocations: 2.311 MB / 0.6907 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001128/0.7311, allocations: 308 kB / 0.691 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01349/0.7446, allocations: 6.622 MB / 0.6975 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.888e-05/0.7447, allocations: 59.92 kB / 0.6975 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.039e-05/0.7448, allocations: 4 kB / 0.6975 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.619e-05/0.7448, allocations: 11.95 kB / 0.6976 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02956/0.7744, allocations: 13.89 MB / 0.7111 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.174e-05/0.7745, allocations: 8 kB / 0.7111 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002332/0.7768, allocations: 451.3 kB / 0.7116 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003542/0.7804, allocations: 1.219 MB / 0.7128 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006102/0.781, allocations: 51.98 kB / 0.7128 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009539/0.7906, allocations: 7.015 MB / 0.7197 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.248e-05/0.7906, allocations: 11.94 kB / 0.7197 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01736/0.808, allocations: 9.863 MB / 0.7293 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002546/0.8106, allocations: 0.8173 MB / 0.7301 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001132/0.8118, allocations: 56.8 kB / 0.7301 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002431/0.8142, allocations: 195.6 kB / 0.7303 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006862/0.8149, allocations: 161.6 kB / 0.7305 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003879/0.8153, allocations: 79.98 kB / 0.7306 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003859/0.8192, allocations: 1.887 MB / 0.7324 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.6e-07/0.8192, allocations: 0 / 0.7324 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006826/0.826, allocations: 1.136 MB / 0.7335 GB, free: 7.754 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.0009741/0.8271, allocations: 186 kB / 0.7337 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0124/0.8395, allocations: 7.01 MB / 0.7405 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/0.8395, allocations: 0 / 0.7405 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005657/0.8452, allocations: 2.86 MB / 0.7433 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004344/0.8496, allocations: 417.8 kB / 0.7437 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02448/0.8741, allocations: 11.86 MB / 0.7553 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2431/1.117, allocations: 3.58 MB / 0.7588 GB, free: 212.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001701/1.119, allocations: 291.8 kB / 0.7591 GB, free: 212.1 MB / 0.5919 GB Notification: Performance of SimCode: time 1.342e-06/1.119, allocations: 0 / 0.7591 GB, free: 212.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.1118/1.231, allocations: 85.25 MB / 0.8423 GB, free: 148 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches