Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000927/0.000927, allocations: 183.5 kB / 13.19 MB, free: 2.129 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.27/1.27, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.000727/0.0007271, allocations: 90.55 kB / 267 MB, free: 9.281 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.3149/0.3149, allocations: 43.46 MB / 358.6 MB, free: 51.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.773e-05/2.776e-05, allocations: 4 kB / 425.3 MB, free: 8.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1099, allocations: 58.85 MB / 484.2 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3525/0.4625, allocations: 114.6 MB / 0.5848 GB, free: 7.402 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.4627, allocations: 77.39 kB / 0.5848 GB, free: 7.363 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5105/0.9732, allocations: 123.6 MB / 0.7056 GB, free: 91.33 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9733, allocations: 2.906 kB / 0.7056 GB, free: 91.33 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002011/0.9735, allocations: 105.8 kB / 0.7057 GB, free: 91.33 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01553/0.989, allocations: 5.651 MB / 0.7112 GB, free: 89.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.9891, allocations: 11.09 kB / 0.7112 GB, free: 89.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01844/1.008, allocations: 4.726 MB / 0.7158 GB, free: 88.94 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01486/1.022, allocations: 6.642 MB / 0.7223 GB, free: 88.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005551/1.023, allocations: 441 kB / 0.7227 GB, free: 88.19 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002615/1.026, allocations: 0.5443 MB / 0.7232 GB, free: 88.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02611/1.052, allocations: 14.07 MB / 0.737 GB, free: 85.13 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001879/1.052, allocations: 69.77 kB / 0.737 GB, free: 85.13 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009356/1.053, allocations: 260.5 kB / 0.7373 GB, free: 85.13 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001698/1.055, allocations: 1.296 MB / 0.7386 GB, free: 85.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02447/1.079, allocations: 11.66 MB / 0.7499 GB, free: 85.08 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05692/1.136, allocations: 59.33 MB / 0.8079 GB, free: 42.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/1.146, allocations: 4.646 MB / 0.8124 GB, free: 40.72 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002718/1.149, allocations: 2.707 MB / 0.8151 GB, free: 39.54 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01407/1.163, allocations: 12.61 MB / 0.8274 GB, free: 32.35 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/1.163, allocations: 59.16 kB / 0.8274 GB, free: 32.29 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=191): time 4.779e-06/1.163, allocations: 7.656 kB / 0.8274 GB, free: 32.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=242): time 0.08436/1.248, allocations: 32.85 MB / 0.8595 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/1.248, allocations: 239.2 kB / 0.8597 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00589/1.254, allocations: 4.196 MB / 0.8638 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005719/1.254, allocations: 63.11 kB / 0.8639 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001689/1.256, allocations: 3.913 MB / 0.8677 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007875/1.257, allocations: 0.913 MB / 0.8686 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000301/1.257, allocations: 140 kB / 0.8688 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002626/1.257, allocations: 0.6109 MB / 0.8693 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003463/1.261, allocations: 3.158 MB / 0.8724 GB, free: 1.172 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01427/1.275, allocations: 8.116 MB / 0.8804 GB, free: 9.719 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006234/1.281, allocations: 4.749 MB / 0.885 GB, free: 5.32 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-05/1.282, allocations: 44 kB / 0.885 GB, free: 5.277 MB / 0.5105 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.2727/1.554, allocations: 13.67 MB / 0.8984 GB, free: 92.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.961e-05/1.554, allocations: 68.38 kB / 0.8985 GB, free: 92.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001845/1.555, allocations: 159 kB / 0.8986 GB, free: 92.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01018/1.565, allocations: 3.797 MB / 0.9023 GB, free: 92.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004945/1.57, allocations: 1.617 MB / 0.9039 GB, free: 92.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02171/1.591, allocations: 18 MB / 0.9215 GB, free: 91.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005815/1.597, allocations: 485.9 kB / 0.9219 GB, free: 91.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008906/1.598, allocations: 432.2 kB / 0.9223 GB, free: 91.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 689 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (859): * Single equations (assignments): 855 * 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 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001043/1.599, allocations: 0.6494 MB / 0.923 GB, free: 91.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006536/1.6, allocations: 439.5 kB / 0.9234 GB, free: 91.09 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01638/1.616, allocations: 8.077 MB / 0.9313 GB, free: 90.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-05/1.616, allocations: 26.75 kB / 0.9313 GB, free: 90.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/1.616, allocations: 11.78 kB / 0.9313 GB, free: 90.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.254e-05/1.616, allocations: 13.53 kB / 0.9313 GB, free: 90.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03016/1.647, allocations: 17.39 MB / 0.9483 GB, free: 85.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.34e-05/1.647, allocations: 2.688 kB / 0.9483 GB, free: 85.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001862/1.649, allocations: 383 kB / 0.9487 GB, free: 85.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01012/1.659, allocations: 3.85 MB / 0.9524 GB, free: 85.01 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005172/1.659, allocations: 43.38 kB / 0.9525 GB, free: 84.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01911/1.678, allocations: 16.45 MB / 0.9686 GB, free: 78.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/1.678, allocations: 2.688 kB / 0.9686 GB, free: 78.17 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01898/1.697, allocations: 12.56 MB / 0.9808 GB, free: 73.67 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002478/1.7, allocations: 0.9378 MB / 0.9817 GB, free: 73.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005547/1.7, allocations: 42.39 kB / 0.9818 GB, free: 73.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002023/1.702, allocations: 207.8 kB / 0.982 GB, free: 73.08 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004766/1.703, allocations: 149.9 kB / 0.9821 GB, free: 73.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001838/1.703, allocations: 64.33 kB / 0.9822 GB, free: 73.05 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003814/1.707, allocations: 2.919 MB / 0.985 GB, free: 72.02 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/1.707, allocations: 0 / 0.985 GB, free: 72.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006273/1.713, allocations: 1.461 MB / 0.9865 GB, free: 71.87 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 163 * 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 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006332/1.714, allocations: 212.5 kB / 0.9867 GB, free: 71.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009247/1.723, allocations: 7.742 MB / 0.9942 GB, free: 69.15 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.723, allocations: 3.5 kB / 0.9942 GB, free: 69.15 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003103/1.726, allocations: 2.913 MB / 0.9971 GB, free: 67.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/1.729, allocations: 0.491 MB / 0.9975 GB, free: 67.65 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/1.743, allocations: 10.63 MB / 1.008 GB, free: 62.12 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003519/1.747, allocations: 4.222 MB / 1.012 GB, free: 58.99 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00464/1.752, allocations: 2.18 MB / 1.014 GB, free: 57.74 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006699/1.752, allocations: 278.6 kB / 1.014 GB, free: 57.48 MB / 0.5105 GB Notification: Performance of SimCode: time 4.11e-07/1.752, allocations: 2.312 kB / 1.014 GB, free: 57.48 MB / 0.5105 GB Notification: Performance of Templates: time 0.08369/1.836, allocations: 58.57 MB / 1.072 GB, free: 5.496 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches