Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001097/0.001097, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2032/0.2032, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 71.89 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1045, allocations: 62.45 MB / 481.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01547/0.12, allocations: 15.97 MB / 497.4 MB, free: 4.488 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.1301, allocations: 5.452 MB / 0.4911 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00231/0.1325, allocations: 107.7 kB / 0.4912 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008825/0.1414, allocations: 5.121 MB / 0.4962 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006294/0.1477, allocations: 2.583 MB / 0.4987 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003327/0.151, allocations: 1.396 MB / 0.5001 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2012/0.3522, allocations: 8.229 MB / 0.5081 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00932/0.3616, allocations: 7.019 MB / 0.515 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00519/0.3668, allocations: 2.772 MB / 0.5177 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005916/0.3728, allocations: 3.733 MB / 0.5213 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001748/0.3745, allocations: 0.6333 MB / 0.5219 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003345/0.3779, allocations: 1.782 MB / 0.5237 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003404/0.3813, allocations: 3.304 MB / 0.5269 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003577/0.3849, allocations: 3.694 MB / 0.5305 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009036/0.394, allocations: 11.92 MB / 0.5422 GB, free: 2.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.394, allocations: 0 / 0.5422 GB, free: 2.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.394, allocations: 2.875 kB / 0.5422 GB, free: 2.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002074/0.3942, allocations: 0 / 0.5422 GB, free: 2.48 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.01604/0.4103, allocations: 7.887 MB / 0.5499 GB, free: 12.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.4103, allocations: 8.031 kB / 0.5499 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01334/0.4237, allocations: 3.057 MB / 0.5528 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01213/0.4358, allocations: 5.033 MB / 0.5578 GB, free: 4.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002536/0.4361, allocations: 379.9 kB / 0.5581 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001241/0.4374, allocations: 0.5121 MB / 0.5586 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02622/0.4636, allocations: 15.53 MB / 0.5738 GB, free: 3.148 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001704/0.4638, allocations: 71.08 kB / 0.5739 GB, free: 3.105 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005915/0.4644, allocations: 232.8 kB / 0.5741 GB, free: 2.922 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003533/0.4679, allocations: 2.55 MB / 0.5766 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02553/0.4935, allocations: 13.1 MB / 0.5894 GB, free: 3.516 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06943/0.5629, allocations: 57.31 MB / 0.6453 GB, free: 9.367 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01647/0.5794, allocations: 6.384 MB / 0.6516 GB, free: 2.848 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004294/0.5838, allocations: 3.449 MB / 0.6549 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01741/0.6012, allocations: 11.65 MB / 0.6663 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.61e-05/0.6013, allocations: 64.58 kB / 0.6664 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=248): time 5.099e-06/0.6013, allocations: 0 / 0.6664 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=343): time 0.1292/0.7305, allocations: 39.09 MB / 0.7046 GB, free: 12.24 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.7306, allocations: 245.9 kB / 0.7048 GB, free: 11.95 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007509/0.7381, allocations: 5.698 MB / 0.7103 GB, free: 6.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005829/0.7387, allocations: 77.7 kB / 0.7104 GB, free: 6.188 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002845/0.7416, allocations: 4.346 MB / 0.7147 GB, free: 1.848 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001327/0.7429, allocations: 1.262 MB / 0.7159 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2041/0.947, allocations: 1.747 MB / 0.7176 GB, free: 187.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.191e-05/0.9471, allocations: 303.1 kB / 0.7179 GB, free: 187.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005991/0.9531, allocations: 4.089 MB / 0.7219 GB, free: 186.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007686/0.9608, allocations: 8.674 MB / 0.7304 GB, free: 179.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01441/0.9752, allocations: 13.57 MB / 0.7436 GB, free: 168.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000242/0.9755, allocations: 45.91 kB / 0.7437 GB, free: 168.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.02949/1.005, allocations: 16.4 MB / 0.7597 GB, free: 163.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.285e-05/1.005, allocations: 71.75 kB / 0.7597 GB, free: 163.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000161/1.005, allocations: 157 kB / 0.7599 GB, free: 163.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01195/1.017, allocations: 4.278 MB / 0.7641 GB, free: 162.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005418/1.023, allocations: 1.906 MB / 0.7659 GB, free: 162.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02465/1.047, allocations: 21.53 MB / 0.787 GB, free: 142.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006683/1.054, allocations: 0.5098 MB / 0.7875 GB, free: 142.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001169/1.055, allocations: 480.7 kB / 0.7879 GB, free: 142 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.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],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (1031): * Single equations (assignments): 1027 * 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 {(1,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004695/1.06, allocations: 3.132 MB / 0.791 GB, free: 138.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001199/1.061, allocations: 0.5188 MB / 0.7915 GB, free: 138.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01807/1.079, allocations: 10.11 MB / 0.8013 GB, free: 128.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.561e-05/1.079, allocations: 32 kB / 0.8014 GB, free: 128.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.056e-05/1.079, allocations: 16 kB / 0.8014 GB, free: 128.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-05/1.079, allocations: 15.94 kB / 0.8014 GB, free: 128.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03223/1.112, allocations: 20.06 MB / 0.821 GB, free: 108.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-05/1.112, allocations: 7.094 kB / 0.821 GB, free: 108.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002114/1.114, allocations: 0.4992 MB / 0.8215 GB, free: 107.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01132/1.125, allocations: 3.834 MB / 0.8252 GB, free: 104 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003839/1.126, allocations: 68.97 kB / 0.8253 GB, free: 104 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02219/1.148, allocations: 19.09 MB / 0.8439 GB, free: 84.87 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.886e-06/1.148, allocations: 14.83 kB / 0.844 GB, free: 84.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02268/1.17, allocations: 14.91 MB / 0.8585 GB, free: 69.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00148/1.172, allocations: 0.5762 MB / 0.8591 GB, free: 69.15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007643/1.173, allocations: 73.77 kB / 0.8591 GB, free: 69.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002484/1.175, allocations: 227.7 kB / 0.8594 GB, free: 68.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006341/1.176, allocations: 226.2 kB / 0.8596 GB, free: 68.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002538/1.176, allocations: 100.7 kB / 0.8597 GB, free: 68.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003973/1.18, allocations: 3.604 MB / 0.8632 GB, free: 64.96 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.51e-07/1.18, allocations: 0 / 0.8632 GB, free: 64.96 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005858/1.186, allocations: 1.755 MB / 0.8649 GB, free: 63.21 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (261): * Single equations (assignments): 257 * 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 {(1,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000556/1.187, allocations: 255.6 kB / 0.8652 GB, free: 62.97 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01119/1.198, allocations: 9.852 MB / 0.8748 GB, free: 53.11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/1.198, allocations: 4 kB / 0.8748 GB, free: 53.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004205/1.202, allocations: 3.784 MB / 0.8785 GB, free: 49.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003552/1.206, allocations: 0.7298 MB / 0.8792 GB, free: 48.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01961/1.225, allocations: 15.87 MB / 0.8947 GB, free: 32.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00425/1.229, allocations: 4.825 MB / 0.8994 GB, free: 27.74 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005297/1.235, allocations: 2.573 MB / 0.9019 GB, free: 25.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/1.236, allocations: 355.4 kB / 0.9023 GB, free: 24.81 MB / 0.545 GB Notification: Performance of SimCode: time 9.42e-07/1.236, allocations: 0 / 0.9023 GB, free: 24.81 MB / 0.545 GB Notification: Performance of Templates: time 0.2949/1.531, allocations: 71.73 MB / 0.9723 GB, free: 146 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches