Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.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.Forces.WorldForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001395/0.001395, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.747/1.747, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008078/0.0008075, allocations: 83.88 kB / 261.7 MB, free: 1.621 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.2039/0.2039, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.533e-05/1.535e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.122, allocations: 58.86 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4169/0.539, allocations: 108 MB / 0.5714 GB, free: 3.785 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.5393, allocations: 78.81 kB / 0.5715 GB, free: 3.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7198/1.259, allocations: 149.4 MB / 0.7174 GB, free: 91.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.166e-06/1.259, allocations: 0 / 0.7174 GB, free: 91.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005355/1.26, allocations: 153.9 kB / 0.7175 GB, free: 91.7 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: 2705 * Number of variables: 2705 Notification: Performance of Generate backend data structure: time 0.0314/1.291, allocations: 7.388 MB / 0.7247 GB, free: 88.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.05e-05/1.291, allocations: 9.094 kB / 0.7247 GB, free: 88.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03948/1.331, allocations: 9.635 MB / 0.7342 GB, free: 88.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02387/1.355, allocations: 9.123 MB / 0.7431 GB, free: 87.45 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000465/1.355, allocations: 250.2 kB / 0.7433 GB, free: 87.45 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004231/1.359, allocations: 462.2 kB / 0.7437 GB, free: 87.45 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02104/1.38, allocations: 10.44 MB / 0.7539 GB, free: 87.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03804/1.418, allocations: 16.13 MB / 0.7697 GB, free: 83.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008463/1.419, allocations: 105.9 kB / 0.7698 GB, free: 83.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004527/1.424, allocations: 52.22 kB / 0.7698 GB, free: 83.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002849/1.427, allocations: 1.692 MB / 0.7715 GB, free: 83 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0914/1.518, allocations: 77.73 MB / 0.8474 GB, free: 29.04 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008034/1.526, allocations: 5.844 MB / 0.8531 GB, free: 24.76 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004388/1.531, allocations: 3.975 MB / 0.857 GB, free: 21.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002396/1.531, allocations: 69.14 kB / 0.8571 GB, free: 21.06 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/1.531, allocations: 65.31 kB / 0.8571 GB, free: 20.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=307): time 6.271e-06/1.531, allocations: 0 / 0.8571 GB, free: 20.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=340): time 0.05782/1.589, allocations: 30.12 MB / 0.8865 GB, free: 10 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001627/1.589, allocations: 287.5 kB / 0.8868 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009666/1.599, allocations: 5.135 MB / 0.8918 GB, free: 5.148 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001099/1.6, allocations: 25.7 kB / 0.8918 GB, free: 5.117 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00505/1.605, allocations: 5.452 MB / 0.8972 GB, free: 176 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.3267/1.932, allocations: 1.249 MB / 0.8984 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00132/1.933, allocations: 0.8438 kB / 0.8984 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007556/1.934, allocations: 0.723 MB / 0.8991 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006194/1.94, allocations: 3.483 MB / 0.9025 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01136/1.951, allocations: 9.279 MB / 0.9116 GB, free: 93.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01188/1.963, allocations: 5.609 MB / 0.917 GB, free: 93.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004534/1.964, allocations: 62.09 kB / 0.9171 GB, free: 93.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1292) (initialization): time 0.02967/1.994, allocations: 12.65 MB / 0.9294 GB, free: 93.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002163/1.994, allocations: 94.34 kB / 0.9295 GB, free: 93.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003337/1.994, allocations: 204.9 kB / 0.9297 GB, free: 93.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003111/1.997, allocations: 1.381 MB / 0.9311 GB, free: 93.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008652/2.006, allocations: 2.326 MB / 0.9333 GB, free: 93.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/2.017, allocations: 10.66 MB / 0.9438 GB, free: 89.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009875/2.027, allocations: 358.4 kB / 0.9441 GB, free: 89.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002731/2.03, allocations: 0.5881 MB / 0.9447 GB, free: 89.38 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 944 * Number of states: 0 () * Number of discrete variables: 63 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1217): * Single equations (assignments): 1211 * 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%) 14,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002518/2.032, allocations: 0.6303 MB / 0.9453 GB, free: 89.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001348/2.034, allocations: 0.5609 MB / 0.9458 GB, free: 88.93 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009786/2.044, allocations: 6.262 MB / 0.952 GB, free: 88.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.012e-05/2.044, allocations: 33.72 kB / 0.952 GB, free: 88.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.11e-05/2.044, allocations: 10.84 kB / 0.952 GB, free: 88.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.331e-05/2.044, allocations: 15.19 kB / 0.952 GB, free: 88.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02914/2.073, allocations: 13.92 MB / 0.9656 GB, free: 86.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.283e-05/2.073, allocations: 0 / 0.9656 GB, free: 86.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003039/2.076, allocations: 0.5848 MB / 0.9662 GB, free: 86.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002672/2.079, allocations: 1.035 MB / 0.9672 GB, free: 86.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000588/2.079, allocations: 17.33 kB / 0.9672 GB, free: 86.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01067/2.09, allocations: 9.733 MB / 0.9767 GB, free: 80.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/2.09, allocations: 2.156 kB / 0.9767 GB, free: 80.23 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01605/2.106, allocations: 10.75 MB / 0.9872 GB, free: 75.67 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003214/2.109, allocations: 1.078 MB / 0.9883 GB, free: 75.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009885/2.11, allocations: 7.031 kB / 0.9883 GB, free: 75.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002478/2.113, allocations: 147.7 kB / 0.9884 GB, free: 75.06 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005002/2.113, allocations: 199 kB / 0.9886 GB, free: 75.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000234/2.114, allocations: 88.05 kB / 0.9887 GB, free: 75.02 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006317/2.12, allocations: 3.462 MB / 0.9921 GB, free: 73.75 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.21e-07/2.12, allocations: 0 / 0.9921 GB, free: 73.75 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01206/2.132, allocations: 1.54 MB / 0.9936 GB, free: 73.75 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 280 * 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 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007784/2.133, allocations: 167.2 kB / 0.9937 GB, free: 73.63 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01536/2.148, allocations: 8.766 MB / 1.002 GB, free: 68.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/2.148, allocations: 4 kB / 1.002 GB, free: 68.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004354/2.153, allocations: 3.388 MB / 1.006 GB, free: 65.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004243/2.157, allocations: 0.6351 MB / 1.006 GB, free: 64.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02548/2.182, allocations: 14.08 MB / 1.02 GB, free: 52.42 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005639/2.188, allocations: 5.619 MB / 1.025 GB, free: 48.31 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008047/2.196, allocations: 3.153 MB / 1.029 GB, free: 46.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001415/2.198, allocations: 402.5 kB / 1.029 GB, free: 45.92 MB / 0.5105 GB Notification: Performance of SimCode: time 1.302e-06/2.198, allocations: 0 / 1.029 GB, free: 45.92 MB / 0.5105 GB Notification: Performance of Templates: time 0.1003/2.298, allocations: 55.52 MB / 1.083 GB, free: 1.121 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces/WorldForces.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches