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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 107.2 kB / 16.41 MB, free: 6.512 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.001826/0.001826, allocations: 192.2 kB / 17.34 MB, free: 5.734 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.505/1.505, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2453/0.2453, allocations: 43.53 MB / 314.1 MB, free: 460 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.00231/0.00231, allocations: 71.89 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1377, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01361/0.1514, allocations: 10.21 MB / 0.4974 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009355/0.1608, allocations: 3.918 MB / 0.5012 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002019/0.1629, allocations: 55.81 kB / 0.5013 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00469/0.1676, allocations: 2.317 MB / 0.5035 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005287/0.1729, allocations: 1.747 MB / 0.5052 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.175, allocations: 0.6901 MB / 0.5059 GB, free: 9.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006871/0.1819, allocations: 3.817 MB / 0.5096 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004043/0.1859, allocations: 2.993 MB / 0.5126 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002695/0.1887, allocations: 1.367 MB / 0.5139 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003402/0.1921, allocations: 1.857 MB / 0.5157 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008863/0.193, allocations: 308 kB / 0.516 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002549/0.1955, allocations: 1.182 MB / 0.5172 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001861/0.1974, allocations: 1.714 MB / 0.5188 GB, free: 11.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002532/0.2, allocations: 2.055 MB / 0.5208 GB, free: 9.902 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01022/0.2102, allocations: 6.848 MB / 0.5275 GB, free: 3.027 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.2102, allocations: 0 / 0.5275 GB, free: 3.027 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2103, allocations: 4 kB / 0.5275 GB, free: 3.023 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001945/0.2105, allocations: 0 / 0.5275 GB, free: 3.023 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: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.2979/0.5083, allocations: 4.643 MB / 0.5321 GB, free: 36.81 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.5084, allocations: 12.3 kB / 0.5321 GB, free: 36.8 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001206/0.5096, allocations: 0.662 MB / 0.5327 GB, free: 36.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02269/0.5323, allocations: 3.824 MB / 0.5365 GB, free: 36.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006028/0.5384, allocations: 2.886 MB / 0.5393 GB, free: 35.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/0.5386, allocations: 210.4 kB / 0.5395 GB, free: 35.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000586/0.5392, allocations: 277.4 kB / 0.5397 GB, free: 35.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01389/0.5531, allocations: 9.216 MB / 0.5487 GB, free: 31.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001042/0.5532, allocations: 44.08 kB / 0.5488 GB, free: 31.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003423/0.5536, allocations: 133.7 kB / 0.5489 GB, free: 31.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003014/0.5566, allocations: 1.918 MB / 0.5508 GB, free: 30.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01363/0.5702, allocations: 8.036 MB / 0.5586 GB, free: 25.76 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03727/0.6075, allocations: 36 MB / 0.5938 GB, free: 5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008282/0.6159, allocations: 3.605 MB / 0.5973 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002851/0.6188, allocations: 2.016 MB / 0.5993 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004599/0.6192, allocations: 347.9 kB / 0.5996 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.781e-05/0.6193, allocations: 56.61 kB / 0.5997 GB, free: 14.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=156): time 4.338e-06/0.6193, allocations: 3.938 kB / 0.5997 GB, free: 14.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=177): time 0.04098/0.6603, allocations: 15.56 MB / 0.6149 GB, free: 15.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.6605, allocations: 171.2 kB / 0.615 GB, free: 14.88 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00593/0.6664, allocations: 3.661 MB / 0.6186 GB, free: 11.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003993/0.6669, allocations: 53.7 kB / 0.6186 GB, free: 11.17 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002613/0.6695, allocations: 2.933 MB / 0.6215 GB, free: 8.215 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001026/0.6705, allocations: 0.7094 MB / 0.6222 GB, free: 7.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001815/0.6723, allocations: 1.131 MB / 0.6233 GB, free: 6.359 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.6725, allocations: 301.1 kB / 0.6236 GB, free: 6.062 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003634/0.6762, allocations: 2.181 MB / 0.6257 GB, free: 3.875 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007623/0.6838, allocations: 5.528 MB / 0.6311 GB, free: 12.67 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0143/0.6981, allocations: 8.351 MB / 0.6393 GB, free: 2.676 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001049/0.6983, allocations: 36 kB / 0.6393 GB, free: 2.641 MB / 478.1 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.0157/0.714, allocations: 8.289 MB / 0.6474 GB, free: 10.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.408e-05/0.7141, allocations: 59.94 kB / 0.6475 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001413/0.7143, allocations: 116 kB / 0.6476 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002487/0.7168, allocations: 0.9693 MB / 0.6485 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004298/0.7211, allocations: 1.267 MB / 0.6498 GB, free: 7.922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/0.7328, allocations: 6.929 MB / 0.6565 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00475/0.7376, allocations: 319.6 kB / 0.6568 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009936/0.7386, allocations: 336 kB / 0.6572 GB, free: 204 kB / 494.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 (671): * Single equations (assignments): 667 * 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.00389/0.7425, allocations: 1.973 MB / 0.6591 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008707/0.7434, allocations: 341.7 kB / 0.6594 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007021/0.7504, allocations: 3.563 MB / 0.6629 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.046e-05/0.7505, allocations: 20 kB / 0.6629 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.959e-05/0.7506, allocations: 15.88 kB / 0.6629 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-05/0.7506, allocations: 7.969 kB / 0.6629 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01637/0.767, allocations: 8.567 MB / 0.6713 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.907e-05/0.767, allocations: 0 / 0.6713 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/0.7685, allocations: 271.6 kB / 0.6716 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002333/0.7708, allocations: 0.8046 MB / 0.6723 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001964/0.771, allocations: 31.98 kB / 0.6724 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009679/0.7807, allocations: 6.492 MB / 0.6787 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.7808, allocations: 8 kB / 0.6787 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01089/0.7917, allocations: 6.406 MB / 0.685 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001842/0.7935, allocations: 0.6783 MB / 0.6856 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005004/0.7941, allocations: 31.94 kB / 0.6857 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/0.7955, allocations: 107.8 kB / 0.6858 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003137/0.7958, allocations: 96.86 kB / 0.6859 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/0.796, allocations: 48 kB / 0.6859 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004145/0.8001, allocations: 2.292 MB / 0.6881 GB, free: 188 kB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8001, allocations: 0 / 0.6881 GB, free: 188 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006381/0.8065, allocations: 0.9374 MB / 0.6891 GB, free: 15.25 MB / 0.5294 GB 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.01168/0.8182, allocations: 7.065 MB / 0.696 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009067/0.8273, allocations: 5.286 MB / 0.7011 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.8274, allocations: 0 / 0.7011 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003642/0.831, allocations: 1.948 MB / 0.703 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/0.8338, allocations: 415 kB / 0.7034 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3334/1.167, allocations: 43.58 MB / 0.746 GB, free: 195.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007152/1.175, allocations: 3.062 MB / 0.749 GB, free: 194.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005192/1.18, allocations: 1.811 MB / 0.7507 GB, free: 194.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002745/1.183, allocations: 1.729 MB / 0.7524 GB, free: 194.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.443e-06/1.183, allocations: 3.281 kB / 0.7524 GB, free: 194.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1392/1.322, allocations: 66.5 MB / 0.8174 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.68/19.01, allocations: 8 kB / 0.8174 GB, free: 147.9 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > 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