Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009688/0.0009692, allocations: 99.81 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001037/0.001038, allocations: 202 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2531/0.2531, allocations: 45.91 MB / 344 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002721/0.0002721, allocations: 8 kB / 417.9 MB, free: 20.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.143, allocations: 63.46 MB / 481.4 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.3595/0.5025, allocations: 62.64 MB / 0.5313 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04184/0.5444, allocations: 14.68 MB / 0.5456 GB, free: 212 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01918/0.5636, allocations: 323.7 kB / 0.5459 GB, free: 156 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01338/0.577, allocations: 3.082 MB / 0.5489 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03405/0.6111, allocations: 8.928 MB / 0.5576 GB, free: 7.992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006354/0.6175, allocations: 1.263 MB / 0.5589 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.07504/0.6926, allocations: 50.02 MB / 0.6077 GB, free: 6.098 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01177/0.7044, allocations: 6.331 MB / 0.6139 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004538/0.7089, allocations: 1.853 MB / 0.6157 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004685/0.7137, allocations: 2.652 MB / 0.6183 GB, free: 11.18 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002081/0.7158, allocations: 248 kB / 0.6186 GB, free: 10.94 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005436/0.7212, allocations: 1.159 MB / 0.6197 GB, free: 9.781 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004895/0.7262, allocations: 2.763 MB / 0.6224 GB, free: 7.012 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003008/0.7292, allocations: 1.31 MB / 0.6237 GB, free: 5.691 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01211/0.7414, allocations: 8.845 MB / 0.6323 GB, free: 12.82 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.7414, allocations: 0 / 0.6323 GB, free: 12.82 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.7414, allocations: 0 / 0.6323 GB, free: 12.82 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004016/0.7418, allocations: 0 / 0.6323 GB, free: 12.82 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.02123/0.7631, allocations: 7.361 MB / 0.6395 GB, free: 5.379 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.7631, allocations: 12.02 kB / 0.6395 GB, free: 5.367 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1662/0.9294, allocations: 15.1 MB / 0.6542 GB, free: 6.242 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0164/0.9458, allocations: 5.569 MB / 0.6597 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005943/0.9465, allocations: 369.5 kB / 0.66 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002931/0.9494, allocations: 0.5073 MB / 0.6605 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03952/0.989, allocations: 16.36 MB / 0.6765 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003887/0.9894, allocations: 79.27 kB / 0.6766 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001776/0.9912, allocations: 243.7 kB / 0.6768 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005074/0.9963, allocations: 2.923 MB / 0.6797 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03031/1.027, allocations: 13.72 MB / 0.6931 GB, free: 13.3 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3564/1.383, allocations: 64.44 MB / 0.756 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02132/1.404, allocations: 7.881 MB / 0.7637 GB, free: 134.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02961/1.434, allocations: 18.98 MB / 0.7822 GB, free: 121 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/1.434, allocations: 74 kB / 0.7823 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=287): time 4.578e-06/1.434, allocations: 0 / 0.7823 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=370): time 0.1617/1.596, allocations: 51.65 MB / 0.8327 GB, free: 69.21 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.332e-05/1.596, allocations: 265.8 kB / 0.833 GB, free: 68.89 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008518/1.605, allocations: 6.513 MB / 0.8394 GB, free: 62.38 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00102/1.606, allocations: 84.2 kB / 0.8394 GB, free: 62.29 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00275/1.608, allocations: 4.74 MB / 0.8441 GB, free: 57.55 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001719/1.61, allocations: 1.362 MB / 0.8454 GB, free: 56.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004394/1.611, allocations: 187.9 kB / 0.8456 GB, free: 56.01 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003504/1.611, allocations: 0.6985 MB / 0.8463 GB, free: 55.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005451/1.616, allocations: 3.903 MB / 0.8501 GB, free: 51.39 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00861/1.625, allocations: 9.099 MB / 0.859 GB, free: 39.72 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008996/1.634, allocations: 5.767 MB / 0.8646 GB, free: 33.94 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001346/1.634, allocations: 52 kB / 0.8646 GB, free: 33.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.03097/1.665, allocations: 16.35 MB / 0.8806 GB, free: 17.49 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.845e-05/1.665, allocations: 84.84 kB / 0.8807 GB, free: 17.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001587/1.666, allocations: 180 kB / 0.8809 GB, free: 17.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01207/1.678, allocations: 4.102 MB / 0.8849 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006809/1.684, allocations: 2.07 MB / 0.8869 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03298/1.717, allocations: 22.74 MB / 0.9091 GB, free: 4.039 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009218/1.727, allocations: 0.515 MB / 0.9096 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002013/1.729, allocations: 0.5366 MB / 0.9101 GB, free: 2.988 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.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 (1088): * Single equations (assignments): 1083 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 44,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2531/1.982, allocations: 3.11 MB / 0.9132 GB, free: 179.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001368/1.983, allocations: 0.5706 MB / 0.9137 GB, free: 179.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02332/2.007, allocations: 9.858 MB / 0.9233 GB, free: 179 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001071/2.007, allocations: 39.17 kB / 0.9234 GB, free: 179 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.38e-05/2.007, allocations: 16.75 kB / 0.9234 GB, free: 179 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.446e-05/2.007, allocations: 21.66 kB / 0.9234 GB, free: 179 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04138/2.048, allocations: 19.63 MB / 0.9426 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.821e-05/2.048, allocations: 3.75 kB / 0.9426 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002888/2.051, allocations: 0.5408 MB / 0.9431 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01185/2.063, allocations: 3.655 MB / 0.9467 GB, free: 171.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007711/2.064, allocations: 62.27 kB / 0.9467 GB, free: 171.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0249/2.089, allocations: 20.65 MB / 0.9669 GB, free: 154.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/2.089, allocations: 2.25 kB / 0.9669 GB, free: 154.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02284/2.112, allocations: 14.62 MB / 0.9812 GB, free: 139.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001745/2.114, allocations: 0.6136 MB / 0.9818 GB, free: 139.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001054/2.115, allocations: 63.66 kB / 0.9818 GB, free: 139.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002688/2.117, allocations: 211.6 kB / 0.982 GB, free: 139 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006654/2.118, allocations: 230 kB / 0.9823 GB, free: 138.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002459/2.118, allocations: 95.98 kB / 0.9824 GB, free: 138.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004997/2.123, allocations: 4.139 MB / 0.9864 GB, free: 134.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.41e-07/2.123, allocations: 0 / 0.9864 GB, free: 134.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007213/2.131, allocations: 1.861 MB / 0.9882 GB, free: 132.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (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 (270): * Single equations (assignments): 265 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006625/2.131, allocations: 214.8 kB / 0.9884 GB, free: 132.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01301/2.144, allocations: 9.965 MB / 0.9982 GB, free: 122.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/2.144, allocations: 2 kB / 0.9982 GB, free: 122.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005152/2.149, allocations: 3.959 MB / 1.002 GB, free: 118.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003868/2.153, allocations: 0.7257 MB / 1.003 GB, free: 117.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02746/2.181, allocations: 18.58 MB / 1.021 GB, free: 99.49 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006543/2.187, allocations: 4.999 MB / 1.026 GB, free: 94.46 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006962/2.194, allocations: 2.809 MB / 1.029 GB, free: 91.64 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001432/2.196, allocations: 391.4 kB / 1.029 GB, free: 91.26 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/2.196, allocations: 0 / 1.029 GB, free: 91.26 MB / 0.545 GB Notification: Performance of Templates: time 0.1133/2.309, allocations: 76.71 MB / 1.104 GB, free: 14.87 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches