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.0008793/0.0008793, allocations: 93.88 kB / 17.35 MB, free: 6.371 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.0008806/0.0008806, allocations: 171.8 kB / 18.25 MB, free: 5.527 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.51/1.51, allocations: 223.2 MB / 242.3 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.22/0.22, allocations: 44.25 MB / 337.7 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003215, allocations: 8 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1465, allocations: 61.92 MB / 472.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.04224/0.1888, allocations: 42.22 MB / 0.5024 GB, free: 2.977 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.332/0.5209, allocations: 9.574 MB / 0.5118 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01358/0.5345, allocations: 186.3 kB / 0.5119 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002407/0.5369, allocations: 471.9 kB / 0.5124 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007036/0.544, allocations: 1.92 MB / 0.5143 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002826/0.5468, allocations: 0.9305 MB / 0.5152 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01283/0.5597, allocations: 7.426 MB / 0.5224 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007771/0.5675, allocations: 4.5 MB / 0.5268 GB, free: 7.324 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00358/0.5711, allocations: 1.364 MB / 0.5282 GB, free: 6.824 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004171/0.5753, allocations: 2.356 MB / 0.5305 GB, free: 5.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007362/0.5761, allocations: 168.3 kB / 0.5306 GB, free: 5.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00318/0.5793, allocations: 1.311 MB / 0.5319 GB, free: 5.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002468/0.5817, allocations: 2.005 MB / 0.5338 GB, free: 4.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002631/0.5844, allocations: 2.27 MB / 0.5361 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009324/0.5937, allocations: 7.521 MB / 0.5434 GB, free: 13.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.5938, allocations: 0 / 0.5434 GB, free: 13.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5938, allocations: 4 kB / 0.5434 GB, free: 13.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002581/0.594, allocations: 0 / 0.5434 GB, free: 13.27 MB / 398.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.01259/0.6066, allocations: 4.778 MB / 0.5481 GB, free: 8.457 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.6067, allocations: 15.97 kB / 0.5481 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0185/0.6252, allocations: 2.665 MB / 0.5507 GB, free: 5.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008165/0.6334, allocations: 3.151 MB / 0.5538 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000251/0.6337, allocations: 256.2 kB / 0.554 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001627/0.6353, allocations: 348.7 kB / 0.5544 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0274/0.6628, allocations: 12.39 MB / 0.5664 GB, free: 5.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002006/0.663, allocations: 59.52 kB / 0.5665 GB, free: 4.961 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000556/0.6636, allocations: 162.8 kB / 0.5667 GB, free: 4.844 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004135/0.6677, allocations: 2.378 MB / 0.569 GB, free: 2.477 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02346/0.6912, allocations: 10.87 MB / 0.5796 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06776/0.759, allocations: 48.82 MB / 0.6273 GB, free: 5.637 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01621/0.7752, allocations: 6.061 MB / 0.6332 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004952/0.7802, allocations: 3.298 MB / 0.6364 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02079/0.8011, allocations: 13.52 MB / 0.6496 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/0.8012, allocations: 51.88 kB / 0.6497 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=204): time 4.449e-06/0.8012, allocations: 0 / 0.6497 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=265): time 0.1184/0.9196, allocations: 36.4 MB / 0.6852 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001986/0.9198, allocations: 205.9 kB / 0.6854 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01092/0.9308, allocations: 4.373 MB / 0.6897 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009816/0.9318, allocations: 61.7 kB / 0.6897 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003909/0.9357, allocations: 3.385 MB / 0.693 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002131/0.9379, allocations: 0.9861 MB / 0.694 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002132/0.9401, allocations: 0.5916 MB / 0.6946 GB, free: 32 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.9402, allocations: 305.1 kB / 0.6949 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006935/0.9472, allocations: 3.285 MB / 0.6981 GB, free: 12.44 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01059/0.9578, allocations: 7.204 MB / 0.7051 GB, free: 3.316 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3244/1.282, allocations: 11.23 MB / 0.7161 GB, free: 193.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001947/1.283, allocations: 38.75 kB / 0.7161 GB, free: 193.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.03161/1.314, allocations: 13.28 MB / 0.7291 GB, free: 189.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.17e-05/1.314, allocations: 63.97 kB / 0.7292 GB, free: 189.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000152/1.314, allocations: 137.6 kB / 0.7293 GB, free: 189.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00978/1.324, allocations: 3.415 MB / 0.7326 GB, free: 188.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005153/1.329, allocations: 1.573 MB / 0.7342 GB, free: 188.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02105/1.35, allocations: 16.41 MB / 0.7502 GB, free: 180.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006299/1.357, allocations: 433.7 kB / 0.7506 GB, free: 180.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001046/1.358, allocations: 417.3 kB / 0.751 GB, free: 180.1 MB / 0.545 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.004856/1.363, allocations: 2.344 MB / 0.7533 GB, free: 177.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008864/1.364, allocations: 398.2 kB / 0.7537 GB, free: 177.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01456/1.378, allocations: 8.007 MB / 0.7615 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.021e-05/1.378, allocations: 28 kB / 0.7615 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/1.378, allocations: 12 kB / 0.7615 GB, free: 169.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.664e-05/1.378, allocations: 15.89 kB / 0.7615 GB, free: 169.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02415/1.403, allocations: 15.54 MB / 0.7767 GB, free: 154.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.479e-05/1.403, allocations: 0 / 0.7767 GB, free: 154.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001935/1.405, allocations: 387.4 kB / 0.7771 GB, free: 153.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008878/1.413, allocations: 3.173 MB / 0.7802 GB, free: 150.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005145/1.414, allocations: 46.34 kB / 0.7802 GB, free: 150.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01788/1.432, allocations: 14.68 MB / 0.7946 GB, free: 135.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/1.432, allocations: 0 / 0.7946 GB, free: 135.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02091/1.453, allocations: 12.14 MB / 0.8064 GB, free: 123.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/1.454, allocations: 455.7 kB / 0.8069 GB, free: 123.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008384/1.455, allocations: 44 kB / 0.8069 GB, free: 123 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002124/1.457, allocations: 187.7 kB / 0.8071 GB, free: 122.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005599/1.458, allocations: 159.3 kB / 0.8072 GB, free: 122.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001888/1.458, allocations: 71.98 kB / 0.8073 GB, free: 122.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003562/1.461, allocations: 2.729 MB / 0.81 GB, free: 119.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/1.461, allocations: 0 / 0.81 GB, free: 119.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005761/1.467, allocations: 1.371 MB / 0.8113 GB, free: 118.5 MB / 0.545 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.0005098/1.468, allocations: 183.9 kB / 0.8115 GB, free: 118.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01087/1.479, allocations: 8.177 MB / 0.8195 GB, free: 110.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/1.479, allocations: 1.75 kB / 0.8195 GB, free: 110.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004545/1.483, allocations: 3.314 MB / 0.8227 GB, free: 106.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004448/1.488, allocations: 481 kB / 0.8232 GB, free: 106.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02531/1.513, allocations: 14.38 MB / 0.8372 GB, free: 91.96 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005644/1.519, allocations: 3.662 MB / 0.8408 GB, free: 88.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005331/1.524, allocations: 2.183 MB / 0.8429 GB, free: 86.08 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/1.525, allocations: 279.4 kB / 0.8432 GB, free: 85.81 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/1.525, allocations: 4 kB / 0.8432 GB, free: 85.8 MB / 0.545 GB Notification: Performance of Templates: time 0.08861/1.614, allocations: 57 MB / 0.8988 GB, free: 29.04 MB / 0.545 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins/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