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.008596/0.008596, allocations: 101.1 kB / 15.87 MB, free: 6.316 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.001621/0.001621, allocations: 192.2 kB / 16.79 MB, free: 6.242 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.81/1.81, allocations: 205.1 MB / 222.6 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4713/0.4713, allocations: 43.5 MB / 313.5 MB, free: 8.539 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.001805/0.001805, allocations: 70.56 kB / 382 MB, free: 8.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.155, allocations: 57.78 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.3024/0.4575, allocations: 43.47 MB / 483.3 MB, free: 24.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02257/0.4801, allocations: 9.645 MB / 492.9 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01272/0.4929, allocations: 188.8 kB / 493.1 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005251/0.4982, allocations: 2.735 MB / 495.8 MB, free: 16.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00578/0.504, allocations: 1.914 MB / 497.8 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002358/0.5064, allocations: 0.93 MB / 498.7 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01171/0.5181, allocations: 7.199 MB / 0.494 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007021/0.5252, allocations: 3.357 MB / 0.4973 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004911/0.5301, allocations: 1.564 MB / 0.4988 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006969/0.5371, allocations: 2.607 MB / 0.5014 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002233/0.5394, allocations: 255.6 kB / 0.5016 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005226/0.5446, allocations: 1.384 MB / 0.503 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004786/0.5495, allocations: 2.114 MB / 0.505 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006906/0.5564, allocations: 2.405 MB / 0.5074 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01375/0.5702, allocations: 7.726 MB / 0.5149 GB, free: 3.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5702, allocations: 0 / 0.5149 GB, free: 3.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5702, allocations: 0 / 0.5149 GB, free: 3.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003556/0.5706, allocations: 6.375 kB / 0.5149 GB, free: 3.199 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.01826/0.5888, allocations: 5.761 MB / 0.5206 GB, free: 14.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.5889, allocations: 8.031 kB / 0.5206 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01653/0.6054, allocations: 2.596 MB / 0.5231 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008194/0.6137, allocations: 3.26 MB / 0.5263 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002549/0.6139, allocations: 250.8 kB / 0.5265 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002169/0.6161, allocations: 356 kB / 0.5269 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02706/0.6432, allocations: 12.36 MB / 0.5389 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001926/0.6435, allocations: 47.58 kB / 0.539 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005953/0.6441, allocations: 167.8 kB / 0.5392 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004111/0.6482, allocations: 2.377 MB / 0.5415 GB, free: 8.355 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02427/0.6725, allocations: 10.84 MB / 0.5521 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07148/0.744, allocations: 48.83 MB / 0.5997 GB, free: 11.32 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01591/0.7599, allocations: 6.032 MB / 0.6056 GB, free: 5.141 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004517/0.7645, allocations: 3.303 MB / 0.6089 GB, free: 1.828 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02487/0.7894, allocations: 13.53 MB / 0.6221 GB, free: 3.969 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.479e-05/0.7896, allocations: 51.88 kB / 0.6221 GB, free: 3.91 MB / 494.1 MB Notification: Performance of pre-optimization done (n=204): time 1.291e-05/0.7896, allocations: 0 / 0.6221 GB, free: 3.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=265): time 0.4303/1.22, allocations: 36.32 MB / 0.6576 GB, free: 136.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/1.22, allocations: 208.2 kB / 0.6578 GB, free: 136.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00827/1.228, allocations: 4.398 MB / 0.6621 GB, free: 134.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008456/1.229, allocations: 66.45 kB / 0.6622 GB, free: 134.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002637/1.232, allocations: 3.376 MB / 0.6654 GB, free: 132 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001896/1.234, allocations: 0.9809 MB / 0.6664 GB, free: 131.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002407/1.236, allocations: 1.419 MB / 0.6678 GB, free: 130.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.947e-05/1.236, allocations: 303 kB / 0.6681 GB, free: 130.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00532/1.242, allocations: 3.287 MB / 0.6713 GB, free: 129.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006236/1.248, allocations: 7.204 MB / 0.6783 GB, free: 122.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01134/1.259, allocations: 11.24 MB / 0.6893 GB, free: 114.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001022/1.259, allocations: 38.31 kB / 0.6893 GB, free: 114.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02884/1.288, allocations: 13.28 MB / 0.7023 GB, free: 103.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002296/1.288, allocations: 60 kB / 0.7024 GB, free: 103.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002884/1.289, allocations: 140 kB / 0.7025 GB, free: 103.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009564/1.298, allocations: 3.399 MB / 0.7058 GB, free: 99.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006149/1.305, allocations: 1.579 MB / 0.7074 GB, free: 98.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0226/1.327, allocations: 16.37 MB / 0.7234 GB, free: 81.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006714/1.334, allocations: 427.5 kB / 0.7238 GB, free: 81.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00167/1.336, allocations: 412 kB / 0.7242 GB, free: 81.09 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.005697/1.341, allocations: 2.353 MB / 0.7265 GB, free: 78.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001462/1.343, allocations: 406.7 kB / 0.7268 GB, free: 78.33 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01561/1.358, allocations: 8.009 MB / 0.7347 GB, free: 70.29 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.465e-05/1.359, allocations: 33.78 kB / 0.7347 GB, free: 70.26 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.615e-05/1.359, allocations: 12.75 kB / 0.7347 GB, free: 70.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.95e-05/1.359, allocations: 11.95 kB / 0.7347 GB, free: 70.24 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02997/1.389, allocations: 15.55 MB / 0.7499 GB, free: 54.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.01e-05/1.389, allocations: 3.688 kB / 0.7499 GB, free: 54.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002097/1.391, allocations: 387.4 kB / 0.7503 GB, free: 54.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008867/1.4, allocations: 3.169 MB / 0.7534 GB, free: 51.14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006867/1.4, allocations: 43.83 kB / 0.7534 GB, free: 51.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.019/1.419, allocations: 14.64 MB / 0.7677 GB, free: 36.33 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/1.419, allocations: 7.938 kB / 0.7677 GB, free: 36.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02062/1.44, allocations: 12.13 MB / 0.7796 GB, free: 24.11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003038/1.443, allocations: 0.9409 MB / 0.7805 GB, free: 23.15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001975/1.445, allocations: 44 kB / 0.7805 GB, free: 23.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003585/1.449, allocations: 187.2 kB / 0.7807 GB, free: 22.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009474/1.45, allocations: 158.1 kB / 0.7809 GB, free: 22.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003891/1.45, allocations: 68 kB / 0.7809 GB, free: 22.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006102/1.456, allocations: 2.749 MB / 0.7836 GB, free: 19.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.41e-07/1.456, allocations: 0 / 0.7836 GB, free: 19.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01026/1.467, allocations: 1.366 MB / 0.7849 GB, free: 18.59 MB / 494.1 MB 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.001544/1.468, allocations: 196.7 kB / 0.7851 GB, free: 18.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01467/1.483, allocations: 8.174 MB / 0.7931 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.483, allocations: 4.125 kB / 0.7931 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004737/1.488, allocations: 3.321 MB / 0.7964 GB, free: 6.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00382/1.492, allocations: 491.4 kB / 0.7968 GB, free: 6.441 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3042/1.796, allocations: 14.31 MB / 0.8108 GB, free: 145 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005332/1.801, allocations: 3.675 MB / 0.8144 GB, free: 144.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005637/1.807, allocations: 2.184 MB / 0.8165 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009603/1.808, allocations: 283.1 kB / 0.8168 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of SimCode: time 8.42e-07/1.808, allocations: 0 / 0.8168 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.1194/1.927, allocations: 58.2 MB / 0.8736 GB, free: 122.9 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches