Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.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.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001458/0.001458, allocations: 200.7 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 226.5 MB / 245.4 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009644/0.0009644, allocations: 94.98 kB / 297.5 MB, free: 6.637 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3343/0.3343, allocations: 44.82 MB / 394.3 MB, free: 35.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002871/0.0002871, allocations: 8 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3952, allocations: 62.96 MB / 0.5184 GB, free: 37.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1397/0.5349, allocations: 108 MB / 0.6239 GB, free: 13.26 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003424/0.5353, allocations: 91.94 kB / 0.624 GB, free: 13.18 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5988/1.134, allocations: 132.1 MB / 0.753 GB, free: 87.34 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.606e-06/1.134, allocations: 0 / 0.753 GB, free: 87.34 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004114/1.135, allocations: 127.3 kB / 0.7531 GB, free: 87.34 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: 2214 * Number of variables: 2214 Notification: Performance of Generate backend data structure: time 0.02351/1.158, allocations: 6.776 MB / 0.7597 GB, free: 82.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/1.158, allocations: 10.75 kB / 0.7598 GB, free: 82.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02896/1.187, allocations: 6.957 MB / 0.7665 GB, free: 78.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01663/1.204, allocations: 6.616 MB / 0.773 GB, free: 71.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005027/1.204, allocations: 489.2 kB / 0.7735 GB, free: 71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003484/1.208, allocations: 0.6407 MB / 0.7741 GB, free: 70.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03567/1.244, allocations: 15.13 MB / 0.7889 GB, free: 53.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004352/1.244, allocations: 99.3 kB / 0.789 GB, free: 53.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00252/1.247, allocations: 311.8 kB / 0.7893 GB, free: 53.37 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001773/1.248, allocations: 1.342 MB / 0.7906 GB, free: 52.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02513/1.274, allocations: 11.85 MB / 0.8021 GB, free: 40.14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09091/1.365, allocations: 67.51 MB / 0.8681 GB, free: 2.629 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0146/1.379, allocations: 5.285 MB / 0.8732 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004443/1.384, allocations: 2.658 MB / 0.8758 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002115/1.384, allocations: 32.95 kB / 0.8759 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.124e-05/1.384, allocations: 59.5 kB / 0.8759 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=190): time 6.923e-06/1.384, allocations: 4 kB / 0.8759 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=208): time 0.4523/1.836, allocations: 19.6 MB / 0.8951 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001729/1.837, allocations: 257.5 kB / 0.8953 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0189/1.855, allocations: 6.71 MB / 0.9019 GB, free: 123 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006354/1.856, allocations: 56.69 kB / 0.9019 GB, free: 123 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005633/1.862, allocations: 4.672 MB / 0.9065 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001813/1.864, allocations: 0.8237 MB / 0.9073 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00129/1.865, allocations: 156.4 kB / 0.9074 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001015/1.866, allocations: 0.6379 MB / 0.9081 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005719/1.872, allocations: 2.455 MB / 0.9105 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01008/1.882, allocations: 7.424 MB / 0.9177 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01568/1.898, allocations: 10.77 MB / 0.9282 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006119/1.898, allocations: 50.22 kB / 0.9283 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1015) (initialization): time 0.02621/1.925, allocations: 10.15 MB / 0.9382 GB, free: 103 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005401/1.925, allocations: 81.09 kB / 0.9383 GB, free: 103 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007723/1.926, allocations: 173.7 kB / 0.9384 GB, free: 103 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002921/1.929, allocations: 0.7752 MB / 0.9392 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006853/1.936, allocations: 1.755 MB / 0.9409 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/1.946, allocations: 8.299 MB / 0.949 GB, free: 96.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009423/1.955, allocations: 412.5 kB / 0.9494 GB, free: 96.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002437/1.958, allocations: 483 kB / 0.9499 GB, free: 96.61 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 801 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.arrowLine.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.arrow.arrowLine.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (952): * Single equations (assignments): 946 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01062/1.969, allocations: 3.047 MB / 0.9528 GB, free: 95.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002139/1.971, allocations: 0.5562 MB / 0.9534 GB, free: 94.89 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008243/1.979, allocations: 3.392 MB / 0.9567 GB, free: 93.58 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.582e-05/1.979, allocations: 30.66 kB / 0.9567 GB, free: 93.58 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.069e-05/1.979, allocations: 7.188 kB / 0.9567 GB, free: 93.58 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.967e-05/1.979, allocations: 7.594 kB / 0.9567 GB, free: 93.58 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02883/2.008, allocations: 9.567 MB / 0.9661 GB, free: 90.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.094e-05/2.008, allocations: 0 / 0.9661 GB, free: 90.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001605/2.01, allocations: 299.2 kB / 0.9664 GB, free: 89.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001636/2.011, allocations: 0.4987 MB / 0.9668 GB, free: 89.84 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003575/2.012, allocations: 39.44 kB / 0.9669 GB, free: 89.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008151/2.02, allocations: 7.409 MB / 0.9741 GB, free: 84.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/2.02, allocations: 3.906 kB / 0.9741 GB, free: 84.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01013/2.03, allocations: 6.076 MB / 0.9801 GB, free: 81.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002847/2.033, allocations: 0.6103 MB / 0.9806 GB, free: 81.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009641/2.034, allocations: 35.11 kB / 0.9807 GB, free: 81.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001898/2.036, allocations: 101.9 kB / 0.9808 GB, free: 81.17 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004001/2.036, allocations: 128.5 kB / 0.9809 GB, free: 81.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/2.037, allocations: 51.38 kB / 0.9809 GB, free: 81.14 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008368/2.045, allocations: 4.273 MB / 0.9851 GB, free: 78.54 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.51e-07/2.045, allocations: 0 / 0.9851 GB, free: 78.54 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01133/2.056, allocations: 1.395 MB / 0.9865 GB, free: 77.15 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (160): * Single equations (assignments): 154 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007203/2.057, allocations: 180.5 kB / 0.9867 GB, free: 76.98 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0109/2.068, allocations: 6.248 MB / 0.9928 GB, free: 71.46 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/2.068, allocations: 4.062 kB / 0.9928 GB, free: 71.46 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002644/2.071, allocations: 1.975 MB / 0.9947 GB, free: 69.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006395/2.077, allocations: 0.7762 MB / 0.9954 GB, free: 69.04 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02754/2.105, allocations: 15.73 MB / 1.011 GB, free: 54.62 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008283/2.113, allocations: 4.634 MB / 1.015 GB, free: 51.12 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007963/2.121, allocations: 2.535 MB / 1.018 GB, free: 49.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001401/2.122, allocations: 352.9 kB / 1.018 GB, free: 49.17 MB / 0.5261 GB Notification: Performance of SimCode: time 6.42e-07/2.122, allocations: 0 / 1.018 GB, free: 49.17 MB / 0.5261 GB Notification: Performance of Templates: time 0.1064/2.229, allocations: 50.95 MB / 1.068 GB, free: 3.516 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches