Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00103/0.00103, allocations: 197.2 kB / 8.766 MB, free: 324 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007921/0.0007922, allocations: 101.9 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1927/0.1927, allocations: 45.14 MB / 383.7 MB, free: 304 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.194e-05/1.197e-05, allocations: 4 kB / 453.2 MB, free: 75.86 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09458/0.09461, allocations: 63.25 MB / 0.5044 GB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4174/0.5121, allocations: 110.4 MB / 0.6121 GB, free: 8.547 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000174/0.5123, allocations: 81.39 kB / 0.6122 GB, free: 8.504 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2551/0.7674, allocations: 100.9 MB / 0.7108 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.314e-06/0.7675, allocations: 0 / 0.7108 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003207/0.7678, allocations: 88 kB / 0.7108 GB, free: 11.46 MB / 0.4948 GB 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.01814/0.786, allocations: 5.149 MB / 0.7159 GB, free: 6.246 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.786, allocations: 8.031 kB / 0.7159 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02011/0.8062, allocations: 4.615 MB / 0.7204 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01451/0.8207, allocations: 5.128 MB / 0.7254 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000405/0.8212, allocations: 148 kB / 0.7255 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003301/0.8245, allocations: 275.8 kB / 0.7258 GB, free: 12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0156/0.8401, allocations: 7.425 MB / 0.7331 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02081/0.861, allocations: 10.86 MB / 0.7437 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001909/0.8612, allocations: 63.41 kB / 0.7437 GB, free: 8.559 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006183/0.8619, allocations: 32 kB / 0.7437 GB, free: 8.527 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001729/0.8636, allocations: 1.273 MB / 0.745 GB, free: 7.254 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.37/1.234, allocations: 54.28 MB / 0.798 GB, free: 96.92 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005501/1.239, allocations: 4.381 MB / 0.8023 GB, free: 96.24 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003134/1.242, allocations: 2.935 MB / 0.8051 GB, free: 96.21 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01713/1.259, allocations: 12.15 MB / 0.817 GB, free: 91.55 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/1.26, allocations: 55.12 kB / 0.8171 GB, free: 91.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=193): time 7.094e-06/1.26, allocations: 3 kB / 0.8171 GB, free: 91.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=254): time 0.05597/1.316, allocations: 28.73 MB / 0.8451 GB, free: 81.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.851e-05/1.316, allocations: 206.8 kB / 0.8453 GB, free: 81.55 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004699/1.32, allocations: 3.298 MB / 0.8485 GB, free: 80.32 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005992/1.321, allocations: 25.7 kB / 0.8486 GB, free: 80.29 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001744/1.323, allocations: 3.491 MB / 0.852 GB, free: 77.81 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001095/1.324, allocations: 0.9228 MB / 0.8529 GB, free: 77.12 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002891/1.324, allocations: 0 / 0.8529 GB, free: 77.12 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002908/1.324, allocations: 0.6049 MB / 0.8535 GB, free: 76.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00323/1.328, allocations: 2.906 MB / 0.8563 GB, free: 75.62 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005612/1.333, allocations: 6.946 MB / 0.8631 GB, free: 69.09 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005267/1.339, allocations: 4.419 MB / 0.8674 GB, free: 67.63 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.784e-05/1.339, allocations: 40.62 kB / 0.8674 GB, free: 67.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.01974/1.358, allocations: 11.65 MB / 0.8788 GB, free: 58.63 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.364e-05/1.359, allocations: 68 kB / 0.8789 GB, free: 58.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001276/1.359, allocations: 144 kB / 0.879 GB, free: 58.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00824/1.367, allocations: 3.174 MB / 0.8821 GB, free: 56.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005287/1.372, allocations: 1.613 MB / 0.8837 GB, free: 54.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01762/1.39, allocations: 13.82 MB / 0.8972 GB, free: 43.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007851/1.398, allocations: 347.6 kB / 0.8975 GB, free: 42.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001546/1.399, allocations: 418 kB / 0.8979 GB, free: 42.38 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 657 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (839): * Single equations (assignments): 835 * 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 {(11,36.4%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001143/1.401, allocations: 471 kB / 0.8984 GB, free: 41.91 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008697/1.401, allocations: 386.6 kB / 0.8987 GB, free: 41.54 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01225/1.414, allocations: 7.149 MB / 0.9057 GB, free: 36.05 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.535e-05/1.414, allocations: 28 kB / 0.9057 GB, free: 36.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-05/1.414, allocations: 12 kB / 0.9058 GB, free: 36.01 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.578e-05/1.414, allocations: 10.97 kB / 0.9058 GB, free: 36.01 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0224/1.436, allocations: 13.89 MB / 0.9193 GB, free: 24.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.132e-05/1.436, allocations: 7.469 kB / 0.9193 GB, free: 24.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002029/1.438, allocations: 386.8 kB / 0.9197 GB, free: 24.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007573/1.446, allocations: 2.853 MB / 0.9225 GB, free: 21.46 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004113/1.446, allocations: 4 kB / 0.9225 GB, free: 21.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01522/1.462, allocations: 12.34 MB / 0.9346 GB, free: 9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/1.462, allocations: 4.641 kB / 0.9346 GB, free: 8.996 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01716/1.479, allocations: 11.09 MB / 0.9454 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001678/1.481, allocations: 412.2 kB / 0.9458 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007317/1.481, allocations: 0 / 0.9458 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002079/1.483, allocations: 171.7 kB / 0.9459 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004889/1.484, allocations: 145.8 kB / 0.9461 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001929/1.484, allocations: 67.92 kB / 0.9461 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.003841/1.488, allocations: 2.198 MB / 0.9483 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.5e-07/1.488, allocations: 0 / 0.9483 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007023/1.495, allocations: 1.143 MB / 0.9494 GB, free: 9.668 MB / 0.5417 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 () * 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.0006395/1.496, allocations: 143 kB / 0.9495 GB, free: 9.527 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01312/1.509, allocations: 7.451 MB / 0.9568 GB, free: 2.094 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/1.509, allocations: 0 / 0.9568 GB, free: 2.094 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.3045/1.813, allocations: 2.966 MB / 0.9597 GB, free: 135.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002847/1.816, allocations: 371.7 kB / 0.9601 GB, free: 135.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02191/1.838, allocations: 9.641 MB / 0.9695 GB, free: 134.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00662/1.845, allocations: 3.768 MB / 0.9732 GB, free: 133.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006528/1.851, allocations: 2.212 MB / 0.9753 GB, free: 133.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/1.853, allocations: 267.9 kB / 0.9756 GB, free: 133.2 MB / 0.5417 GB Notification: Performance of SimCode: time 1.192e-06/1.853, allocations: 3.562 kB / 0.9756 GB, free: 133.2 MB / 0.5417 GB Notification: Performance of Templates: time 0.07692/1.929, allocations: 48.49 MB / 1.023 GB, free: 130.4 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches