Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.CheckConstaintTorqueUniversalJoint,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.CheckConstaintTorqueUniversalJoint") translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,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.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 111.1 kB / 16.64 MB, free: 6.375 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.001163/0.001164, allocations: 187.5 kB / 17.56 MB, free: 5.801 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.381/1.381, allocations: 205.1 MB / 223.4 MB, free: 12.43 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.2097/0.2097, allocations: 43.51 MB / 314.3 MB, free: 0.7031 MB / 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.001334/0.001334, allocations: 66.03 kB / 382.9 MB, free: 56.94 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1029, allocations: 57.79 MB / 440.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.03577/0.1387, allocations: 41.69 MB / 482.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01972/0.1585, allocations: 9.154 MB / 491.5 MB, free: 4.301 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007806/0.1663, allocations: 175.6 kB / 491.7 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004875/0.1713, allocations: 2.224 MB / 493.9 MB, free: 1.898 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004826/0.1761, allocations: 1.616 MB / 495.5 MB, free: 284 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.178, allocations: 0.6592 MB / 496.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005478/0.1835, allocations: 3.938 MB / 0.4884 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003731/0.1872, allocations: 3.149 MB / 0.4915 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002081/0.1893, allocations: 1.382 MB / 0.4928 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002766/0.1921, allocations: 2.076 MB / 0.4948 GB, free: 5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007353/0.1929, allocations: 304 kB / 0.4951 GB, free: 4.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002141/0.195, allocations: 1.201 MB / 0.4963 GB, free: 3.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00166/0.1967, allocations: 1.742 MB / 0.498 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002178/0.1989, allocations: 2.051 MB / 0.5 GB, free: 15.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005383/0.2043, allocations: 5.352 MB / 0.5052 GB, free: 10.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2043, allocations: 0 / 0.5052 GB, free: 10.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.2043, allocations: 4 kB / 0.5052 GB, free: 10.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001382/0.2045, allocations: 0 / 0.5052 GB, free: 10.32 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.00915/0.2136, allocations: 4.43 MB / 0.5096 GB, free: 5.828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.2137, allocations: 11.89 kB / 0.5096 GB, free: 5.816 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007874/0.2216, allocations: 2.062 MB / 0.5116 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004943/0.2265, allocations: 2.444 MB / 0.514 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/0.2267, allocations: 213.6 kB / 0.5142 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006224/0.2274, allocations: 279.9 kB / 0.5145 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/0.2422, allocations: 9.287 MB / 0.5235 GB, free: 6.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001158/0.2423, allocations: 39.66 kB / 0.5236 GB, free: 6.801 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004442/0.2428, allocations: 135.9 kB / 0.5237 GB, free: 6.668 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003264/0.2461, allocations: 1.919 MB / 0.5256 GB, free: 4.746 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.217/0.4631, allocations: 8.163 MB / 0.5335 GB, free: 87.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04014/0.5033, allocations: 36.4 MB / 0.5691 GB, free: 61.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006863/0.5102, allocations: 3.674 MB / 0.5727 GB, free: 59.15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002132/0.5124, allocations: 2.079 MB / 0.5747 GB, free: 57.06 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003548/0.5127, allocations: 335.8 kB / 0.575 GB, free: 56.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.5128, allocations: 47.5 kB / 0.5751 GB, free: 56.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=156): time 4.608e-06/0.5128, allocations: 0 / 0.5751 GB, free: 56.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=177): time 0.03695/0.5498, allocations: 16.22 MB / 0.5909 GB, free: 40.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.077e-05/0.5499, allocations: 167.2 kB / 0.5911 GB, free: 40.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004843/0.5547, allocations: 3.654 MB / 0.5946 GB, free: 36.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003461/0.5551, allocations: 49.7 kB / 0.5947 GB, free: 36.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001345/0.5565, allocations: 2.795 MB / 0.5974 GB, free: 33.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007063/0.5572, allocations: 0.6879 MB / 0.5981 GB, free: 32.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002206/0.5594, allocations: 1.154 MB / 0.5992 GB, free: 31.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.429e-05/0.5594, allocations: 305.1 kB / 0.5995 GB, free: 31.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002905/0.5624, allocations: 2.287 MB / 0.6017 GB, free: 29.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004087/0.5665, allocations: 5.643 MB / 0.6072 GB, free: 21.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007359/0.5738, allocations: 8.549 MB / 0.6156 GB, free: 11.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001118/0.574, allocations: 32 kB / 0.6156 GB, free: 11.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.0135/0.5875, allocations: 8.775 MB / 0.6242 GB, free: 2.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.5877, allocations: 56.22 kB / 0.6242 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001824/0.5879, allocations: 120.3 kB / 0.6244 GB, free: 2.668 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002851/0.5907, allocations: 1.219 MB / 0.6256 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004149/0.5949, allocations: 1.294 MB / 0.6268 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/0.6055, allocations: 7.721 MB / 0.6344 GB, free: 8.293 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005033/0.6106, allocations: 327.4 kB / 0.6347 GB, free: 7.973 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001267/0.6119, allocations: 340 kB / 0.635 GB, free: 7.641 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 24 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (690): * Single equations (assignments): 686 * Array equations: 3 * 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 {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004804/0.6167, allocations: 1.965 MB / 0.6369 GB, free: 5.664 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001022/0.6178, allocations: 323.9 kB / 0.6372 GB, free: 5.344 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008084/0.6259, allocations: 3.929 MB / 0.6411 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.644e-05/0.626, allocations: 20 kB / 0.6411 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.228e-05/0.626, allocations: 8 kB / 0.6411 GB, free: 1.367 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.962e-05/0.626, allocations: 7.969 kB / 0.6411 GB, free: 1.359 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01857/0.6446, allocations: 9.024 MB / 0.6499 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2e-05/0.6447, allocations: 0 / 0.6499 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/0.6462, allocations: 283.5 kB / 0.6502 GB, free: 8.031 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002807/0.649, allocations: 1.055 MB / 0.6512 GB, free: 6.973 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002967/0.6493, allocations: 31.94 kB / 0.6512 GB, free: 6.941 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00964/0.659, allocations: 7.209 MB / 0.6583 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.659, allocations: 7.875 kB / 0.6583 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01108/0.6701, allocations: 6.85 MB / 0.665 GB, free: 8.723 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001849/0.672, allocations: 0.6803 MB / 0.6656 GB, free: 8.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009258/0.673, allocations: 24 kB / 0.6657 GB, free: 7.996 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001838/0.6748, allocations: 111.8 kB / 0.6658 GB, free: 7.887 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004048/0.6752, allocations: 96.86 kB / 0.6659 GB, free: 7.789 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001877/0.6754, allocations: 48 kB / 0.6659 GB, free: 7.742 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003978/0.6794, allocations: 2.281 MB / 0.6681 GB, free: 5.473 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6794, allocations: 4 kB / 0.6681 GB, free: 5.469 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005203/0.6847, allocations: 0.9661 MB / 0.6691 GB, free: 4.508 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (137): * Single equations (assignments): 133 * Array equations: 3 * 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,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000631/0.6853, allocations: 157.5 kB / 0.6692 GB, free: 4.352 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01167/0.697, allocations: 6.51 MB / 0.6756 GB, free: 13.87 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/0.697, allocations: 0.9375 kB / 0.6756 GB, free: 13.87 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003719/0.7008, allocations: 2.044 MB / 0.6776 GB, free: 11.81 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004015/0.7048, allocations: 400.7 kB / 0.678 GB, free: 11.43 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02047/0.7253, allocations: 11.22 MB / 0.6889 GB, free: 180 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004983/0.7303, allocations: 3.052 MB / 0.6919 GB, free: 13.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001391/0.7317, allocations: 271.4 kB / 0.6922 GB, free: 12.83 MB / 494.1 MB Notification: Performance of SimCode: time 4.178e-06/0.7318, allocations: 4 kB / 0.6922 GB, free: 12.82 MB / 494.1 MB Notification: Performance of Templates: time 0.3193/1.051, allocations: 72.41 MB / 0.7629 GB, free: 140.3 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches