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.00113/0.00113, allocations: 110 kB / 17.04 MB, free: 5.812 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.001136/0.001136, allocations: 196 kB / 17.98 MB, free: 5.027 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.509/1.509, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.2252/0.2252, allocations: 43.52 MB / 314.7 MB, free: 476 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.001734/0.001734, allocations: 68.89 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1425, allocations: 57.78 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01203/0.1546, allocations: 10.22 MB / 452.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01186/0.1665, allocations: 3.914 MB / 456.1 MB, free: 7.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002736/0.1693, allocations: 59.81 kB / 456.2 MB, free: 7.891 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004781/0.1742, allocations: 2.324 MB / 458.5 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006553/0.1808, allocations: 1.727 MB / 460.2 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.1829, allocations: 0.7057 MB / 460.9 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007544/0.1905, allocations: 3.813 MB / 464.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004498/0.195, allocations: 2.981 MB / 467.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002885/0.1979, allocations: 1.359 MB / 469.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003453/0.2014, allocations: 1.869 MB / 470.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006784/0.2021, allocations: 304 kB / 471.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00226/0.2044, allocations: 1.186 MB / 472.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001713/0.2061, allocations: 1.71 MB / 474.1 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002258/0.2084, allocations: 2.023 MB / 476.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009297/0.2177, allocations: 6.743 MB / 482.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.2177, allocations: 0 / 482.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.007e-06/0.2177, allocations: 3.938 kB / 482.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002564/0.218, allocations: 0 / 482.9 MB, free: 13.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.01249/0.2305, allocations: 4.426 MB / 487.3 MB, free: 8.527 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.99e-05/0.2306, allocations: 15.89 kB / 487.3 MB, free: 8.512 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008703/0.2393, allocations: 2.055 MB / 489.4 MB, free: 6.449 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007315/0.2467, allocations: 2.487 MB / 491.9 MB, free: 3.898 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002501/0.2469, allocations: 209.6 kB / 492.1 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00122/0.2482, allocations: 283.9 kB / 492.4 MB, free: 3.414 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01834/0.2665, allocations: 9.283 MB / 0.4899 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001224/0.2667, allocations: 43.58 kB / 0.4899 GB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004172/0.2671, allocations: 135.9 kB / 0.4901 GB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003687/0.2708, allocations: 1.915 MB / 0.4919 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0166/0.2874, allocations: 8.172 MB / 0.4999 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4292/0.7167, allocations: 36.22 MB / 0.5353 GB, free: 63.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009345/0.7262, allocations: 3.672 MB / 0.5389 GB, free: 62.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003704/0.7299, allocations: 2.079 MB / 0.5409 GB, free: 62.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004911/0.7305, allocations: 334.9 kB / 0.5412 GB, free: 62.12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/0.7305, allocations: 50.34 kB / 0.5413 GB, free: 62.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=156): time 5.971e-06/0.7305, allocations: 3.719 kB / 0.5413 GB, free: 62.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=177): time 0.03887/0.7694, allocations: 16.21 MB / 0.5571 GB, free: 57.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.7696, allocations: 174.1 kB / 0.5573 GB, free: 57.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006063/0.7756, allocations: 3.643 MB / 0.5608 GB, free: 55.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004838/0.7761, allocations: 54.22 kB / 0.5609 GB, free: 55.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001706/0.7779, allocations: 2.803 MB / 0.5636 GB, free: 53.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007771/0.7786, allocations: 0.6794 MB / 0.5643 GB, free: 52.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001442/0.7801, allocations: 1.152 MB / 0.5654 GB, free: 51.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.589e-05/0.7802, allocations: 304.2 kB / 0.5657 GB, free: 51.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002698/0.7829, allocations: 2.3 MB / 0.5679 GB, free: 50.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004355/0.7873, allocations: 5.636 MB / 0.5734 GB, free: 43.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008022/0.7953, allocations: 8.551 MB / 0.5818 GB, free: 33.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.467e-05/0.7954, allocations: 32.69 kB / 0.5818 GB, free: 33.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.0142/0.8096, allocations: 8.767 MB / 0.5904 GB, free: 24.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.786e-05/0.8097, allocations: 56.19 kB / 0.5904 GB, free: 24.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.572e-05/0.8098, allocations: 124 kB / 0.5906 GB, free: 24.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002565/0.8124, allocations: 1.223 MB / 0.5918 GB, free: 22.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004177/0.8166, allocations: 1.291 MB / 0.593 GB, free: 21.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007805/0.8244, allocations: 7.707 MB / 0.6005 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005248/0.8297, allocations: 337.1 kB / 0.6009 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008415/0.8306, allocations: 340 kB / 0.6012 GB, free: 13.07 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.003329/0.8339, allocations: 1.97 MB / 0.6031 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00083/0.8348, allocations: 315.9 kB / 0.6034 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006453/0.8412, allocations: 3.929 MB / 0.6072 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.96e-05/0.8413, allocations: 20 kB / 0.6073 GB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.8e-05/0.8413, allocations: 8 kB / 0.6073 GB, free: 6.809 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/0.8413, allocations: 11.97 kB / 0.6073 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01661/0.8579, allocations: 9.027 MB / 0.6161 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/0.858, allocations: 0.9844 kB / 0.6161 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/0.8593, allocations: 267.6 kB / 0.6164 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002755/0.8621, allocations: 1.058 MB / 0.6174 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001984/0.8623, allocations: 31.98 kB / 0.6174 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01057/0.8729, allocations: 7.212 MB / 0.6245 GB, free: 5.055 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.8729, allocations: 0 / 0.6245 GB, free: 5.055 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0128/0.8857, allocations: 6.845 MB / 0.6311 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002759/0.8886, allocations: 0.6803 MB / 0.6318 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00113/0.8897, allocations: 31.36 kB / 0.6318 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002212/0.892, allocations: 111.8 kB / 0.632 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004621/0.8924, allocations: 97.7 kB / 0.632 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002011/0.8927, allocations: 48 kB / 0.6321 GB, free: 13.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005226/0.8979, allocations: 2.281 MB / 0.6343 GB, free: 10.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.295e-06/0.8979, allocations: 4 kB / 0.6343 GB, free: 10.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007027/0.905, allocations: 0.9644 MB / 0.6353 GB, free: 9.973 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.000855/0.9058, allocations: 159.4 kB / 0.6354 GB, free: 9.816 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0106/0.9165, allocations: 5.486 MB / 0.6408 GB, free: 4.344 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.9165, allocations: 4.062 kB / 0.6408 GB, free: 4.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003975/0.9205, allocations: 2.036 MB / 0.6428 GB, free: 2.289 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003708/0.9242, allocations: 402.2 kB / 0.6431 GB, free: 1.914 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0211/0.9454, allocations: 8.936 MB / 0.6519 GB, free: 8.977 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006421/0.9519, allocations: 3.059 MB / 0.6549 GB, free: 5.902 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006301/0.9582, allocations: 1.811 MB / 0.6566 GB, free: 4.094 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001352/0.9596, allocations: 223.4 kB / 0.6568 GB, free: 3.875 MB / 462.1 MB Notification: Performance of SimCode: time 2.064e-06/0.9596, allocations: 4 kB / 0.6568 GB, free: 3.871 MB / 462.1 MB Notification: Performance of Templates: time 0.07393/1.034, allocations: 33.99 MB / 0.69 GB, free: 2.09 MB / 494.1 MB 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 -s cvode -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