Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008588/0.0008589, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 183.1 kB / 16.92 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.4 MB / 223.1 MB, free: 5.449 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4292/0.4292, allocations: 43.58 MB / 315 MB, free: 9.066 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006902/0.0006902, allocations: 16 kB / 384.6 MB, free: 7.871 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1463, allocations: 58.87 MB / 443.4 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.3895/0.5358, allocations: 98.59 MB / 0.5293 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.06568/0.6015, allocations: 19.18 MB / 0.5481 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03543/0.637, allocations: 429.4 kB / 0.5485 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003748/0.6408, allocations: 0.6478 MB / 0.5491 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01182/0.6527, allocations: 2.618 MB / 0.5517 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004118/0.6568, allocations: 1.04 MB / 0.5527 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02054/0.6774, allocations: 11.21 MB / 0.5636 GB, free: 4.746 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01793/0.6954, allocations: 8.237 MB / 0.5717 GB, free: 12.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006022/0.7015, allocations: 1.957 MB / 0.5736 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007967/0.7095, allocations: 3.476 MB / 0.577 GB, free: 6.977 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002268/0.7118, allocations: 244 kB / 0.5772 GB, free: 6.738 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005437/0.7173, allocations: 1.318 MB / 0.5785 GB, free: 5.418 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006356/0.7237, allocations: 3.035 MB / 0.5815 GB, free: 2.375 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009367/0.7331, allocations: 3.34 MB / 0.5847 GB, free: 15 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02036/0.7535, allocations: 11.05 MB / 0.5955 GB, free: 3.914 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.7536, allocations: 0 / 0.5955 GB, free: 3.914 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.7536, allocations: 0 / 0.5955 GB, free: 3.914 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006676/0.7543, allocations: 0 / 0.5955 GB, free: 3.914 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.02377/0.7781, allocations: 6.609 MB / 0.602 GB, free: 13.22 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.173e-05/0.7782, allocations: 12.03 kB / 0.602 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01795/0.7961, allocations: 3.24 MB / 0.6051 GB, free: 9.957 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01426/0.8105, allocations: 5.15 MB / 0.6102 GB, free: 4.727 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005635/0.8111, allocations: 390.4 kB / 0.6105 GB, free: 4.344 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002545/0.8136, allocations: 0.5233 MB / 0.6111 GB, free: 3.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03649/0.8501, allocations: 15.82 MB / 0.6265 GB, free: 2.953 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000325/0.8505, allocations: 67.38 kB / 0.6266 GB, free: 2.887 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009779/0.8515, allocations: 255.8 kB / 0.6268 GB, free: 2.637 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.5496/1.401, allocations: 2.927 MB / 0.6297 GB, free: 137.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03033/1.432, allocations: 13.19 MB / 0.6426 GB, free: 136.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0914/1.523, allocations: 60.42 MB / 0.7016 GB, free: 95.61 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01592/1.539, allocations: 6.109 MB / 0.7075 GB, free: 92.78 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004578/1.544, allocations: 3.372 MB / 0.7108 GB, free: 90.97 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001654/1.544, allocations: 41.75 kB / 0.7109 GB, free: 90.96 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/1.544, allocations: 67.62 kB / 0.7109 GB, free: 90.89 MB / 494.1 MB Notification: Performance of pre-optimization done (n=242): time 6.843e-06/1.544, allocations: 0 / 0.7109 GB, free: 90.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=260): time 0.06086/1.605, allocations: 25.84 MB / 0.7362 GB, free: 65.53 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/1.605, allocations: 269.1 kB / 0.7364 GB, free: 65.21 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009113/1.614, allocations: 6.969 MB / 0.7432 GB, free: 58.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009558/1.615, allocations: 65.7 kB / 0.7433 GB, free: 58.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003165/1.618, allocations: 4.802 MB / 0.748 GB, free: 53.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001539/1.62, allocations: 1.01 MB / 0.749 GB, free: 52.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008726/1.621, allocations: 0.7598 MB / 0.7497 GB, free: 51.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.338e-05/1.621, allocations: 301.1 kB / 0.75 GB, free: 51.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004359/1.625, allocations: 3.32 MB / 0.7532 GB, free: 48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006667/1.632, allocations: 8.49 MB / 0.7615 GB, free: 36.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01284/1.645, allocations: 12.65 MB / 0.7739 GB, free: 21.76 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001464/1.645, allocations: 52 kB / 0.7739 GB, free: 21.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.02597/1.671, allocations: 13.08 MB / 0.7867 GB, free: 8.609 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002684/1.671, allocations: 91.97 kB / 0.7868 GB, free: 8.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000324/1.671, allocations: 180 kB / 0.787 GB, free: 8.344 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004605/1.676, allocations: 1.773 MB / 0.7887 GB, free: 6.566 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007508/1.684, allocations: 2.113 MB / 0.7908 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01496/1.698, allocations: 11.56 MB / 0.802 GB, free: 8.512 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008866/1.707, allocations: 0.4953 MB / 0.8025 GB, free: 8.016 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002228/1.71, allocations: 0.5144 MB / 0.803 GB, free: 7.504 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 57 (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.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.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 (1087): * Single equations (assignments): 1081 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008479/1.718, allocations: 3.21 MB / 0.8062 GB, free: 4.277 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001619/1.72, allocations: 0.5785 MB / 0.8067 GB, free: 3.691 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01292/1.733, allocations: 5.804 MB / 0.8124 GB, free: 13.86 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.784e-05/1.733, allocations: 28 kB / 0.8124 GB, free: 13.83 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.74e-05/1.733, allocations: 8 kB / 0.8124 GB, free: 13.82 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.752e-05/1.733, allocations: 19.95 kB / 0.8124 GB, free: 13.8 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02782/1.761, allocations: 12.93 MB / 0.8251 GB, free: 0.8711 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/1.761, allocations: 0 / 0.8251 GB, free: 0.8711 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0027/1.764, allocations: 0.507 MB / 0.8256 GB, free: 372 kB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3329/2.096, allocations: 1.472 MB / 0.827 GB, free: 155.2 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007828/2.097, allocations: 56.42 kB / 0.8271 GB, free: 155.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01201/2.109, allocations: 10.62 MB / 0.8374 GB, free: 151.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/2.109, allocations: 2.781 kB / 0.8374 GB, free: 151.2 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01523/2.125, allocations: 9.444 MB / 0.8466 GB, free: 148.7 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003629/2.128, allocations: 1.061 MB / 0.8477 GB, free: 148.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001873/2.13, allocations: 44.7 kB / 0.8477 GB, free: 148.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003601/2.134, allocations: 174.1 kB / 0.8479 GB, free: 148.3 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000565/2.134, allocations: 165.2 kB / 0.8481 GB, free: 148.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001943/2.135, allocations: 68.25 kB / 0.8481 GB, free: 148.3 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00839/2.143, allocations: 4.451 MB / 0.8525 GB, free: 146.8 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3.41e-07/2.143, allocations: 0 / 0.8525 GB, free: 146.8 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01225/2.155, allocations: 1.624 MB / 0.8541 GB, free: 146.6 MB / 0.5138 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 (215): * Single equations (assignments): 209 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,10,100.0%), (1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009886/2.156, allocations: 184.6 kB / 0.8542 GB, free: 146.5 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01724/2.174, allocations: 8.096 MB / 0.8621 GB, free: 143.6 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.76e-05/2.174, allocations: 5 kB / 0.8621 GB, free: 143.6 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.006533/2.18, allocations: 2.73 MB / 0.8648 GB, free: 142.4 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008159/2.188, allocations: 0.7427 MB / 0.8655 GB, free: 142.1 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03651/2.225, allocations: 18.48 MB / 0.8836 GB, free: 132.6 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007796/2.233, allocations: 4.898 MB / 0.8884 GB, free: 130.9 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007759/2.241, allocations: 2.749 MB / 0.891 GB, free: 130.7 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001436/2.242, allocations: 396.4 kB / 0.8914 GB, free: 130.4 MB / 0.5138 GB Notification: Performance of SimCode: time 1.673e-06/2.242, allocations: 0 / 0.8914 GB, free: 130.4 MB / 0.5138 GB Notification: Performance of Templates: time 0.1121/2.354, allocations: 60.6 MB / 0.9506 GB, free: 71.81 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches