Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001129, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.00116/0.00116, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.333/1.333, allocations: 222.9 MB / 243 MB, free: 15.09 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.2026/0.2026, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 65.56 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1359, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01467/0.1506, allocations: 11.97 MB / 482.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009094/0.1597, allocations: 4.367 MB / 487 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.1613, allocations: 75.75 kB / 487.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004849/0.1662, allocations: 2.749 MB / 489.9 MB, free: 10.42 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004619/0.1709, allocations: 2.054 MB / 491.9 MB, free: 8.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002025/0.1729, allocations: 1.002 MB / 492.9 MB, free: 7.359 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006813/0.1797, allocations: 5.294 MB / 498.2 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003944/0.1837, allocations: 3.444 MB / 0.4899 GB, free: 14.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002668/0.1864, allocations: 1.748 MB / 0.4916 GB, free: 12.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003577/0.19, allocations: 2.442 MB / 0.494 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008747/0.1909, allocations: 371.9 kB / 0.4943 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002521/0.1934, allocations: 1.412 MB / 0.4957 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002111/0.1955, allocations: 2.201 MB / 0.4979 GB, free: 6.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002863/0.1984, allocations: 2.501 MB / 0.5003 GB, free: 3.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2637/0.4621, allocations: 8.07 MB / 0.5082 GB, free: 24.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.4622, allocations: 1.094 kB / 0.5082 GB, free: 24.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4622, allocations: 0 / 0.5082 GB, free: 24.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003802/0.4626, allocations: 2.25 kB / 0.5082 GB, free: 24.17 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.02031/0.4829, allocations: 5.735 MB / 0.5138 GB, free: 22.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.483, allocations: 10.03 kB / 0.5138 GB, free: 22.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01702/0.5, allocations: 2.599 MB / 0.5163 GB, free: 21.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01148/0.5115, allocations: 3.209 MB / 0.5195 GB, free: 21.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005336/0.5121, allocations: 256.4 kB / 0.5197 GB, free: 21.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002858/0.515, allocations: 348.2 kB / 0.5201 GB, free: 21.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02797/0.543, allocations: 12.36 MB / 0.5321 GB, free: 16.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002664/0.5433, allocations: 55.89 kB / 0.5322 GB, free: 16.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001687/0.545, allocations: 166.2 kB / 0.5323 GB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003731/0.5487, allocations: 2.376 MB / 0.5347 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02117/0.5699, allocations: 10.85 MB / 0.5452 GB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06874/0.6387, allocations: 48.59 MB / 0.5927 GB, free: 5.375 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0167/0.6554, allocations: 6.046 MB / 0.5986 GB, free: 15.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004991/0.6605, allocations: 3.295 MB / 0.6018 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02558/0.6861, allocations: 13.52 MB / 0.615 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.281e-05/0.6862, allocations: 59.62 kB / 0.6151 GB, free: 14.07 MB / 462.1 MB Notification: Performance of pre-optimization done (n=204): time 4.789e-06/0.6862, allocations: 0 / 0.6151 GB, free: 14.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.1082/0.7944, allocations: 36.29 MB / 0.6505 GB, free: 9.691 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.7946, allocations: 209.9 kB / 0.6507 GB, free: 9.441 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008194/0.8028, allocations: 4.365 MB / 0.655 GB, free: 5.059 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006388/0.8034, allocations: 65.7 kB / 0.655 GB, free: 4.988 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002449/0.8059, allocations: 3.384 MB / 0.6584 GB, free: 1.625 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00175/0.8076, allocations: 0.9899 MB / 0.6593 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003368/0.811, allocations: 1.411 MB / 0.6607 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.424e-05/0.8111, allocations: 305.1 kB / 0.661 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005358/0.8165, allocations: 3.285 MB / 0.6642 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008727/0.8253, allocations: 7.207 MB / 0.6712 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01495/0.8402, allocations: 11.23 MB / 0.6822 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001336/0.8404, allocations: 40 kB / 0.6822 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.03095/0.8714, allocations: 13.27 MB / 0.6952 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.8715, allocations: 67.94 kB / 0.6953 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001704/0.8717, allocations: 136 kB / 0.6954 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009756/0.8814, allocations: 3.406 MB / 0.6987 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005607/0.8871, allocations: 1.567 MB / 0.7003 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2465/1.134, allocations: 17.55 MB / 0.7174 GB, free: 179.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00725/1.141, allocations: 436.1 kB / 0.7178 GB, free: 179.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001762/1.143, allocations: 409.8 kB / 0.7182 GB, free: 179.7 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (841): * Single equations (assignments): 837 * 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 {(5,50,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006072/1.149, allocations: 2.348 MB / 0.7205 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001595/1.15, allocations: 406.7 kB / 0.7209 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01702/1.167, allocations: 8.004 MB / 0.7287 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-05/1.168, allocations: 34.17 kB / 0.7287 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.484e-05/1.168, allocations: 12.69 kB / 0.7287 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.136e-05/1.168, allocations: 11.16 kB / 0.7288 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03247/1.2, allocations: 15.48 MB / 0.7439 GB, free: 168 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.743e-05/1.2, allocations: 0 / 0.7439 GB, free: 168 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002143/1.202, allocations: 385.4 kB / 0.7442 GB, free: 167.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008654/1.211, allocations: 3.168 MB / 0.7473 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006769/1.212, allocations: 40 kB / 0.7474 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01933/1.231, allocations: 15.75 MB / 0.7627 GB, free: 148.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.231, allocations: 3.938 kB / 0.7627 GB, free: 148.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01999/1.251, allocations: 12.13 MB / 0.7746 GB, free: 136.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001412/1.253, allocations: 450.5 kB / 0.775 GB, free: 136.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001539/1.254, allocations: 44 kB / 0.7751 GB, free: 136.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003183/1.257, allocations: 191.7 kB / 0.7753 GB, free: 136 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008478/1.258, allocations: 148.8 kB / 0.7754 GB, free: 135.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004035/1.259, allocations: 64 kB / 0.7755 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005207/1.264, allocations: 2.741 MB / 0.7781 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.91e-07/1.264, allocations: 0 / 0.7781 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007925/1.272, allocations: 1.366 MB / 0.7795 GB, free: 131.7 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 (197): * Single equations (assignments): 193 * 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 {(5,44,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009794/1.273, allocations: 179.4 kB / 0.7796 GB, free: 131.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01296/1.286, allocations: 8.224 MB / 0.7877 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.286, allocations: 0 / 0.7877 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005006/1.291, allocations: 3.317 MB / 0.7909 GB, free: 120.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004723/1.296, allocations: 0.4983 MB / 0.7914 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02319/1.319, allocations: 11.87 MB / 0.803 GB, free: 107.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00669/1.325, allocations: 3.666 MB / 0.8066 GB, free: 104 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006275/1.332, allocations: 2.188 MB / 0.8087 GB, free: 101.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001442/1.333, allocations: 279.4 kB / 0.809 GB, free: 101.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.022e-06/1.333, allocations: 0 / 0.809 GB, free: 101.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.08749/1.421, allocations: 54.69 MB / 0.8624 GB, free: 47.21 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches