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.001047/0.001047, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008352/0.0008348, allocations: 89.09 kB / 292.1 MB, free: 5.934 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2041/0.2041, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.043e-05/3.046e-05, allocations: 7.984 kB / 460.4 MB, free: 70.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1162, allocations: 63.25 MB / 0.5114 GB, free: 6.789 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4295/0.5458, allocations: 118.3 MB / 0.6269 GB, free: 8.039 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.5461, allocations: 73.84 kB / 0.6269 GB, free: 8.004 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6779/1.224, allocations: 148.6 MB / 0.7721 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.984e-06/1.224, allocations: 4.875 kB / 0.7721 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0006061/1.225, allocations: 130.8 kB / 0.7722 GB, free: 113.9 MB / 0.5261 GB 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.02209/1.247, allocations: 6.652 MB / 0.7787 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/1.247, allocations: 15.44 kB / 0.7787 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03401/1.281, allocations: 9.335 MB / 0.7878 GB, free: 111 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02107/1.302, allocations: 7.896 MB / 0.7955 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004586/1.302, allocations: 485.3 kB / 0.796 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002996/1.305, allocations: 0.6314 MB / 0.7966 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03166/1.337, allocations: 15.53 MB / 0.8118 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003102/1.337, allocations: 83.27 kB / 0.8119 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001607/1.339, allocations: 303.8 kB / 0.8122 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001739/1.341, allocations: 1.389 MB / 0.8135 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02512/1.366, allocations: 12.72 MB / 0.8259 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06406/1.43, allocations: 64.37 MB / 0.8888 GB, free: 52.38 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01487/1.445, allocations: 6.244 MB / 0.8949 GB, free: 47.17 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003446/1.448, allocations: 3.118 MB / 0.8979 GB, free: 44.29 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0142/1.463, allocations: 11.13 MB / 0.9088 GB, free: 34.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/1.463, allocations: 64.45 kB / 0.9089 GB, free: 34.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=245): time 5.791e-06/1.463, allocations: 0 / 0.9089 GB, free: 34.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=337): time 0.08586/1.549, allocations: 29.48 MB / 0.9377 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.713e-05/1.549, allocations: 251.8 kB / 0.9379 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007156/1.556, allocations: 4.914 MB / 0.9427 GB, free: 0.9453 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007898/1.557, allocations: 77.61 kB / 0.9428 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003258/1.56, allocations: 4.465 MB / 0.9471 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001864/1.562, allocations: 1.229 MB / 0.9483 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00049/1.562, allocations: 167.9 kB / 0.9485 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004766/1.563, allocations: 0.6493 MB / 0.9491 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00537/1.568, allocations: 3.538 MB / 0.9526 GB, free: 6.82 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3086/1.877, allocations: 8.063 MB / 0.9605 GB, free: 111.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008989/1.886, allocations: 5.292 MB / 0.9656 GB, free: 111.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002219/1.886, allocations: 48.33 kB / 0.9657 GB, free: 111.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1073) (initialization): time 0.03358/1.92, allocations: 14.59 MB / 0.9799 GB, free: 111.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/1.92, allocations: 72.09 kB / 0.98 GB, free: 111.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001561/1.92, allocations: 157.3 kB / 0.9801 GB, free: 111.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01074/1.931, allocations: 3.559 MB / 0.9836 GB, free: 111.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005709/1.937, allocations: 1.804 MB / 0.9854 GB, free: 111.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02269/1.959, allocations: 17.92 MB / 1.003 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00765/1.967, allocations: 487.1 kB / 1.003 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001675/1.969, allocations: 472.8 kB / 1.004 GB, free: 108.3 MB / 0.5417 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 () * 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.001398/1.97, allocations: 0.7134 MB / 1.004 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001083/1.971, allocations: 0.5225 MB / 1.005 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01696/1.988, allocations: 8.82 MB / 1.014 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.077e-05/1.988, allocations: 34.88 kB / 1.014 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.005e-05/1.988, allocations: 13.56 kB / 1.014 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.774e-05/1.988, allocations: 17.98 kB / 1.014 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03248/2.021, allocations: 18.58 MB / 1.032 GB, free: 97.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.897e-05/2.021, allocations: 6.156 kB / 1.032 GB, free: 97.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002606/2.024, allocations: 491.8 kB / 1.032 GB, free: 97.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01011/2.034, allocations: 3.097 MB / 1.035 GB, free: 97.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006837/2.034, allocations: 62.91 kB / 1.035 GB, free: 97.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01948/2.054, allocations: 15.59 MB / 1.051 GB, free: 90.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/2.054, allocations: 10.16 kB / 1.051 GB, free: 90.43 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02236/2.076, allocations: 14.03 MB / 1.064 GB, free: 83.29 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002008/2.078, allocations: 0.5529 MB / 1.065 GB, free: 82.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002046/2.081, allocations: 60 kB / 1.065 GB, free: 82.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00363/2.084, allocations: 216.2 kB / 1.065 GB, free: 82.55 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008101/2.085, allocations: 216.9 kB / 1.065 GB, free: 82.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004408/2.085, allocations: 92.78 kB / 1.065 GB, free: 82.32 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005854/2.091, allocations: 3.456 MB / 1.069 GB, free: 79.29 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.1e-07/2.091, allocations: 0 / 1.069 GB, free: 79.29 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007976/2.099, allocations: 1.689 MB / 1.07 GB, free: 77.63 MB / 0.5417 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 () * 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.0007063/2.1, allocations: 246.5 kB / 1.071 GB, free: 77.42 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01166/2.112, allocations: 8.794 MB / 1.079 GB, free: 69.35 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/2.112, allocations: 0 / 1.079 GB, free: 69.35 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004177/2.116, allocations: 3.436 MB / 1.083 GB, free: 66.18 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003893/2.12, allocations: 0.6924 MB / 1.083 GB, free: 65.61 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02613/2.146, allocations: 12.86 MB / 1.096 GB, free: 54.06 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006011/2.152, allocations: 4.954 MB / 1.101 GB, free: 50.39 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00652/2.159, allocations: 2.597 MB / 1.103 GB, free: 48.74 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/2.16, allocations: 346.6 kB / 1.104 GB, free: 48.41 MB / 0.5417 GB Notification: Performance of SimCode: time 1.102e-06/2.16, allocations: 0 / 1.104 GB, free: 48.41 MB / 0.5417 GB Notification: Performance of Templates: time 0.3739/2.534, allocations: 68.62 MB / 1.171 GB, free: 117.1 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/jenkins/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