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.0008578/0.0008577, allocations: 102.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 184.3 kB / 16.92 MB, free: 6.918 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.895/1.895, allocations: 205.4 MB / 223.1 MB, free: 5.523 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.4255/0.4255, allocations: 43.58 MB / 315 MB, free: 8.762 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.0005274/0.0005275, allocations: 16.56 kB / 384.6 MB, free: 7.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1527, allocations: 58.88 MB / 443.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.3415/0.4942, allocations: 42.27 MB / 485.7 MB, free: 23.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02656/0.5208, allocations: 9.578 MB / 495.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01212/0.533, allocations: 186.7 kB / 495.5 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002311/0.5353, allocations: 475.8 kB / 496 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006888/0.5423, allocations: 1.909 MB / 497.9 MB, free: 16.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002554/0.5448, allocations: 0.9353 MB / 498.8 MB, free: 16.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01273/0.5576, allocations: 7.194 MB / 0.4941 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00985/0.5675, allocations: 4.509 MB / 0.4985 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004045/0.5716, allocations: 1.367 MB / 0.4999 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005618/0.5772, allocations: 2.368 MB / 0.5022 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001518/0.5788, allocations: 169 kB / 0.5023 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004395/0.5832, allocations: 1.302 MB / 0.5036 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003987/0.5872, allocations: 2.01 MB / 0.5056 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005864/0.5931, allocations: 2.275 MB / 0.5078 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01203/0.6051, allocations: 7.535 MB / 0.5152 GB, free: 4.379 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6051, allocations: 0 / 0.5152 GB, free: 4.379 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.6052, allocations: 1.219 kB / 0.5152 GB, free: 4.379 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003673/0.6055, allocations: 0 / 0.5152 GB, free: 4.379 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.01304/0.6186, allocations: 4.789 MB / 0.5198 GB, free: 1.074 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.6186, allocations: 8.719 kB / 0.5198 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01861/0.6373, allocations: 2.668 MB / 0.5225 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00825/0.6455, allocations: 3.244 MB / 0.5256 GB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002446/0.6458, allocations: 262.8 kB / 0.5259 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001497/0.6473, allocations: 348 kB / 0.5262 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0253/0.6726, allocations: 12.38 MB / 0.5383 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001695/0.6728, allocations: 55.42 kB / 0.5383 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005474/0.6734, allocations: 167.8 kB / 0.5385 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004309/0.6777, allocations: 2.377 MB / 0.5408 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02688/0.7046, allocations: 10.87 MB / 0.5514 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07079/0.7755, allocations: 48.84 MB / 0.5991 GB, free: 14.1 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01646/0.792, allocations: 6.068 MB / 0.6051 GB, free: 7.883 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004861/0.7969, allocations: 3.291 MB / 0.6083 GB, free: 4.582 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02171/0.8186, allocations: 13.52 MB / 0.6215 GB, free: 6.727 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.741e-05/0.8187, allocations: 59.81 kB / 0.6215 GB, free: 6.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=204): time 4.879e-06/0.8187, allocations: 0 / 0.6215 GB, free: 6.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=265): time 0.3951/1.214, allocations: 36.43 MB / 0.6571 GB, free: 136.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/1.214, allocations: 209.3 kB / 0.6573 GB, free: 136.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01084/1.225, allocations: 4.393 MB / 0.6616 GB, free: 134.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001155/1.226, allocations: 65.55 kB / 0.6617 GB, free: 134.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002991/1.229, allocations: 3.374 MB / 0.665 GB, free: 132.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001934/1.231, allocations: 0.9939 MB / 0.6659 GB, free: 131.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001193/1.232, allocations: 0.5956 MB / 0.6665 GB, free: 131.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.548e-05/1.232, allocations: 302.3 kB / 0.6668 GB, free: 131 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006946/1.239, allocations: 3.284 MB / 0.67 GB, free: 129.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009357/1.249, allocations: 7.197 MB / 0.677 GB, free: 123.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01462/1.263, allocations: 11.23 MB / 0.688 GB, free: 114.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002431/1.264, allocations: 42.34 kB / 0.6881 GB, free: 114.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=919) (initialization): time 0.0339/1.298, allocations: 13.27 MB / 0.701 GB, free: 105.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003184/1.298, allocations: 68.92 kB / 0.7011 GB, free: 105.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003577/1.298, allocations: 136 kB / 0.7012 GB, free: 105.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01104/1.309, allocations: 3.41 MB / 0.7045 GB, free: 101.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006606/1.316, allocations: 1.586 MB / 0.7061 GB, free: 100.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02596/1.342, allocations: 16.42 MB / 0.7221 GB, free: 83.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008083/1.35, allocations: 431.4 kB / 0.7225 GB, free: 83.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002196/1.352, allocations: 408 kB / 0.7229 GB, free: 82.81 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.007318/1.36, allocations: 2.355 MB / 0.7252 GB, free: 80.44 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001666/1.361, allocations: 406.6 kB / 0.7256 GB, free: 80.04 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01801/1.379, allocations: 8.006 MB / 0.7334 GB, free: 72.01 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.971e-05/1.38, allocations: 28 kB / 0.7335 GB, free: 71.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.521e-05/1.38, allocations: 15.94 kB / 0.7335 GB, free: 71.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-05/1.38, allocations: 15.95 kB / 0.7335 GB, free: 71.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03982/1.419, allocations: 15.55 MB / 0.7487 GB, free: 56.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.67e-05/1.42, allocations: 0 / 0.7487 GB, free: 56.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002473/1.422, allocations: 383.4 kB / 0.749 GB, free: 56.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009909/1.432, allocations: 3.173 MB / 0.7521 GB, free: 52.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001114/1.433, allocations: 46.42 kB / 0.7522 GB, free: 52.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02037/1.454, allocations: 14.67 MB / 0.7665 GB, free: 38.01 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.454, allocations: 7.875 kB / 0.7665 GB, free: 38 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0252/1.479, allocations: 12.14 MB / 0.7784 GB, free: 25.78 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005257/1.484, allocations: 0.9408 MB / 0.7793 GB, free: 24.81 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00304/1.487, allocations: 40 kB / 0.7793 GB, free: 24.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004474/1.492, allocations: 195.7 kB / 0.7795 GB, free: 24.58 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001529/1.493, allocations: 150.2 kB / 0.7797 GB, free: 24.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007835/1.494, allocations: 66.42 kB / 0.7797 GB, free: 24.38 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006981/1.501, allocations: 2.749 MB / 0.7824 GB, free: 21.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.32e-07/1.501, allocations: 0 / 0.7824 GB, free: 21.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0102/1.511, allocations: 1.37 MB / 0.7837 GB, free: 20.25 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.001147/1.512, allocations: 184.5 kB / 0.7839 GB, free: 20.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01475/1.527, allocations: 8.177 MB / 0.7919 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/1.527, allocations: 4 kB / 0.7919 GB, free: 11.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005894/1.533, allocations: 3.308 MB / 0.7951 GB, free: 8.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00755/1.541, allocations: 484.5 kB / 0.7956 GB, free: 8.129 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02958/1.57, allocations: 14.42 MB / 0.8097 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2533/1.824, allocations: 3.674 MB / 0.8133 GB, free: 142.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005861/1.83, allocations: 2.182 MB / 0.8154 GB, free: 142.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/1.831, allocations: 284.4 kB / 0.8157 GB, free: 142.5 MB / 0.4981 GB Notification: Performance of SimCode: time 5.92e-07/1.831, allocations: 0 / 0.8157 GB, free: 142.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.1138/1.945, allocations: 57.08 MB / 0.8714 GB, free: 123.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