Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001187/0.001187, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001437/0.001437, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.596/1.596, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2256/0.2256, allocations: 46.11 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 71.3 kB / 417.6 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1386, allocations: 62.44 MB / 480 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01565/0.1543, allocations: 13.23 MB / 493.2 MB, free: 7.984 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01287/0.1672, allocations: 4.864 MB / 498.1 MB, free: 3.105 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003526/0.1708, allocations: 83.75 kB / 498.2 MB, free: 3.023 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008687/0.1795, allocations: 3.964 MB / 0.4904 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008257/0.1878, allocations: 2.175 MB / 0.4925 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003695/0.1916, allocations: 1.178 MB / 0.4937 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01043/0.202, allocations: 5.803 MB / 0.4993 GB, free: 5.871 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009295/0.2113, allocations: 5.182 MB / 0.5044 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2986/0.51, allocations: 2.161 MB / 0.5065 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006911/0.5169, allocations: 2.956 MB / 0.5094 GB, free: 16.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002799/0.5198, allocations: 0.5032 MB / 0.5099 GB, free: 16.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005599/0.5254, allocations: 1.64 MB / 0.5115 GB, free: 16.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006985/0.5324, allocations: 2.634 MB / 0.5141 GB, free: 16.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009078/0.5415, allocations: 3.003 MB / 0.517 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01422/0.5558, allocations: 9.605 MB / 0.5264 GB, free: 12.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5558, allocations: 0 / 0.5264 GB, free: 12.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5558, allocations: 0.5625 kB / 0.5264 GB, free: 12.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003756/0.5562, allocations: 0 / 0.5264 GB, free: 12.47 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.01683/0.573, allocations: 6.502 MB / 0.5327 GB, free: 8.262 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.5731, allocations: 12.28 kB / 0.5327 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01765/0.5908, allocations: 2.707 MB / 0.5354 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007988/0.5988, allocations: 3.583 MB / 0.5389 GB, free: 4.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002849/0.5991, allocations: 345 kB / 0.5392 GB, free: 4.754 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002073/0.6012, allocations: 436.3 kB / 0.5396 GB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0265/0.6277, allocations: 13.85 MB / 0.5531 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001668/0.6279, allocations: 52.38 kB / 0.5532 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006751/0.6286, allocations: 197.1 kB / 0.5534 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003772/0.6324, allocations: 2.411 MB / 0.5557 GB, free: 6.266 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02695/0.6593, allocations: 11.77 MB / 0.5672 GB, free: 10.72 MB / 414.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.07604/0.7354, allocations: 51.78 MB / 0.6178 GB, free: 6.172 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01414/0.7496, allocations: 4.748 MB / 0.6224 GB, free: 1.289 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004585/0.7542, allocations: 2.958 MB / 0.6253 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02069/0.7749, allocations: 12.93 MB / 0.6379 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.012e-05/0.775, allocations: 63.86 kB / 0.638 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of pre-optimization done (n=197): time 5.801e-06/0.7751, allocations: 0 / 0.638 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of matching and sorting (n=248): time 0.1677/0.9427, allocations: 43.2 MB / 0.6802 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001606/0.9429, allocations: 238.2 kB / 0.6804 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01056/0.9535, allocations: 4.762 MB / 0.6851 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0008194/0.9544, allocations: 61.7 kB / 0.6851 GB, free: 452 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003629/0.958, allocations: 3.838 MB / 0.6889 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002177/0.9602, allocations: 0.9422 MB / 0.6898 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005329/0.9656, allocations: 1.507 MB / 0.6913 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.9657, allocations: 305.1 kB / 0.6916 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006868/0.9726, allocations: 3.45 MB / 0.6949 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01088/0.9835, allocations: 7.706 MB / 0.7025 GB, free: 12.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3041/1.288, allocations: 11.88 MB / 0.7141 GB, free: 186.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002284/1.288, allocations: 42.56 kB / 0.7141 GB, free: 186.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.04037/1.328, allocations: 14.49 MB / 0.7282 GB, free: 183.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/1.328, allocations: 70.03 kB / 0.7283 GB, free: 183.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00025/1.329, allocations: 152.4 kB / 0.7285 GB, free: 183.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01272/1.341, allocations: 4.031 MB / 0.7324 GB, free: 182.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005327/1.347, allocations: 1.63 MB / 0.734 GB, free: 182.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02451/1.371, allocations: 19.86 MB / 0.7534 GB, free: 174 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007116/1.379, allocations: 459.1 kB / 0.7538 GB, free: 173.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001173/1.38, allocations: 442.3 kB / 0.7542 GB, free: 173.2 MB / 0.545 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.004891/1.385, allocations: 2.656 MB / 0.7568 GB, free: 170.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008555/1.385, allocations: 429.7 kB / 0.7572 GB, free: 170.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01707/1.403, allocations: 8.639 MB / 0.7657 GB, free: 162.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.503e-05/1.403, allocations: 28 kB / 0.7657 GB, free: 162.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-05/1.403, allocations: 12 kB / 0.7657 GB, free: 162.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.826e-05/1.403, allocations: 15.95 kB / 0.7657 GB, free: 162.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03043/1.433, allocations: 17.9 MB / 0.7832 GB, free: 144.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-05/1.433, allocations: 4 kB / 0.7832 GB, free: 144.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002128/1.435, allocations: 399.4 kB / 0.7836 GB, free: 144 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01131/1.447, allocations: 4.082 MB / 0.7876 GB, free: 139.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005905/1.447, allocations: 39.98 kB / 0.7876 GB, free: 139.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02108/1.468, allocations: 18.23 MB / 0.8054 GB, free: 121.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.468, allocations: 0.875 kB / 0.8054 GB, free: 121.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02165/1.49, allocations: 13.24 MB / 0.8183 GB, free: 108.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/1.491, allocations: 467.4 kB / 0.8188 GB, free: 108 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007689/1.492, allocations: 40 kB / 0.8188 GB, free: 107.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0023/1.494, allocations: 215.7 kB / 0.819 GB, free: 107.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005916/1.495, allocations: 154.2 kB / 0.8192 GB, free: 107.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001997/1.495, allocations: 68.92 kB / 0.8192 GB, free: 107.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00432/1.5, allocations: 2.973 MB / 0.8221 GB, free: 104.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.61e-07/1.5, allocations: 0 / 0.8221 GB, free: 104.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007247/1.507, allocations: 1.465 MB / 0.8236 GB, free: 103.1 MB / 0.545 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.0008496/1.508, allocations: 225 kB / 0.8238 GB, free: 102.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01496/1.523, allocations: 10.03 MB / 0.8336 GB, free: 92.86 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.116e-06/1.523, allocations: 0 / 0.8336 GB, free: 92.86 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0037/1.526, allocations: 3.12 MB / 0.8366 GB, free: 89.71 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003391/1.53, allocations: 0.5249 MB / 0.8371 GB, free: 89.21 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02069/1.551, allocations: 13 MB / 0.8498 GB, free: 76.19 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003857/1.554, allocations: 4.087 MB / 0.8538 GB, free: 72.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004939/1.559, allocations: 2.198 MB / 0.856 GB, free: 69.87 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008433/1.56, allocations: 279.4 kB / 0.8562 GB, free: 69.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.152e-06/1.56, allocations: 0 / 0.8562 GB, free: 69.6 MB / 0.545 GB Notification: Performance of Templates: time 0.3438/1.904, allocations: 64.45 MB / 0.9192 GB, free: 176.2 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches