Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001129/0.001129, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 242.2 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2136/0.2136, allocations: 44.18 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 68.83 kB / 408.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.139, allocations: 60.83 MB / 469.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01805/0.1571, allocations: 13.26 MB / 482.5 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01391/0.1711, allocations: 4.849 MB / 487.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003181/0.1743, allocations: 83.75 kB / 487.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008473/0.1828, allocations: 3.98 MB / 491.4 MB, free: 8.078 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007269/0.1902, allocations: 2.198 MB / 493.6 MB, free: 5.871 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003363/0.1936, allocations: 1.178 MB / 494.8 MB, free: 4.691 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009706/0.2033, allocations: 5.738 MB / 0.4888 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008271/0.2116, allocations: 5.194 MB / 0.4939 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00461/0.2163, allocations: 2.173 MB / 0.496 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005481/0.2218, allocations: 2.956 MB / 0.4989 GB, free: 4.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003888/0.2257, allocations: 0.5 MB / 0.4994 GB, free: 4.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007513/0.2333, allocations: 1.662 MB / 0.501 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2503/0.4836, allocations: 2.658 MB / 0.5036 GB, free: 20.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005417/0.489, allocations: 3.02 MB / 0.5065 GB, free: 19.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01262/0.5017, allocations: 9.664 MB / 0.516 GB, free: 18.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.5017, allocations: 0 / 0.516 GB, free: 18.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5017, allocations: 0 / 0.516 GB, free: 18.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003917/0.5021, allocations: 1.625 kB / 0.516 GB, free: 18.37 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.02473/0.5269, allocations: 6.529 MB / 0.5224 GB, free: 15.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.389e-05/0.5269, allocations: 9.844 kB / 0.5224 GB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01939/0.5463, allocations: 2.711 MB / 0.525 GB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009787/0.5562, allocations: 3.624 MB / 0.5286 GB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003255/0.5565, allocations: 358.5 kB / 0.5289 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002281/0.5588, allocations: 430.8 kB / 0.5293 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02726/0.5861, allocations: 13.85 MB / 0.5428 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002255/0.5863, allocations: 55.42 kB / 0.5429 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009013/0.5873, allocations: 198.7 kB / 0.5431 GB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003302/0.5906, allocations: 2.414 MB / 0.5454 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02685/0.6174, allocations: 11.74 MB / 0.5569 GB, free: 9.02 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08421/0.7017, allocations: 51.78 MB / 0.6075 GB, free: 4.484 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01336/0.7151, allocations: 4.752 MB / 0.6121 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004339/0.7195, allocations: 2.95 MB / 0.615 GB, free: 12.63 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02407/0.7436, allocations: 12.86 MB / 0.6275 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.134e-05/0.7437, allocations: 59.72 kB / 0.6276 GB, free: 15.23 MB / 478.1 MB Notification: Performance of pre-optimization done (n=197): time 8.787e-06/0.7437, allocations: 0 / 0.6276 GB, free: 15.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=248): time 0.1667/0.9104, allocations: 43.41 MB / 0.67 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/0.9106, allocations: 231.6 kB / 0.6702 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007976/0.9186, allocations: 4.77 MB / 0.6749 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007433/0.9194, allocations: 61.7 kB / 0.6749 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003005/0.9224, allocations: 3.842 MB / 0.6787 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0016/0.924, allocations: 0.9412 MB / 0.6796 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00259/0.9266, allocations: 1.51 MB / 0.6811 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.9267, allocations: 309.1 kB / 0.6814 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005708/0.9324, allocations: 3.438 MB / 0.6847 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009323/0.9418, allocations: 7.712 MB / 0.6923 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2572/1.199, allocations: 11.86 MB / 0.7038 GB, free: 181.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001248/1.199, allocations: 43.38 kB / 0.7039 GB, free: 181.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.03433/1.234, allocations: 14.48 MB / 0.718 GB, free: 178.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.243e-05/1.234, allocations: 68.31 kB / 0.7181 GB, free: 178.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001638/1.234, allocations: 145.9 kB / 0.7182 GB, free: 178.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0114/1.245, allocations: 4.029 MB / 0.7222 GB, free: 177.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005493/1.251, allocations: 1.632 MB / 0.7238 GB, free: 177.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02279/1.274, allocations: 19.86 MB / 0.7432 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006444/1.28, allocations: 461.1 kB / 0.7436 GB, free: 163.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001347/1.281, allocations: 439.3 kB / 0.744 GB, free: 163.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.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 (884): * Single equations (assignments): 880 * 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,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005/1.286, allocations: 2.66 MB / 0.7466 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008586/1.287, allocations: 424.4 kB / 0.747 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01576/1.303, allocations: 8.639 MB / 0.7554 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.635e-05/1.303, allocations: 28 kB / 0.7555 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.373e-05/1.303, allocations: 12 kB / 0.7555 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-05/1.303, allocations: 15.67 kB / 0.7555 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03106/1.334, allocations: 17.89 MB / 0.773 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.971e-05/1.334, allocations: 1.219 kB / 0.773 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002118/1.337, allocations: 395.4 kB / 0.7734 GB, free: 133.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01109/1.348, allocations: 4.077 MB / 0.7773 GB, free: 129.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006065/1.348, allocations: 40 kB / 0.7774 GB, free: 129.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02062/1.369, allocations: 18.22 MB / 0.7952 GB, free: 111.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/1.369, allocations: 8.094 kB / 0.7952 GB, free: 111.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02244/1.391, allocations: 13.22 MB / 0.8081 GB, free: 97.98 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001645/1.393, allocations: 467.4 kB / 0.8085 GB, free: 97.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001656/1.395, allocations: 36 kB / 0.8086 GB, free: 97.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003457/1.398, allocations: 219.7 kB / 0.8088 GB, free: 97.25 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008531/1.399, allocations: 156 kB / 0.8089 GB, free: 97.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004007/1.4, allocations: 63.47 kB / 0.809 GB, free: 97.04 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007551/1.407, allocations: 2.989 MB / 0.8119 GB, free: 94.05 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.643e-06/1.407, allocations: 2.156 kB / 0.8119 GB, free: 94.05 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009136/1.416, allocations: 1.487 MB / 0.8134 GB, free: 92.58 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * 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 (173): * Single equations (assignments): 169 * 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,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001058/1.417, allocations: 224.4 kB / 0.8136 GB, free: 92.36 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01549/1.433, allocations: 10.02 MB / 0.8233 GB, free: 82.38 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/1.433, allocations: 1.422 kB / 0.8234 GB, free: 82.38 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004305/1.437, allocations: 3.112 MB / 0.8264 GB, free: 79.25 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004976/1.442, allocations: 0.5261 MB / 0.8269 GB, free: 78.74 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02668/1.469, allocations: 13 MB / 0.8396 GB, free: 65.71 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00846/1.477, allocations: 4.099 MB / 0.8436 GB, free: 61.59 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007601/1.485, allocations: 2.198 MB / 0.8457 GB, free: 59.39 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00154/1.487, allocations: 283.4 kB / 0.846 GB, free: 59.11 MB / 0.5294 GB Notification: Performance of SimCode: time 9.62e-07/1.487, allocations: 0 / 0.846 GB, free: 59.11 MB / 0.5294 GB Notification: Performance of Templates: time 0.3586/1.845, allocations: 64.69 MB / 0.9092 GB, free: 174.6 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches