Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.JointUPS2,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.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_3.2.3_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.001454/0.001454, allocations: 102.2 kB / 16.27 MB, free: 5.973 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.001943/0.001943, allocations: 188.6 kB / 17.19 MB, free: 5.605 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.79/1.79, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2559/0.2559, allocations: 43.52 MB / 313.9 MB, free: 0.5352 MB / 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.001735/0.001735, allocations: 69.31 kB / 382.7 MB, free: 56.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1407, allocations: 57.79 MB / 440.5 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01281/0.1536, allocations: 12.03 MB / 452.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01031/0.1639, allocations: 4.371 MB / 456.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002761/0.1667, allocations: 71.81 kB / 457 MB, free: 6.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005439/0.1722, allocations: 2.764 MB / 459.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00593/0.1782, allocations: 2.043 MB / 461.8 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002443/0.1807, allocations: 1.006 MB / 462.8 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008029/0.1887, allocations: 5.127 MB / 467.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005734/0.1945, allocations: 3.444 MB / 471.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004874/0.1994, allocations: 1.756 MB / 473.1 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004652/0.2041, allocations: 2.465 MB / 475.6 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00186/0.206, allocations: 368 kB / 475.9 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004087/0.2101, allocations: 1.408 MB / 477.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003538/0.2136, allocations: 2.205 MB / 479.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005871/0.2195, allocations: 2.501 MB / 482.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.2322, allocations: 7.819 MB / 489.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.2322, allocations: 0 / 489.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.2322, allocations: 3.938 kB / 489.9 MB, free: 5.355 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003559/0.2326, allocations: 0 / 489.9 MB, free: 5.355 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01856/0.2511, allocations: 5.757 MB / 495.6 MB, free: 15.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.2512, allocations: 15.89 kB / 495.7 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01849/0.2697, allocations: 2.596 MB / 498.3 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00893/0.2787, allocations: 3.252 MB / 0.4898 GB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000302/0.279, allocations: 254.8 kB / 0.49 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001713/0.2807, allocations: 359.7 kB / 0.4903 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02691/0.3076, allocations: 12.35 MB / 0.5024 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002794/0.308, allocations: 55.52 kB / 0.5025 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001722/0.3097, allocations: 163.8 kB / 0.5026 GB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004462/0.3142, allocations: 2.373 MB / 0.5049 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02663/0.3408, allocations: 10.85 MB / 0.5155 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3463/0.6872, allocations: 48.79 MB / 0.5632 GB, free: 52.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01548/0.7027, allocations: 6.048 MB / 0.5691 GB, free: 50.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003481/0.7063, allocations: 3.299 MB / 0.5723 GB, free: 48.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01776/0.724, allocations: 13.52 MB / 0.5855 GB, free: 40.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.7241, allocations: 63.62 kB / 0.5856 GB, free: 40.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=204): time 5.601e-06/0.7241, allocations: 0 / 0.5856 GB, free: 40.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=265): time 0.102/0.8261, allocations: 36.34 MB / 0.6211 GB, free: 5.051 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.808e-05/0.8262, allocations: 213.9 kB / 0.6213 GB, free: 4.797 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00542/0.8317, allocations: 4.385 MB / 0.6255 GB, free: 396 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006746/0.8324, allocations: 68.05 kB / 0.6256 GB, free: 324 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002785/0.8352, allocations: 3.389 MB / 0.6289 GB, free: 12.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001563/0.8367, allocations: 0.9889 MB / 0.6299 GB, free: 11.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002243/0.839, allocations: 1.418 MB / 0.6313 GB, free: 10.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.8391, allocations: 301.1 kB / 0.6316 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005062/0.8442, allocations: 3.289 MB / 0.6348 GB, free: 6.977 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008694/0.8529, allocations: 7.2 MB / 0.6418 GB, free: 13.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01618/0.8691, allocations: 11.24 MB / 0.6528 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001593/0.8694, allocations: 40 kB / 0.6528 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of matching and sorting (n=919) (initialization): time 0.0326/0.902, allocations: 13.27 MB / 0.6658 GB, free: 3.387 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.9021, allocations: 64 kB / 0.6658 GB, free: 3.324 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001731/0.9023, allocations: 143.8 kB / 0.666 GB, free: 3.188 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01021/0.9125, allocations: 3.415 MB / 0.6693 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005969/0.9186, allocations: 1.575 MB / 0.6708 GB, free: 14.19 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02617/0.9448, allocations: 17.56 MB / 0.688 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006484/0.9513, allocations: 431.5 kB / 0.6884 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002085/0.9534, allocations: 412 kB / 0.6888 GB, free: 11.66 MB / 494.1 MB 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.006676/0.9601, allocations: 2.358 MB / 0.6911 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001403/0.9615, allocations: 405.8 kB / 0.6915 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01702/0.9786, allocations: 7.998 MB / 0.6993 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-05/0.9787, allocations: 28 kB / 0.6993 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.168e-05/0.9787, allocations: 16 kB / 0.6993 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.333e-05/0.9788, allocations: 11.95 kB / 0.6994 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03101/1.01, allocations: 15.55 MB / 0.7145 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.694e-05/1.01, allocations: 128 / 0.7145 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002186/1.012, allocations: 387.5 kB / 0.7149 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2678/1.28, allocations: 3.173 MB / 0.718 GB, free: 165.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000979/1.281, allocations: 41.67 kB / 0.718 GB, free: 165.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02406/1.305, allocations: 15.75 MB / 0.7334 GB, free: 161.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.305, allocations: 0 / 0.7334 GB, free: 161.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0186/1.324, allocations: 12.14 MB / 0.7453 GB, free: 157.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002376/1.326, allocations: 0.9382 MB / 0.7462 GB, free: 156.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006698/1.327, allocations: 42.23 kB / 0.7462 GB, free: 156.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002051/1.329, allocations: 189.6 kB / 0.7464 GB, free: 156.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006379/1.329, allocations: 157.7 kB / 0.7466 GB, free: 156.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001878/1.33, allocations: 66.91 kB / 0.7466 GB, free: 156.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00376/1.333, allocations: 2.754 MB / 0.7493 GB, free: 155.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.333, allocations: 0 / 0.7493 GB, free: 155.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005977/1.339, allocations: 1.37 MB / 0.7507 GB, free: 155.2 MB / 0.4981 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.0005119/1.34, allocations: 180.3 kB / 0.7508 GB, free: 155 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01621/1.356, allocations: 10.92 MB / 0.7615 GB, free: 144.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/1.356, allocations: 4 kB / 0.7615 GB, free: 144.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004482/1.361, allocations: 3.324 MB / 0.7647 GB, free: 140.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003347/1.364, allocations: 0.5034 MB / 0.7652 GB, free: 140.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02148/1.386, allocations: 12.02 MB / 0.777 GB, free: 128.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003524/1.389, allocations: 3.675 MB / 0.7806 GB, free: 124.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005168/1.394, allocations: 2.182 MB / 0.7827 GB, free: 122.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009661/1.395, allocations: 287.4 kB / 0.783 GB, free: 122.4 MB / 0.4981 GB Notification: Performance of SimCode: time 1.763e-06/1.395, allocations: 3.938 kB / 0.783 GB, free: 122.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.1001/1.496, allocations: 60.48 MB / 0.842 GB, free: 61.99 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches