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.001283/0.001284, allocations: 106.8 kB / 16.93 MB, free: 5.781 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.001324/0.001324, allocations: 191.6 kB / 17.86 MB, free: 5.156 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.579/1.579, allocations: 205.1 MB / 223.7 MB, free: 12.31 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.2273/0.2273, allocations: 43.52 MB / 314.6 MB, free: 0.5391 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.001675/0.001675, allocations: 71.31 kB / 383.4 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09091/0.0926, allocations: 57.78 MB / 441.2 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01079/0.1034, allocations: 12.03 MB / 453.2 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008741/0.1122, allocations: 4.375 MB / 457.6 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00209/0.1143, allocations: 71.81 kB / 457.7 MB, free: 6.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005/0.1194, allocations: 2.76 MB / 460.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005181/0.1246, allocations: 2.043 MB / 462.5 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002365/0.127, allocations: 1.006 MB / 463.5 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006642/0.1336, allocations: 5.127 MB / 468.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00403/0.1377, allocations: 3.448 MB / 472 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002884/0.1406, allocations: 1.76 MB / 473.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003514/0.1441, allocations: 2.457 MB / 476.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001009/0.1452, allocations: 368 kB / 476.6 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002763/0.1479, allocations: 1.408 MB / 478 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003096/0.1511, allocations: 2.205 MB / 480.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004158/0.1553, allocations: 2.501 MB / 482.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00968/0.165, allocations: 7.819 MB / 490.6 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.165, allocations: 3.938 kB / 490.6 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.165, allocations: 0 / 490.6 MB, free: 5.355 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002538/0.1653, allocations: 0 / 490.6 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.01466/0.18, allocations: 5.761 MB / 496.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.18, allocations: 15.89 kB / 496.3 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01803/0.1981, allocations: 2.6 MB / 498.9 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008272/0.2064, allocations: 3.241 MB / 0.4904 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003116/0.2067, allocations: 262.8 kB / 0.4907 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001721/0.2085, allocations: 351.8 kB / 0.491 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02737/0.2359, allocations: 12.36 MB / 0.5031 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000251/0.2362, allocations: 59.52 kB / 0.5031 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001361/0.2375, allocations: 159.8 kB / 0.5033 GB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004325/0.2419, allocations: 2.377 MB / 0.5056 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02336/0.2653, allocations: 10.84 MB / 0.5162 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2542/0.5195, allocations: 48.8 MB / 0.5638 GB, free: 52.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01514/0.5347, allocations: 6.04 MB / 0.5697 GB, free: 50.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003588/0.5383, allocations: 3.306 MB / 0.573 GB, free: 48.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01672/0.5551, allocations: 13.52 MB / 0.5862 GB, free: 40.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.5551, allocations: 57.53 kB / 0.5862 GB, free: 40.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=204): time 5.44e-06/0.5552, allocations: 0 / 0.5862 GB, free: 40.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=265): time 0.1029/0.6581, allocations: 36.35 MB / 0.6217 GB, free: 5.047 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/0.6582, allocations: 205.9 kB / 0.6219 GB, free: 4.801 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005647/0.6639, allocations: 4.395 MB / 0.6262 GB, free: 392 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008174/0.6647, allocations: 61.7 kB / 0.6263 GB, free: 324 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002601/0.6673, allocations: 3.395 MB / 0.6296 GB, free: 12.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001564/0.6689, allocations: 0.9897 MB / 0.6305 GB, free: 11.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002257/0.6712, allocations: 1.424 MB / 0.6319 GB, free: 10.56 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.44e-05/0.6713, allocations: 301.1 kB / 0.6322 GB, free: 10.26 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004666/0.6759, allocations: 3.285 MB / 0.6354 GB, free: 6.973 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007826/0.6838, allocations: 7.2 MB / 0.6425 GB, free: 13.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01368/0.6975, allocations: 11.24 MB / 0.6534 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001059/0.6977, allocations: 40 kB / 0.6535 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02759/0.7253, allocations: 13.28 MB / 0.6664 GB, free: 3.383 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001559/0.7254, allocations: 64 kB / 0.6665 GB, free: 3.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002105/0.7257, allocations: 136 kB / 0.6666 GB, free: 3.188 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01041/0.7361, allocations: 3.406 MB / 0.67 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00572/0.7418, allocations: 1.579 MB / 0.6715 GB, free: 14.19 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02752/0.7694, allocations: 17.56 MB / 0.6886 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005803/0.7752, allocations: 432.9 kB / 0.6891 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001401/0.7767, allocations: 416 kB / 0.6895 GB, free: 11.65 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.006975/0.7837, allocations: 2.348 MB / 0.6917 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001496/0.7852, allocations: 406.8 kB / 0.6921 GB, free: 8.891 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01829/0.8035, allocations: 8.006 MB / 0.7 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.264e-05/0.8036, allocations: 28 kB / 0.7 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.602e-05/0.8037, allocations: 12 kB / 0.7 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.407e-05/0.8037, allocations: 11.95 kB / 0.7 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03436/0.8381, allocations: 15.54 MB / 0.7152 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.114e-05/0.8382, allocations: 0 / 0.7152 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00226/0.8404, allocations: 387.4 kB / 0.7156 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2267/1.067, allocations: 3.17 MB / 0.7186 GB, free: 165.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006703/1.068, allocations: 44.86 kB / 0.7187 GB, free: 165.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02348/1.091, allocations: 15.75 MB / 0.7341 GB, free: 161.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.091, allocations: 0 / 0.7341 GB, free: 161.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02025/1.112, allocations: 12.14 MB / 0.7459 GB, free: 157.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002523/1.114, allocations: 0.9464 MB / 0.7469 GB, free: 156.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001298/1.116, allocations: 36.39 kB / 0.7469 GB, free: 156.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002884/1.118, allocations: 193.6 kB / 0.7471 GB, free: 156.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008094/1.119, allocations: 153.6 kB / 0.7472 GB, free: 156.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003561/1.12, allocations: 72.47 kB / 0.7473 GB, free: 156.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004714/1.124, allocations: 2.749 MB / 0.75 GB, free: 155.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.61e-07/1.124, allocations: 3.609 kB / 0.75 GB, free: 155.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006871/1.131, allocations: 1.368 MB / 0.7513 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.0008748/1.132, allocations: 173.9 kB / 0.7515 GB, free: 155 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01718/1.149, allocations: 10.93 MB / 0.7622 GB, free: 144.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.149, allocations: 0 / 0.7622 GB, free: 144.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005323/1.155, allocations: 3.322 MB / 0.7654 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.004832/1.16, allocations: 0.5033 MB / 0.7659 GB, free: 140.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02225/1.182, allocations: 12.48 MB / 0.7781 GB, free: 128.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00454/1.186, allocations: 3.66 MB / 0.7817 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00145/1.188, allocations: 335.4 kB / 0.782 GB, free: 124.1 MB / 0.4981 GB Notification: Performance of SimCode: time 9.71e-07/1.188, allocations: 0 / 0.782 GB, free: 124.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.1098/1.298, allocations: 92.41 MB / 0.8722 GB, free: 31.55 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/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