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.001191/0.001191, allocations: 104.2 kB / 16.93 MB, free: 6.176 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.00119/0.00119, allocations: 191.4 kB / 17.86 MB, free: 5.277 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.41/1.41, allocations: 205.1 MB / 223.7 MB, free: 12.33 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.2059/0.2059, allocations: 43.52 MB / 314.6 MB, free: 0.5469 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.001531/0.001531, allocations: 68.61 kB / 383.4 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1063, allocations: 57.8 MB / 441.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.009199/0.1156, allocations: 10.21 MB / 451.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007694/0.1233, allocations: 3.925 MB / 455.3 MB, free: 8.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/0.1249, allocations: 51.88 kB / 455.4 MB, free: 8.668 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004182/0.1291, allocations: 2.317 MB / 457.7 MB, free: 6.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004442/0.1336, allocations: 1.735 MB / 459.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.1353, allocations: 0.7096 MB / 460.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005863/0.1412, allocations: 3.805 MB / 463.9 MB, free: 80 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003452/0.1447, allocations: 2.981 MB / 466.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002214/0.1469, allocations: 1.367 MB / 468.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002893/0.1498, allocations: 1.865 MB / 470.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007732/0.1506, allocations: 304 kB / 470.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/0.1528, allocations: 1.182 MB / 471.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001614/0.1544, allocations: 1.714 MB / 473.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002223/0.1567, allocations: 2.02 MB / 475.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008418/0.1651, allocations: 6.523 MB / 481.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1651, allocations: 0 / 481.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1652, allocations: 4 kB / 481.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001926/0.1654, allocations: 0 / 481.9 MB, free: 14.02 MB / 366.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.009659/0.175, allocations: 4.427 MB / 486.3 MB, free: 9.531 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.1751, allocations: 15.89 kB / 486.3 MB, free: 9.516 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008844/0.1839, allocations: 2.059 MB / 488.4 MB, free: 7.449 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005811/0.1898, allocations: 2.452 MB / 490.8 MB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001596/0.19, allocations: 201.7 kB / 491 MB, free: 4.734 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008153/0.1908, allocations: 279.9 kB / 491.3 MB, free: 4.461 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01583/0.2067, allocations: 9.294 MB / 0.4889 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001298/0.2068, allocations: 39.64 kB / 0.4889 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004339/0.2073, allocations: 135.9 kB / 0.489 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003343/0.2106, allocations: 1.915 MB / 0.4909 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0156/0.2263, allocations: 8.164 MB / 0.4989 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3118/0.5381, allocations: 36.39 MB / 0.5344 GB, free: 63.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008427/0.5466, allocations: 3.677 MB / 0.538 GB, free: 62.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002933/0.5496, allocations: 2.08 MB / 0.5401 GB, free: 62.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003961/0.55, allocations: 337.5 kB / 0.5404 GB, free: 62.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.55, allocations: 47.64 kB / 0.5404 GB, free: 62.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=156): time 4.9e-06/0.55, allocations: 0 / 0.5404 GB, free: 62.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=177): time 0.0393/0.5894, allocations: 16.21 MB / 0.5562 GB, free: 57.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.295e-05/0.5895, allocations: 179.8 kB / 0.5564 GB, free: 57.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004358/0.5938, allocations: 3.649 MB / 0.56 GB, free: 56.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003032/0.5942, allocations: 49.58 kB / 0.56 GB, free: 56.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00134/0.5955, allocations: 2.802 MB / 0.5628 GB, free: 53.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005915/0.5961, allocations: 0.679 MB / 0.5634 GB, free: 53.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001243/0.5974, allocations: 1.156 MB / 0.5646 GB, free: 52.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.803e-05/0.5974, allocations: 308.5 kB / 0.5649 GB, free: 52.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002602/0.6, allocations: 2.291 MB / 0.5671 GB, free: 50.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004479/0.6045, allocations: 5.64 MB / 0.5726 GB, free: 43.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007615/0.6122, allocations: 8.551 MB / 0.5809 GB, free: 33.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.489e-05/0.6123, allocations: 32 kB / 0.581 GB, free: 33.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01254/0.6248, allocations: 8.772 MB / 0.5895 GB, free: 24.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.68e-05/0.625, allocations: 59.94 kB / 0.5896 GB, free: 24.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.151e-05/0.6251, allocations: 116 kB / 0.5897 GB, free: 24.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002566/0.6276, allocations: 1.228 MB / 0.5909 GB, free: 23.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003796/0.6314, allocations: 1.294 MB / 0.5922 GB, free: 21.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00776/0.6392, allocations: 7.704 MB / 0.5997 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004846/0.6441, allocations: 327.4 kB / 0.6 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008926/0.645, allocations: 349.5 kB / 0.6003 GB, free: 13.39 MB / 414.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.003024/0.6481, allocations: 1.965 MB / 0.6023 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006927/0.6488, allocations: 319.8 kB / 0.6026 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005885/0.6546, allocations: 3.936 MB / 0.6064 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-05/0.6547, allocations: 20 kB / 0.6064 GB, free: 7.133 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.6547, allocations: 7.938 kB / 0.6064 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.6547, allocations: 7.969 kB / 0.6064 GB, free: 7.117 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/0.669, allocations: 9.042 MB / 0.6153 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.931e-05/0.6691, allocations: 0 / 0.6153 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001534/0.6706, allocations: 276.1 kB / 0.6155 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003051/0.6737, allocations: 1.058 MB / 0.6166 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002553/0.674, allocations: 30.81 kB / 0.6166 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009869/0.6839, allocations: 7.223 MB / 0.6237 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.6839, allocations: 4 kB / 0.6237 GB, free: 5.344 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01131/0.6952, allocations: 6.837 MB / 0.6303 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001812/0.6971, allocations: 0.669 MB / 0.631 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006093/0.6977, allocations: 28 kB / 0.631 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001566/0.6993, allocations: 119.8 kB / 0.6311 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003632/0.6997, allocations: 104.7 kB / 0.6312 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/0.6998, allocations: 47.36 kB / 0.6313 GB, free: 13.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003779/0.7036, allocations: 2.281 MB / 0.6335 GB, free: 11.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.7036, allocations: 0 / 0.6335 GB, free: 11.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005221/0.7089, allocations: 0.967 MB / 0.6345 GB, free: 10.27 MB / 446.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.0004746/0.7094, allocations: 159.8 kB / 0.6346 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.011/0.7204, allocations: 6.508 MB / 0.641 GB, free: 3.637 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.7204, allocations: 0 / 0.641 GB, free: 3.637 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00343/0.7239, allocations: 2.033 MB / 0.6429 GB, free: 1.582 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002672/0.7265, allocations: 393.5 kB / 0.6433 GB, free: 1.211 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01656/0.7431, allocations: 9.443 MB / 0.6525 GB, free: 7.758 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003576/0.7468, allocations: 3.05 MB / 0.6555 GB, free: 4.691 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/0.748, allocations: 279.3 kB / 0.6558 GB, free: 4.418 MB / 462.1 MB Notification: Performance of SimCode: time 3.416e-06/0.748, allocations: 0 / 0.6558 GB, free: 4.418 MB / 462.1 MB Notification: Performance of Templates: time 0.3522/1.1, allocations: 72.42 MB / 0.7265 GB, free: 176.7 MB / 0.5137 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches