Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001096/0.001096, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001199/0.001199, allocations: 208.6 kB / 18.58 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2034/0.2034, allocations: 46.1 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 77.97 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1133, allocations: 62.44 MB / 480.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01464/0.1279, allocations: 14.96 MB / 495.1 MB, free: 6.195 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01085/0.1388, allocations: 5.011 MB / 0.4884 GB, free: 1.168 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002884/0.1418, allocations: 99.69 kB / 0.4885 GB, free: 1.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007634/0.1495, allocations: 4.01 MB / 0.4924 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006673/0.1562, allocations: 2.311 MB / 0.4946 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002495/0.1587, allocations: 1.174 MB / 0.4958 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008398/0.1671, allocations: 6.57 MB / 0.5022 GB, free: 2.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1999/0.3671, allocations: 4.686 MB / 0.5068 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004075/0.3712, allocations: 2.212 MB / 0.5089 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004917/0.3762, allocations: 3.013 MB / 0.5119 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002204/0.3784, allocations: 457.2 kB / 0.5123 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004687/0.3831, allocations: 1.53 MB / 0.5138 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006214/0.3893, allocations: 2.662 MB / 0.5164 GB, free: 13.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00819/0.3976, allocations: 3.13 MB / 0.5195 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01226/0.4098, allocations: 9.451 MB / 0.5287 GB, free: 9.469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4099, allocations: 0 / 0.5287 GB, free: 9.469 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4099, allocations: 0 / 0.5287 GB, free: 9.469 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003141/0.4102, allocations: 0 / 0.5287 GB, free: 9.469 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.01914/0.4294, allocations: 7.008 MB / 0.5355 GB, free: 4.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.4294, allocations: 7.625 kB / 0.5356 GB, free: 4.863 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00214/0.4316, allocations: 0.9135 MB / 0.5364 GB, free: 4.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1688/0.6004, allocations: 12.51 MB / 0.5487 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01051/0.6109, allocations: 4.466 MB / 0.553 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002639/0.6112, allocations: 313.9 kB / 0.5533 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001643/0.6129, allocations: 432.9 kB / 0.5537 GB, free: 7.559 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02722/0.6401, allocations: 13.69 MB / 0.5671 GB, free: 9.238 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000272/0.6404, allocations: 59.44 kB / 0.5672 GB, free: 9.203 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00137/0.6418, allocations: 203.5 kB / 0.5674 GB, free: 9.047 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004137/0.646, allocations: 2.519 MB / 0.5698 GB, free: 6.566 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02355/0.6695, allocations: 11.55 MB / 0.5811 GB, free: 11.24 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06781/0.7374, allocations: 53.08 MB / 0.6329 GB, free: 5.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01658/0.754, allocations: 5.811 MB / 0.6386 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004311/0.7584, allocations: 3.385 MB / 0.6419 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02101/0.7794, allocations: 14.87 MB / 0.6564 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.148e-05/0.7795, allocations: 63.17 kB / 0.6565 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=227): time 5e-06/0.7795, allocations: 0 / 0.6565 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=264): time 0.08455/0.8641, allocations: 26.2 MB / 0.6821 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.8642, allocations: 265.3 kB / 0.6823 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00863/0.8729, allocations: 5.065 MB / 0.6873 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004867/0.8734, allocations: 65.7 kB / 0.6873 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002739/0.8761, allocations: 3.951 MB / 0.6912 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001195/0.8773, allocations: 0.985 MB / 0.6922 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002668/0.88, allocations: 1.468 MB / 0.6936 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.015e-05/0.8801, allocations: 305.1 kB / 0.6939 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003965/0.8841, allocations: 2.732 MB / 0.6966 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00705/0.8911, allocations: 7.08 MB / 0.7035 GB, free: 10.33 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2077/1.099, allocations: 10.65 MB / 0.7139 GB, free: 187 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001259/1.099, allocations: 47.5 kB / 0.7139 GB, free: 187 MB / 0.545 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01825/1.117, allocations: 10.11 MB / 0.7238 GB, free: 184.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/1.117, allocations: 69.12 kB / 0.7239 GB, free: 184.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002522/1.118, allocations: 152.6 kB / 0.724 GB, free: 184.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001747/1.119, allocations: 0.713 MB / 0.7247 GB, free: 184.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006748/1.126, allocations: 1.771 MB / 0.7264 GB, free: 184.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006535/1.133, allocations: 6.847 MB / 0.7331 GB, free: 179.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005419/1.138, allocations: 411.1 kB / 0.7335 GB, free: 179.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007409/1.139, allocations: 445.1 kB / 0.7339 GB, free: 179.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[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],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 (913): * Single equations (assignments): 908 * 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 {(1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004104/1.143, allocations: 2.639 MB / 0.7365 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000669/1.144, allocations: 469.5 kB / 0.737 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006112/1.15, allocations: 4.386 MB / 0.7412 GB, free: 176.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.772e-05/1.15, allocations: 28.25 kB / 0.7413 GB, free: 176.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/1.15, allocations: 3.688 kB / 0.7413 GB, free: 176.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.53e-05/1.15, allocations: 17.44 kB / 0.7413 GB, free: 176.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01728/1.167, allocations: 10.83 MB / 0.7519 GB, free: 172.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/1.167, allocations: 0 / 0.7519 GB, free: 172.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002378/1.17, allocations: 0.4977 MB / 0.7524 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001228/1.171, allocations: 494.8 kB / 0.7528 GB, free: 172.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002251/1.171, allocations: 46.61 kB / 0.7529 GB, free: 172.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005263/1.176, allocations: 6.218 MB / 0.7589 GB, free: 166.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.177, allocations: 0 / 0.7589 GB, free: 166.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008874/1.185, allocations: 7.629 MB / 0.7664 GB, free: 159.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/1.187, allocations: 497.5 kB / 0.7669 GB, free: 159.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005297/1.187, allocations: 37.41 kB / 0.7669 GB, free: 159.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001851/1.189, allocations: 158 kB / 0.7671 GB, free: 159.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003318/1.189, allocations: 157.6 kB / 0.7672 GB, free: 159.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001602/1.19, allocations: 69.3 kB / 0.7673 GB, free: 159 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003567/1.193, allocations: 3.178 MB / 0.7704 GB, free: 156.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.01e-07/1.193, allocations: 0 / 0.7704 GB, free: 156.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004864/1.198, allocations: 1.276 MB / 0.7716 GB, free: 155.1 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 (224): * Single equations (assignments): 219 * 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 {(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.008047/1.206, allocations: 8.334 MB / 0.7798 GB, free: 146.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01254/1.219, allocations: 9.485 MB / 0.789 GB, free: 137.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.219, allocations: 0 / 0.789 GB, free: 137.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002429/1.221, allocations: 2.367 MB / 0.7913 GB, free: 134.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003328/1.224, allocations: 0.6299 MB / 0.792 GB, free: 134.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07118/1.296, allocations: 69.5 MB / 0.8598 GB, free: 55.19 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004057/1.3, allocations: 4.101 MB / 0.8638 GB, free: 51.06 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005415/1.305, allocations: 2.369 MB / 0.8661 GB, free: 48.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00338/1.309, allocations: 2.628 MB / 0.8687 GB, free: 46.05 MB / 0.545 GB Notification: Performance of SimCode: time 1.463e-06/1.309, allocations: 0 / 0.8687 GB, free: 46.05 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3139/1.622, allocations: 96.3 MB / 0.9628 GB, free: 162.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/13.22, allocations: 13.61 kB / 0.9628 GB, free: 162.5 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_LineForceWithMass_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_LineForceWithMass.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches