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.001108/0.001108, allocations: 118.8 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001036/0.001036, allocations: 202 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.89 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.248, allocations: 50.55 MB / 408.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.01635/0.2644, allocations: 17.23 MB / 426 MB, free: 224 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.2745, allocations: 5.492 MB / 431.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002372/0.277, allocations: 115.6 kB / 431.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007064/0.2841, allocations: 4.361 MB / 436 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00609/0.2902, allocations: 2.699 MB / 438.7 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002723/0.2929, allocations: 1.462 MB / 440.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01003/0.303, allocations: 8.648 MB / 448.8 MB, free: 9.383 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005497/0.3085, allocations: 5.371 MB / 454.1 MB, free: 3.934 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003564/0.3121, allocations: 2.652 MB / 456.8 MB, free: 1.273 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004731/0.3168, allocations: 3.84 MB / 460.6 MB, free: 13.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001241/0.3181, allocations: 0.5352 MB / 461.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002667/0.3208, allocations: 1.611 MB / 462.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002805/0.3236, allocations: 3.347 MB / 466.1 MB, free: 7.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003932/0.3275, allocations: 3.775 MB / 469.9 MB, free: 4.121 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01041/0.338, allocations: 11.5 MB / 481.4 MB, free: 8.578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.338, allocations: 4 kB / 481.4 MB, free: 8.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.338, allocations: 0 / 481.4 MB, free: 8.574 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003248/0.3384, allocations: 0 / 481.4 MB, free: 8.574 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.01896/0.3573, allocations: 8.471 MB / 489.9 MB, free: 20 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3574, allocations: 16.03 kB / 489.9 MB, free: 4 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001566/0.3589, allocations: 1.079 MB / 491 MB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1733/0.5322, allocations: 12.89 MB / 0.4921 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01487/0.5471, allocations: 6.172 MB / 0.4981 GB, free: 11.74 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003173/0.5475, allocations: 369.5 kB / 0.4984 GB, free: 11.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002114/0.5496, allocations: 0.5112 MB / 0.4989 GB, free: 10.87 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02944/0.5791, allocations: 16.12 MB / 0.5147 GB, free: 9.684 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002512/0.5793, allocations: 79.3 kB / 0.5147 GB, free: 9.605 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0012/0.5806, allocations: 247.7 kB / 0.515 GB, free: 9.363 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004606/0.5852, allocations: 2.919 MB / 0.5178 GB, free: 6.441 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0279/0.6131, allocations: 13.45 MB / 0.531 GB, free: 8.965 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.268/0.8811, allocations: 63.89 MB / 0.5934 GB, free: 72.27 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01945/0.9006, allocations: 7.763 MB / 0.6009 GB, free: 65.36 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004566/0.9052, allocations: 4.136 MB / 0.605 GB, free: 61.2 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02274/0.928, allocations: 18.81 MB / 0.6233 GB, free: 41.96 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.928, allocations: 64.56 kB / 0.6234 GB, free: 41.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=287): time 5.27e-06/0.9281, allocations: 0 / 0.6234 GB, free: 41.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=370): time 0.1587/1.087, allocations: 50.69 MB / 0.6729 GB, free: 7.055 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/1.087, allocations: 277.8 kB / 0.6732 GB, free: 6.727 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008532/1.095, allocations: 6.072 MB / 0.6791 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001067/1.097, allocations: 77.7 kB / 0.6792 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003217/1.1, allocations: 4.76 MB / 0.6838 GB, free: 11.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00146/1.101, allocations: 1.364 MB / 0.6852 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002362/1.104, allocations: 1.818 MB / 0.6869 GB, free: 8.645 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.463e-05/1.104, allocations: 301.1 kB / 0.6872 GB, free: 8.348 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005696/1.109, allocations: 3.934 MB / 0.6911 GB, free: 4.406 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008713/1.118, allocations: 9.165 MB / 0.7 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01647/1.135, allocations: 14.16 MB / 0.7138 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.114e-05/1.135, allocations: 52 kB / 0.7139 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.03163/1.166, allocations: 16.38 MB / 0.7299 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/1.167, allocations: 87.94 kB / 0.73 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001771/1.167, allocations: 184.9 kB / 0.7302 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01233/1.179, allocations: 4.028 MB / 0.7341 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006446/1.186, allocations: 2.066 MB / 0.7361 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.229/1.415, allocations: 23.5 MB / 0.7591 GB, free: 169.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.012/1.427, allocations: 0.4991 MB / 0.7595 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001784/1.428, allocations: 0.5317 MB / 0.7601 GB, free: 169.1 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.006894/1.435, allocations: 3.129 MB / 0.7631 GB, free: 168 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001456/1.437, allocations: 0.574 MB / 0.7637 GB, free: 168 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01768/1.455, allocations: 9.833 MB / 0.7733 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.896e-05/1.455, allocations: 40 kB / 0.7733 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.658e-05/1.455, allocations: 18.56 kB / 0.7733 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.59e-05/1.455, allocations: 19.31 kB / 0.7734 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03099/1.486, allocations: 19.41 MB / 0.7923 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/1.486, allocations: 4 kB / 0.7923 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002432/1.488, allocations: 0.542 MB / 0.7928 GB, free: 144.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01066/1.499, allocations: 3.623 MB / 0.7964 GB, free: 141.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000636/1.5, allocations: 67.42 kB / 0.7964 GB, free: 141.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02285/1.522, allocations: 21.35 MB / 0.8173 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.522, allocations: 0 / 0.8173 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02105/1.543, allocations: 14.5 MB / 0.8314 GB, free: 105.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001772/1.545, allocations: 0.5817 MB / 0.832 GB, free: 104.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007388/1.546, allocations: 59.98 kB / 0.8321 GB, free: 104.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002532/1.549, allocations: 206.3 kB / 0.8323 GB, free: 104.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006702/1.549, allocations: 218.2 kB / 0.8325 GB, free: 104.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002367/1.549, allocations: 102.7 kB / 0.8326 GB, free: 104.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004362/1.554, allocations: 3.803 MB / 0.8363 GB, free: 100.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/1.554, allocations: 1.406 kB / 0.8363 GB, free: 100.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006538/1.56, allocations: 1.819 MB / 0.8381 GB, free: 98.67 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.02089/1.581, allocations: 15.26 MB / 0.853 GB, free: 83.36 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0128/1.594, allocations: 10 MB / 0.8627 GB, free: 73.38 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/1.594, allocations: 4.375 kB / 0.8627 GB, free: 73.38 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004626/1.599, allocations: 3.946 MB / 0.8666 GB, free: 69.41 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003779/1.603, allocations: 0.8186 MB / 0.8674 GB, free: 68.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2965/1.899, allocations: 83.22 MB / 0.9487 GB, free: 187.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003857/1.903, allocations: 4.859 MB / 0.9534 GB, free: 186.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005049/1.908, allocations: 2.794 MB / 0.9561 GB, free: 186.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002961/1.911, allocations: 3.244 MB / 0.9593 GB, free: 184.6 MB / 0.545 GB Notification: Performance of SimCode: time 6.82e-07/1.911, allocations: 0 / 0.9593 GB, free: 184.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6868/2.598, allocations: 135.7 MB / 1.092 GB, free: 54.17 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 48.02/50.62, allocations: 9.062 kB / 1.092 GB, free: 54.16 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.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