Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001519/0.001519, allocations: 197.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 226.5 MB / 245.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007731/0.0007729, allocations: 97.03 kB / 297.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3618/0.3618, allocations: 44.83 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002657/0.000266, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3611, allocations: 62.96 MB / 0.5184 GB, free: 37.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1556/0.5167, allocations: 118.4 MB / 0.634 GB, free: 2.91 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.517, allocations: 83.95 kB / 0.6341 GB, free: 2.832 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5983/1.115, allocations: 144.7 MB / 0.7754 GB, free: 70.04 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.785e-06/1.115, allocations: 0 / 0.7754 GB, free: 70.04 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000522/1.116, allocations: 128 kB / 0.7755 GB, free: 69.91 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.02277/1.139, allocations: 7.041 MB / 0.7824 GB, free: 62.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/1.139, allocations: 15.97 kB / 0.7824 GB, free: 62.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02674/1.165, allocations: 6.859 MB / 0.7891 GB, free: 55.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01706/1.183, allocations: 7.17 MB / 0.7961 GB, free: 48.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004299/1.183, allocations: 485 kB / 0.7966 GB, free: 48.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003053/1.186, allocations: 0.629 MB / 0.7972 GB, free: 47.53 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03488/1.221, allocations: 15.48 MB / 0.8123 GB, free: 30.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000654/1.222, allocations: 87.23 kB / 0.8124 GB, free: 30.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003426/1.225, allocations: 291.9 kB / 0.8127 GB, free: 30.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002094/1.227, allocations: 1.389 MB / 0.814 GB, free: 29.08 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02679/1.254, allocations: 12.67 MB / 0.8264 GB, free: 16.39 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3894/1.644, allocations: 64.28 MB / 0.8892 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01574/1.659, allocations: 6.206 MB / 0.8952 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003818/1.663, allocations: 3.15 MB / 0.8983 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01565/1.679, allocations: 11.04 MB / 0.9091 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/1.679, allocations: 60.5 kB / 0.9091 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=245): time 5.641e-06/1.679, allocations: 1.688 kB / 0.9091 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=337): time 0.1205/1.8, allocations: 36.65 MB / 0.9449 GB, free: 97.81 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.832e-05/1.8, allocations: 241.1 kB / 0.9452 GB, free: 97.55 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009555/1.809, allocations: 5.586 MB / 0.9506 GB, free: 96.22 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008909/1.81, allocations: 79.36 kB / 0.9507 GB, free: 96.15 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003207/1.813, allocations: 4.462 MB / 0.9551 GB, free: 92.79 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001874/1.815, allocations: 1.233 MB / 0.9563 GB, free: 91.87 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005452/1.816, allocations: 168.1 kB / 0.9564 GB, free: 91.74 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000365/1.816, allocations: 0.6547 MB / 0.9571 GB, free: 91.29 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004906/1.821, allocations: 3.603 MB / 0.9606 GB, free: 89.95 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007816/1.829, allocations: 8.185 MB / 0.9686 GB, free: 82.55 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0137/1.843, allocations: 12.74 MB / 0.981 GB, free: 73.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00016/1.843, allocations: 48.09 kB / 0.9811 GB, free: 73.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1073) (initialization): time 0.02867/1.872, allocations: 14.74 MB / 0.9955 GB, free: 65.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.803e-05/1.872, allocations: 73.75 kB / 0.9955 GB, free: 65.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001792/1.872, allocations: 160 kB / 0.9957 GB, free: 65.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01047/1.882, allocations: 3.555 MB / 0.9992 GB, free: 62.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005871/1.888, allocations: 1.802 MB / 1.001 GB, free: 61.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02201/1.91, allocations: 18.01 MB / 1.018 GB, free: 45.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006519/1.917, allocations: 486.4 kB / 1.019 GB, free: 45.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001694/1.919, allocations: 467.1 kB / 1.019 GB, free: 44.94 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 724 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.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],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (972): * Single equations (assignments): 968 * 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 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006537/1.925, allocations: 3.124 MB / 1.022 GB, free: 42.19 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001143/1.926, allocations: 0.5279 MB / 1.023 GB, free: 41.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01694/1.943, allocations: 8.889 MB / 1.032 GB, free: 34.69 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.401e-05/1.943, allocations: 36 kB / 1.032 GB, free: 34.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.269e-05/1.943, allocations: 14.91 kB / 1.032 GB, free: 34.64 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.128e-05/1.943, allocations: 16.94 kB / 1.032 GB, free: 34.64 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03285/1.976, allocations: 18.66 MB / 1.05 GB, free: 17.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.783e-05/1.976, allocations: 7.984 kB / 1.05 GB, free: 17.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002096/1.978, allocations: 487.3 kB / 1.05 GB, free: 17.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009533/1.988, allocations: 3.119 MB / 1.053 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005358/1.989, allocations: 63.98 kB / 1.054 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01993/2.009, allocations: 15.68 MB / 1.069 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.201e-05/2.009, allocations: 11.94 kB / 1.069 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02792/2.037, allocations: 13.25 MB / 1.082 GB, free: 0.625 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002539/2.039, allocations: 0.5528 MB / 1.082 GB, free: 48 kB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00221/2.041, allocations: 68.23 kB / 1.082 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003959/2.045, allocations: 202.9 kB / 1.083 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001163/2.047, allocations: 222.2 kB / 1.083 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005493/2.047, allocations: 90.03 kB / 1.083 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.008473/2.056, allocations: 3.518 MB / 1.086 GB, free: 12 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.41e-07/2.056, allocations: 3.719 kB / 1.086 GB, free: 12 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01046/2.066, allocations: 1.684 MB / 1.088 GB, free: 10.33 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (revolute.phi,revolute.w) * 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 (253): * Single equations (assignments): 249 * 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 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001181/2.067, allocations: 254.6 kB / 1.088 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.2736/2.341, allocations: 8.913 MB / 1.097 GB, free: 141.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/2.341, allocations: 0 / 1.097 GB, free: 141.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005326/2.346, allocations: 3.488 MB / 1.1 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01162/2.358, allocations: 0.7285 MB / 1.101 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0314/2.389, allocations: 17.93 MB / 1.119 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008298/2.398, allocations: 4.816 MB / 1.123 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.008452/2.406, allocations: 2.598 MB / 1.126 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001741/2.408, allocations: 353.9 kB / 1.126 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of SimCode: time 9.72e-07/2.408, allocations: 0 / 1.126 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of Templates: time 0.1244/2.532, allocations: 68.9 MB / 1.193 GB, free: 109.6 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches