Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001239/0.001239, allocations: 181.3 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.272/1.272, allocations: 205.4 MB / 223.6 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008085/0.0008084, allocations: 79.42 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3046/0.3046, allocations: 43.56 MB / 363.8 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003617, allocations: 12 kB / 432.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1133, allocations: 58.85 MB / 491.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3182/0.4316, allocations: 108.5 MB / 0.5859 GB, free: 9.91 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.4319, allocations: 75.95 kB / 0.5859 GB, free: 9.836 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4458/0.8777, allocations: 97.67 MB / 0.6813 GB, free: 88.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.8778, allocations: 3.688 kB / 0.6813 GB, free: 88.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002352/0.878, allocations: 92 kB / 0.6814 GB, free: 88.41 MB / 490.7 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.01523/0.8932, allocations: 5.204 MB / 0.6865 GB, free: 86.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.8933, allocations: 9.469 kB / 0.6865 GB, free: 86.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01553/0.9088, allocations: 3.76 MB / 0.6902 GB, free: 86.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/0.9194, allocations: 4.921 MB / 0.695 GB, free: 85.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003775/0.9198, allocations: 347.9 kB / 0.6953 GB, free: 85.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002186/0.922, allocations: 471.4 kB / 0.6957 GB, free: 85.42 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02582/0.9479, allocations: 12.59 MB / 0.708 GB, free: 82.53 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003984/0.9483, allocations: 68.95 kB / 0.7081 GB, free: 82.53 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00201/0.9504, allocations: 232 kB / 0.7083 GB, free: 82.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002004/0.9524, allocations: 1.269 MB / 0.7096 GB, free: 82.51 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02401/0.9764, allocations: 10.78 MB / 0.7201 GB, free: 82.47 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0612/1.038, allocations: 55.78 MB / 0.7746 GB, free: 42.15 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01371/1.051, allocations: 5.877 MB / 0.7803 GB, free: 40.14 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003396/1.055, allocations: 3.051 MB / 0.7833 GB, free: 38.81 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01718/1.072, allocations: 12.96 MB / 0.796 GB, free: 32.01 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/1.072, allocations: 62.08 kB / 0.796 GB, free: 31.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=193): time 5.12e-06/1.072, allocations: 3.938 kB / 0.796 GB, free: 31.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.09437/1.167, allocations: 35.62 MB / 0.8308 GB, free: 9.859 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.279e-05/1.167, allocations: 205.9 kB / 0.831 GB, free: 9.613 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007628/1.174, allocations: 4.398 MB / 0.8353 GB, free: 5.914 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006198/1.175, allocations: 61.7 kB / 0.8354 GB, free: 5.848 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00205/1.177, allocations: 3.442 MB / 0.8387 GB, free: 2.758 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001221/1.178, allocations: 0.9549 MB / 0.8397 GB, free: 1.914 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008541/1.179, allocations: 132.7 kB / 0.8398 GB, free: 1.785 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005718/1.18, allocations: 0.5907 MB / 0.8404 GB, free: 1.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005057/1.185, allocations: 3.08 MB / 0.8434 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007958/1.193, allocations: 7.019 MB / 0.8502 GB, free: 5.277 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01406/1.207, allocations: 10.88 MB / 0.8608 GB, free: 8.469 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001325/1.207, allocations: 43.47 kB / 0.8609 GB, free: 8.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=887) (initialization): time 0.251/1.458, allocations: 12.58 MB / 0.8732 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001228/1.458, allocations: 64.84 kB / 0.8732 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000261/1.459, allocations: 141.8 kB / 0.8734 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009013/1.468, allocations: 3.201 MB / 0.8765 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005292/1.473, allocations: 1.55 MB / 0.878 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01968/1.493, allocations: 14.99 MB / 0.8926 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005434/1.498, allocations: 482 kB / 0.8931 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009621/1.499, allocations: 402 kB / 0.8935 GB, free: 103.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * 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 (809): * Single equations (assignments): 805 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,54.7%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003942/1.503, allocations: 2.353 MB / 0.8958 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007272/1.504, allocations: 406.1 kB / 0.8962 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01425/1.518, allocations: 7.412 MB / 0.9034 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.584e-05/1.518, allocations: 26.81 kB / 0.9034 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.589e-05/1.518, allocations: 10.06 kB / 0.9034 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.017e-05/1.518, allocations: 15.58 kB / 0.9035 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0297/1.548, allocations: 15.05 MB / 0.9182 GB, free: 99.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.534e-05/1.548, allocations: 3.75 kB / 0.9182 GB, free: 99.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001922/1.55, allocations: 379.9 kB / 0.9185 GB, free: 99.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007882/1.558, allocations: 2.877 MB / 0.9213 GB, free: 98.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005735/1.558, allocations: 39.16 kB / 0.9214 GB, free: 98.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01809/1.577, allocations: 13.3 MB / 0.9344 GB, free: 93.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/1.577, allocations: 3.469 kB / 0.9344 GB, free: 93.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01841/1.595, allocations: 11.33 MB / 0.9454 GB, free: 89.11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00269/1.598, allocations: 0.916 MB / 0.9463 GB, free: 88.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001371/1.599, allocations: 39.19 kB / 0.9464 GB, free: 88.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003057/1.602, allocations: 201.7 kB / 0.9465 GB, free: 88.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001003/1.603, allocations: 152.6 kB / 0.9467 GB, free: 88.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004411/1.604, allocations: 60.52 kB / 0.9467 GB, free: 88.58 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006066/1.61, allocations: 2.747 MB / 0.9494 GB, free: 87.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.523e-06/1.61, allocations: 4.469 kB / 0.9494 GB, free: 87.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006724/1.617, allocations: 1.318 MB / 0.9507 GB, free: 87.51 MB / 0.5105 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 (189): * Single equations (assignments): 185 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007432/1.617, allocations: 184.8 kB / 0.9509 GB, free: 87.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01132/1.629, allocations: 7.789 MB / 0.9585 GB, free: 84.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.629, allocations: 5.594 kB / 0.9585 GB, free: 84.93 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004304/1.633, allocations: 3.069 MB / 0.9615 GB, free: 83.72 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004191/1.637, allocations: 498.8 kB / 0.962 GB, free: 83.49 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02165/1.659, allocations: 14.18 MB / 0.9758 GB, free: 76.63 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004153/1.663, allocations: 3.675 MB / 0.9794 GB, free: 75.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00138/1.665, allocations: 334 kB / 0.9797 GB, free: 75.11 MB / 0.5105 GB Notification: Performance of SimCode: time 7.01e-07/1.665, allocations: 0 / 0.9797 GB, free: 75.11 MB / 0.5105 GB Notification: Performance of Templates: time 0.3102/1.975, allocations: 91.02 MB / 1.069 GB, free: 115 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches