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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001206/0.001206, allocations: 94.7 kB / 17 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001823/0.001823, allocations: 195 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.7 MB / 246.4 MB, free: 9.715 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2152/0.2152, allocations: 46.19 MB / 344.8 MB, free: 11.31 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003723, allocations: 12.2 kB / 418.8 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.146, allocations: 63.57 MB / 482.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.4036/0.5496, allocations: 80.11 MB / 0.5493 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04648/0.5961, allocations: 16.21 MB / 0.5652 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01964/0.6158, allocations: 388.3 kB / 0.5655 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01769/0.6336, allocations: 4.27 MB / 0.5697 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.037/0.6706, allocations: 12.21 MB / 0.5816 GB, free: 1.324 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005621/0.6762, allocations: 0.9986 MB / 0.5826 GB, free: 332 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.1201/0.7964, allocations: 91.56 MB / 0.672 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01261/0.809, allocations: 7.22 MB / 0.6791 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004444/0.8135, allocations: 1.958 MB / 0.681 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005087/0.8186, allocations: 3.127 MB / 0.684 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001441/0.8201, allocations: 212 kB / 0.6842 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003356/0.8234, allocations: 1.108 MB / 0.6853 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.003741/0.8272, allocations: 2.723 MB / 0.688 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002288/0.8295, allocations: 1.24 MB / 0.6892 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00939/0.8389, allocations: 8.339 MB / 0.6973 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.839, allocations: 0 / 0.6973 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.824e-06/0.839, allocations: 0 / 0.6973 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0004284/0.8394, allocations: 0 / 0.6973 GB, free: 10.59 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2127 * Number of variables: 2127 Notification: Performance of Generate backend data structure: time 0.01501/0.8544, allocations: 6.245 MB / 0.7034 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.8545, allocations: 12.03 kB / 0.7034 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01408/0.8686, allocations: 3.111 MB / 0.7065 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3226/1.191, allocations: 4.623 MB / 0.711 GB, free: 188.7 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003189/1.192, allocations: 367.4 kB / 0.7114 GB, free: 188.7 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001733/1.193, allocations: 491.7 kB / 0.7118 GB, free: 188.5 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03158/1.225, allocations: 14.25 MB / 0.7257 GB, free: 182 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003269/1.225, allocations: 72.94 kB / 0.7258 GB, free: 181.9 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008055/1.226, allocations: 229.1 kB / 0.726 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004195/1.23, allocations: 2.537 MB / 0.7285 GB, free: 181.4 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02245/1.253, allocations: 11.76 MB / 0.74 GB, free: 172.6 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05838/1.311, allocations: 55.91 MB / 0.7946 GB, free: 115.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01047/1.322, allocations: 4.702 MB / 0.7992 GB, free: 111 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003219/1.325, allocations: 2.935 MB / 0.802 GB, free: 108 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/1.325, allocations: 33.66 kB / 0.8021 GB, free: 108 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.745e-05/1.325, allocations: 55.56 kB / 0.8021 GB, free: 107.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=190): time 5.46e-06/1.325, allocations: 3.938 kB / 0.8021 GB, free: 107.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=208): time 0.05165/1.377, allocations: 23.17 MB / 0.8247 GB, free: 84.54 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.286e-05/1.377, allocations: 256.8 kB / 0.825 GB, free: 84.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008024/1.385, allocations: 6.66 MB / 0.8315 GB, free: 77.57 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005108/1.386, allocations: 61.7 kB / 0.8316 GB, free: 77.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002346/1.388, allocations: 4.465 MB / 0.8359 GB, free: 73.04 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001089/1.389, allocations: 0.8317 MB / 0.8367 GB, free: 72.22 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003632/1.389, allocations: 160 kB / 0.8369 GB, free: 72.06 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003406/1.39, allocations: 0.649 MB / 0.8375 GB, free: 71.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003746/1.394, allocations: 2.854 MB / 0.8403 GB, free: 68.54 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006292/1.4, allocations: 7.761 MB / 0.8479 GB, free: 58.34 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006177/1.406, allocations: 4.593 MB / 0.8524 GB, free: 53.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.461e-05/1.406, allocations: 48.19 kB / 0.8524 GB, free: 53.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1057) (initialization): time 0.02074/1.427, allocations: 11.83 MB / 0.864 GB, free: 41.85 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001635/1.427, allocations: 78.19 kB / 0.864 GB, free: 41.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003197/1.427, allocations: 175.9 kB / 0.8642 GB, free: 41.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003883/1.431, allocations: 1.774 MB / 0.8659 GB, free: 39.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005799/1.437, allocations: 1.922 MB / 0.8678 GB, free: 37.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/1.449, allocations: 11.52 MB / 0.8791 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006956/1.456, allocations: 455.2 kB / 0.8795 GB, free: 25.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001466/1.458, allocations: 499.6 kB / 0.88 GB, free: 25.09 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce1.arrow.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce.arrow.twoHeadedArrow,worldForce.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.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 (994): * Single equations (assignments): 988 * 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 {(2,100.0%) 12,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006453/1.464, allocations: 2.965 MB / 0.8829 GB, free: 22.11 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001493/1.466, allocations: 0.536 MB / 0.8834 GB, free: 21.56 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008818/1.474, allocations: 4.834 MB / 0.8881 GB, free: 16.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.033e-05/1.474, allocations: 28 kB / 0.8881 GB, free: 16.68 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.079e-05/1.475, allocations: 8 kB / 0.8881 GB, free: 16.67 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.562e-05/1.475, allocations: 11.91 kB / 0.8882 GB, free: 16.66 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02105/1.496, allocations: 11.07 MB / 0.899 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.881e-05/1.496, allocations: 4 kB / 0.899 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001901/1.498, allocations: 399.4 kB / 0.8993 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004178/1.502, allocations: 1.472 MB / 0.9008 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004937/1.502, allocations: 36 kB / 0.9008 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3119/1.814, allocations: 10.61 MB / 0.9112 GB, free: 161.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.814, allocations: 1.062 kB / 0.9112 GB, free: 161.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01572/1.83, allocations: 7.914 MB / 0.9189 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003009/1.833, allocations: 0.6227 MB / 0.9195 GB, free: 158.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001095/1.834, allocations: 34.81 kB / 0.9196 GB, free: 158.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00231/1.837, allocations: 146.5 kB / 0.9197 GB, free: 158.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005555/1.837, allocations: 117.2 kB / 0.9198 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002012/1.837, allocations: 56.41 kB / 0.9199 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.011/1.848, allocations: 4.237 MB / 0.924 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.02e-07/1.848, allocations: 0.9375 kB / 0.924 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01065/1.859, allocations: 1.455 MB / 0.9254 GB, free: 157.1 MB / 0.5294 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.0007985/1.86, allocations: 175.3 kB / 0.9256 GB, free: 157 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01183/1.872, allocations: 7.013 MB / 0.9324 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.964e-06/1.872, allocations: 2.297 kB / 0.9324 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002972/1.875, allocations: 2.255 MB / 0.9346 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005264/1.88, allocations: 0.7171 MB / 0.9353 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02569/1.906, allocations: 15.83 MB / 0.9508 GB, free: 144.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004929/1.911, allocations: 4.507 MB / 0.9552 GB, free: 141.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006127/1.917, allocations: 2.494 MB / 0.9576 GB, free: 139.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001155/1.918, allocations: 353.1 kB / 0.958 GB, free: 139.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.653e-06/1.918, allocations: 3.938 kB / 0.958 GB, free: 139.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.09713/2.015, allocations: 54.35 MB / 1.011 GB, free: 85.2 MB / 0.5294 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches