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.001536/0.001536, allocations: 103.2 kB / 16.4 MB, free: 6.492 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.00145/0.00145, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.538/1.538, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2352/0.2352, allocations: 43.53 MB / 314.1 MB, free: 452 kB / 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.001435/0.001435, allocations: 65.47 kB / 441.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1575, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01483/0.1724, allocations: 12.02 MB / 0.4996 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.1829, allocations: 4.379 MB / 0.5039 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002524/0.1854, allocations: 71.81 kB / 0.504 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005512/0.191, allocations: 2.764 MB / 0.5067 GB, free: 8.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006613/0.1977, allocations: 2.097 MB / 0.5087 GB, free: 6.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002608/0.2003, allocations: 1.014 MB / 0.5097 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009405/0.2097, allocations: 5.131 MB / 0.5147 GB, free: 204 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007008/0.2167, allocations: 3.436 MB / 0.5181 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004495/0.2213, allocations: 1.775 MB / 0.5198 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004984/0.2263, allocations: 2.453 MB / 0.5222 GB, free: 8.465 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002068/0.2284, allocations: 368 kB / 0.5226 GB, free: 8.105 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004237/0.2326, allocations: 1.404 MB / 0.5239 GB, free: 6.699 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003852/0.2365, allocations: 2.229 MB / 0.5261 GB, free: 4.465 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004798/0.2413, allocations: 2.501 MB / 0.5285 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3668/0.6082, allocations: 8.076 MB / 0.5364 GB, free: 16.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.156e-05/0.6082, allocations: 0 / 0.5364 GB, free: 16.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.6083, allocations: 1.031 kB / 0.5364 GB, free: 16.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004424/0.6087, allocations: 0 / 0.5364 GB, free: 16.27 MB / 414.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.02644/0.6352, allocations: 5.756 MB / 0.5421 GB, free: 14.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/0.6352, allocations: 12.73 kB / 0.5421 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01683/0.6521, allocations: 2.595 MB / 0.5446 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/0.6622, allocations: 3.313 MB / 0.5478 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002462/0.6625, allocations: 260.8 kB / 0.5481 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001258/0.6637, allocations: 342.6 kB / 0.5484 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02923/0.693, allocations: 12.37 MB / 0.5605 GB, free: 8.855 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001692/0.6932, allocations: 49.12 kB / 0.5605 GB, free: 8.852 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005381/0.6937, allocations: 168 kB / 0.5607 GB, free: 8.781 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003512/0.6972, allocations: 2.378 MB / 0.563 GB, free: 7.875 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02364/0.7209, allocations: 10.84 MB / 0.5736 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07834/0.7993, allocations: 48.62 MB / 0.6211 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01726/0.8166, allocations: 6.047 MB / 0.627 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005485/0.8221, allocations: 3.299 MB / 0.6302 GB, free: 7.016 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02637/0.8485, allocations: 13.52 MB / 0.6434 GB, free: 9.266 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.958e-05/0.8487, allocations: 57.66 kB / 0.6435 GB, free: 9.203 MB / 494.1 MB Notification: Performance of pre-optimization done (n=204): time 6.672e-06/0.8487, allocations: 0 / 0.6435 GB, free: 9.203 MB / 494.1 MB Notification: Performance of matching and sorting (n=265): time 0.1164/0.9651, allocations: 36.33 MB / 0.679 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001547/0.9653, allocations: 208.6 kB / 0.6792 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01232/0.9777, allocations: 4.392 MB / 0.6834 GB, free: 148 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0009873/0.9787, allocations: 72.19 kB / 0.6835 GB, free: 76 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003341/0.982, allocations: 3.381 MB / 0.6868 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002824/0.9849, allocations: 0.9824 MB / 0.6878 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003412/0.9883, allocations: 1.424 MB / 0.6892 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.9885, allocations: 301.1 kB / 0.6895 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005114/0.9936, allocations: 3.285 MB / 0.6927 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007866/1.001, allocations: 7.206 MB / 0.6997 GB, free: 13.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0144/1.016, allocations: 11.23 MB / 0.7107 GB, free: 1.07 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000149/1.016, allocations: 40 kB / 0.7107 GB, free: 1.031 MB / 0.545 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02848/1.045, allocations: 13.27 MB / 0.7237 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.559e-05/1.045, allocations: 67.94 kB / 0.7237 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001627/1.045, allocations: 136 kB / 0.7239 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00962/1.055, allocations: 3.402 MB / 0.7272 GB, free: 392 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005896/1.06, allocations: 1.575 MB / 0.7287 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02533/1.086, allocations: 17.54 MB / 0.7459 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007524/1.093, allocations: 430.6 kB / 0.7463 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001243/1.095, allocations: 408 kB / 0.7467 GB, free: 12.31 MB / 0.5919 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.004888/1.1, allocations: 2.36 MB / 0.749 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001122/1.101, allocations: 406.7 kB / 0.7493 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01642/1.117, allocations: 8.005 MB / 0.7572 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-05/1.117, allocations: 28 kB / 0.7572 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.949e-05/1.117, allocations: 12 kB / 0.7572 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-05/1.117, allocations: 11.95 kB / 0.7572 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3831/1.5, allocations: 15.38 MB / 0.7722 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-05/1.5, allocations: 1.125 kB / 0.7722 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002294/1.503, allocations: 387.3 kB / 0.7726 GB, free: 208 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009739/1.512, allocations: 3.175 MB / 0.7757 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009234/1.513, allocations: 47.58 kB / 0.7758 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02064/1.534, allocations: 15.8 MB / 0.7912 GB, free: 200.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/1.534, allocations: 3.938 kB / 0.7912 GB, free: 200.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01949/1.554, allocations: 12.14 MB / 0.803 GB, free: 191.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003564/1.557, allocations: 0.9419 MB / 0.804 GB, free: 191 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009708/1.558, allocations: 44 kB / 0.804 GB, free: 191 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002327/1.561, allocations: 195.6 kB / 0.8042 GB, free: 190.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007034/1.561, allocations: 153 kB / 0.8043 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002285/1.562, allocations: 65.97 kB / 0.8044 GB, free: 190.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005365/1.567, allocations: 2.749 MB / 0.8071 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.743e-06/1.567, allocations: 0 / 0.8071 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007981/1.575, allocations: 1.37 MB / 0.8084 GB, free: 186.5 MB / 0.5919 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.0005985/1.576, allocations: 190.2 kB / 0.8086 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01237/1.588, allocations: 8.205 MB / 0.8166 GB, free: 178.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/1.588, allocations: 2 kB / 0.8166 GB, free: 178.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004661/1.593, allocations: 3.325 MB / 0.8199 GB, free: 174.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0035/1.596, allocations: 0.4926 MB / 0.8203 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0205/1.617, allocations: 11.91 MB / 0.832 GB, free: 162.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003685/1.62, allocations: 3.679 MB / 0.8356 GB, free: 158.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00456/1.625, allocations: 2.184 MB / 0.8377 GB, free: 156.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008828/1.626, allocations: 279.4 kB / 0.838 GB, free: 156.4 MB / 0.5919 GB Notification: Performance of SimCode: time 8.61e-07/1.626, allocations: 2.297 kB / 0.838 GB, free: 156.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.09514/1.721, allocations: 57.14 MB / 0.8938 GB, free: 99.38 MB / 0.5919 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