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.001232/0.001232, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001256/0.001256, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.273/1.273, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 68.02 kB / 307.1 MB, free: 0.5117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08668/0.08777, allocations: 50.53 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.1749/0.2627, allocations: 17.24 MB / 374.8 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.2731, allocations: 5.485 MB / 380.3 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002714/0.2758, allocations: 117.8 kB / 380.4 MB, free: 8.324 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007151/0.283, allocations: 4.355 MB / 384.8 MB, free: 6.977 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007286/0.2904, allocations: 2.705 MB / 387.5 MB, free: 5.988 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003349/0.2937, allocations: 1.461 MB / 388.9 MB, free: 5.449 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009735/0.3035, allocations: 8.659 MB / 397.6 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01003/0.3135, allocations: 5.375 MB / 403 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005866/0.3195, allocations: 2.656 MB / 405.6 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006602/0.3261, allocations: 3.828 MB / 409.5 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002164/0.3283, allocations: 0.5352 MB / 410 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005045/0.3333, allocations: 1.607 MB / 411.6 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004976/0.3383, allocations: 3.292 MB / 414.9 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008715/0.3471, allocations: 3.776 MB / 418.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01482/0.3619, allocations: 11.15 MB / 429.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.362, allocations: 0 / 429.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.362, allocations: 4 kB / 429.8 MB, free: 2.988 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002245/0.3622, allocations: 0 / 429.8 MB, free: 2.988 MB / 334.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.01606/0.3783, allocations: 8.488 MB / 438.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3783, allocations: 8.031 kB / 438.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001094/0.3794, allocations: 1.083 MB / 439.4 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1588/0.5382, allocations: 12.9 MB / 452.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01161/0.5499, allocations: 6.059 MB / 458.4 MB, free: 6.246 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002744/0.5502, allocations: 373.4 kB / 458.7 MB, free: 5.879 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001422/0.5516, allocations: 0.5112 MB / 459.2 MB, free: 5.367 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02692/0.5786, allocations: 16.12 MB / 475.4 MB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001575/0.5787, allocations: 79.3 kB / 475.4 MB, free: 4.102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005394/0.5793, allocations: 235.8 kB / 475.7 MB, free: 3.871 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004067/0.5834, allocations: 2.927 MB / 478.6 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02453/0.6079, allocations: 13.45 MB / 492 MB, free: 3.465 MB / 398.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.2571/0.8651, allocations: 64.17 MB / 0.5432 GB, free: 100.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02268/0.8878, allocations: 7.759 MB / 0.5508 GB, free: 99.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004935/0.8928, allocations: 4.141 MB / 0.5548 GB, free: 98.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02294/0.9157, allocations: 18.8 MB / 0.5732 GB, free: 88.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.475e-05/0.9158, allocations: 62.64 kB / 0.5732 GB, free: 88.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=287): time 7.664e-06/0.9159, allocations: 3.688 kB / 0.5732 GB, free: 88.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=370): time 0.1567/1.073, allocations: 50.69 MB / 0.6227 GB, free: 45.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.106e-05/1.073, allocations: 265.8 kB / 0.623 GB, free: 44.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007112/1.08, allocations: 6.076 MB / 0.6289 GB, free: 38.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005914/1.08, allocations: 81.7 kB / 0.629 GB, free: 38.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001938/1.082, allocations: 4.744 MB / 0.6336 GB, free: 33.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009992/1.083, allocations: 1.353 MB / 0.6349 GB, free: 32.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001992/1.085, allocations: 1.825 MB / 0.6367 GB, free: 30.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.587e-05/1.085, allocations: 301.1 kB / 0.637 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004325/1.09, allocations: 3.926 MB / 0.6408 GB, free: 26.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006489/1.096, allocations: 9.173 MB / 0.6498 GB, free: 14.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01171/1.108, allocations: 14.16 MB / 0.6636 GB, free: 14.29 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.546e-05/1.108, allocations: 58.31 kB / 0.6637 GB, free: 14.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.02887/1.137, allocations: 16.38 MB / 0.6797 GB, free: 13.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/1.137, allocations: 84 kB / 0.6798 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002261/1.137, allocations: 180 kB / 0.6799 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01203/1.149, allocations: 4.049 MB / 0.6839 GB, free: 9.488 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005903/1.155, allocations: 2.066 MB / 0.6859 GB, free: 7.418 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1991/1.354, allocations: 23.51 MB / 0.7089 GB, free: 164.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006889/1.361, allocations: 0.5009 MB / 0.7094 GB, free: 164.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001179/1.363, allocations: 0.5342 MB / 0.7099 GB, free: 164.4 MB / 494.1 MB 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.00543/1.368, allocations: 3.126 MB / 0.7129 GB, free: 164.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/1.369, allocations: 0.5712 MB / 0.7135 GB, free: 164.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02049/1.389, allocations: 9.837 MB / 0.7231 GB, free: 162.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.987e-05/1.39, allocations: 38.28 kB / 0.7231 GB, free: 162.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.692e-05/1.39, allocations: 20.34 kB / 0.7232 GB, free: 162.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.416e-05/1.39, allocations: 17.14 kB / 0.7232 GB, free: 162.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03478/1.425, allocations: 19.56 MB / 0.7423 GB, free: 155.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.827e-05/1.425, allocations: 0 / 0.7423 GB, free: 155.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00265/1.427, allocations: 0.5382 MB / 0.7428 GB, free: 155.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01058/1.438, allocations: 3.635 MB / 0.7463 GB, free: 154.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004729/1.438, allocations: 63.36 kB / 0.7464 GB, free: 154.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02425/1.463, allocations: 21.38 MB / 0.7673 GB, free: 139.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.463, allocations: 0 / 0.7673 GB, free: 139.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02115/1.484, allocations: 14.5 MB / 0.7814 GB, free: 125.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/1.485, allocations: 0.5786 MB / 0.782 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007334/1.486, allocations: 60 kB / 0.7821 GB, free: 124.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002494/1.488, allocations: 203.7 kB / 0.7823 GB, free: 124.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006915/1.489, allocations: 229.9 kB / 0.7825 GB, free: 124.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002302/1.489, allocations: 99.92 kB / 0.7826 GB, free: 124.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004065/1.493, allocations: 3.795 MB / 0.7863 GB, free: 120.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/1.493, allocations: 1.875 kB / 0.7863 GB, free: 120.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00561/1.499, allocations: 1.818 MB / 0.7881 GB, free: 118.6 MB / 494.1 MB 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.02013/1.519, allocations: 15.26 MB / 0.803 GB, free: 103.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01963/1.539, allocations: 14.8 MB / 0.8174 GB, free: 88.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/1.539, allocations: 2 kB / 0.8174 GB, free: 88.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004529/1.543, allocations: 3.951 MB / 0.8213 GB, free: 84.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003927/1.547, allocations: 0.8144 MB / 0.8221 GB, free: 83.83 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2915/1.839, allocations: 99.79 MB / 0.9195 GB, free: 139.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003792/1.843, allocations: 4.863 MB / 0.9243 GB, free: 137.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00563/1.848, allocations: 2.79 MB / 0.927 GB, free: 137.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002902/1.851, allocations: 3.246 MB / 0.9302 GB, free: 134.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.293e-06/1.851, allocations: 0 / 0.9302 GB, free: 134.9 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.296/6.147, allocations: 138.7 MB / 1.066 GB, free: 147.4 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.79/22.94, allocations: 9.594 kB / 1.066 GB, free: 147.4 MB / 494.1 MB (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.0.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