Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.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) 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_LineForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_LineForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001879/0.001879, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00231/0.00231, allocations: 203.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 55.91 kB / 358.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2513, allocations: 50.55 MB / 408.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.01858/0.2699, allocations: 17.24 MB / 426.1 MB, free: 152 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0116/0.2815, allocations: 5.482 MB / 431.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002506/0.2841, allocations: 119.6 kB / 431.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008225/0.2924, allocations: 4.345 MB / 436 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007185/0.2996, allocations: 2.715 MB / 438.7 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003403/0.303, allocations: 1.455 MB / 440.2 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01223/0.3153, allocations: 8.656 MB / 448.8 MB, free: 9.316 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006958/0.3223, allocations: 5.37 MB / 454.2 MB, free: 3.871 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004702/0.327, allocations: 2.667 MB / 456.9 MB, free: 1.195 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006111/0.3332, allocations: 3.821 MB / 460.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001805/0.335, allocations: 0.5391 MB / 461.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003368/0.3384, allocations: 1.619 MB / 462.9 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003691/0.3421, allocations: 3.277 MB / 466.1 MB, free: 7.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004915/0.347, allocations: 3.776 MB / 469.9 MB, free: 4.121 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01414/0.3612, allocations: 11.55 MB / 481.5 MB, free: 8.523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3612, allocations: 0 / 481.5 MB, free: 8.523 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3612, allocations: 0 / 481.5 MB, free: 8.523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003135/0.3616, allocations: 4 kB / 481.5 MB, free: 8.52 MB / 398.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.02342/0.385, allocations: 8.683 MB / 490.2 MB, free: 15.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.3851, allocations: 8.031 kB / 490.2 MB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002417/0.3875, allocations: 1.079 MB / 491.2 MB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1828/0.5703, allocations: 12.95 MB / 0.4924 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01461/0.585, allocations: 6.201 MB / 0.4984 GB, free: 11.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003601/0.5854, allocations: 365.5 kB / 0.4988 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0021/0.5875, allocations: 0.5152 MB / 0.4993 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0338/0.6213, allocations: 16.12 MB / 0.515 GB, free: 9.332 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003347/0.6217, allocations: 75.45 kB / 0.5151 GB, free: 9.258 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001269/0.623, allocations: 235.8 kB / 0.5153 GB, free: 9.027 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004946/0.628, allocations: 2.927 MB / 0.5182 GB, free: 6.098 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02936/0.6573, allocations: 13.45 MB / 0.5313 GB, free: 8.617 MB / 462.1 MB 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.2773/0.9347, allocations: 64.01 MB / 0.5938 GB, free: 71.86 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01974/0.9544, allocations: 7.752 MB / 0.6014 GB, free: 64.63 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004147/0.9586, allocations: 4.131 MB / 0.6054 GB, free: 60.48 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02372/0.9824, allocations: 18.83 MB / 0.6238 GB, free: 41.28 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.264e-05/0.9825, allocations: 68.5 kB / 0.6239 GB, free: 41.2 MB / 462.1 MB Notification: Performance of pre-optimization done (n=287): time 6.583e-06/0.9825, allocations: 0 / 0.6239 GB, free: 41.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=370): time 0.164/1.147, allocations: 51.05 MB / 0.6737 GB, free: 6.398 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001738/1.147, allocations: 273.8 kB / 0.674 GB, free: 6.074 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009889/1.157, allocations: 6.094 MB / 0.6799 GB, free: 84 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009471/1.158, allocations: 77.7 kB / 0.68 GB, free: 0 / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003936/1.162, allocations: 4.928 MB / 0.6848 GB, free: 11.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002002/1.164, allocations: 1.417 MB / 0.6862 GB, free: 9.988 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003181/1.167, allocations: 1.838 MB / 0.688 GB, free: 8.137 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/1.167, allocations: 301.1 kB / 0.6883 GB, free: 7.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006415/1.173, allocations: 3.93 MB / 0.6921 GB, free: 3.902 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01159/1.185, allocations: 9.169 MB / 0.7011 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01895/1.204, allocations: 14.16 MB / 0.7149 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001436/1.204, allocations: 59.94 kB / 0.715 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.03664/1.241, allocations: 16.41 MB / 0.731 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001249/1.241, allocations: 84 kB / 0.7311 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002166/1.241, allocations: 184 kB / 0.7313 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01331/1.254, allocations: 4.033 MB / 0.7352 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00725/1.262, allocations: 2.066 MB / 0.7372 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2273/1.489, allocations: 23.51 MB / 0.7602 GB, free: 169.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007043/1.496, allocations: 0.5071 MB / 0.7607 GB, free: 168.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001599/1.498, allocations: 0.5355 MB / 0.7612 GB, free: 168.8 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,44,100.0%), (4,48,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005204/1.503, allocations: 3.115 MB / 0.7642 GB, free: 167.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001237/1.504, allocations: 0.6022 MB / 0.7648 GB, free: 167.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01836/1.523, allocations: 9.834 MB / 0.7744 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.424e-05/1.523, allocations: 39.78 kB / 0.7745 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.77e-05/1.523, allocations: 16 kB / 0.7745 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.892e-05/1.523, allocations: 23.27 kB / 0.7745 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03257/1.555, allocations: 19.43 MB / 0.7935 GB, free: 145.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-05/1.556, allocations: 0 / 0.7935 GB, free: 145.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002778/1.558, allocations: 0.5344 MB / 0.794 GB, free: 144.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01113/1.569, allocations: 3.626 MB / 0.7975 GB, free: 141 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008133/1.57, allocations: 61.95 kB / 0.7976 GB, free: 140.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02443/1.595, allocations: 21.36 MB / 0.8185 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.595, allocations: 0.875 kB / 0.8185 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02324/1.618, allocations: 14.54 MB / 0.8327 GB, free: 105.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00167/1.62, allocations: 0.6051 MB / 0.8332 GB, free: 104.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001467/1.621, allocations: 63.98 kB / 0.8333 GB, free: 104.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003163/1.624, allocations: 203.7 kB / 0.8335 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009337/1.625, allocations: 233 kB / 0.8337 GB, free: 103.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000338/1.626, allocations: 95.61 kB / 0.8338 GB, free: 103.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00543/1.631, allocations: 3.795 MB / 0.8375 GB, free: 100.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.124e-06/1.631, allocations: 0 / 0.8375 GB, free: 100.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007423/1.639, allocations: 1.824 MB / 0.8393 GB, free: 98.25 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,43,100.0%), (1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02343/1.662, allocations: 15.29 MB / 0.8542 GB, free: 82.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01315/1.675, allocations: 10.02 MB / 0.864 GB, free: 72.93 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/1.675, allocations: 6.984 kB / 0.864 GB, free: 72.93 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0057/1.681, allocations: 3.961 MB / 0.8679 GB, free: 68.94 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00528/1.686, allocations: 0.817 MB / 0.8687 GB, free: 68.13 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3427/2.029, allocations: 83.5 MB / 0.9502 GB, free: 188 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004425/2.034, allocations: 4.862 MB / 0.955 GB, free: 187.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005141/2.039, allocations: 2.797 MB / 0.9577 GB, free: 187 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003231/2.042, allocations: 3.243 MB / 0.9609 GB, free: 184.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.914e-06/2.042, allocations: 3.688 kB / 0.9609 GB, free: 184.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1746/2.217, allocations: 133.4 MB / 1.091 GB, free: 55.36 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 44.77/46.99, allocations: 12 kB / 1.091 GB, free: 55.34 MB / 0.545 GB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_LineForceWithTwoMasses_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_LineForceWithTwoMasses.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches