Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 106.5 kB / 15.98 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009572/0.0009574, allocations: 194.4 kB / 16.91 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3295/0.3295, allocations: 43.49 MB / 313.6 MB, free: 8.309 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.91 kB / 382.3 MB, free: 8.297 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1256, allocations: 57.78 MB / 440.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.2798/0.4054, allocations: 73.18 MB / 0.5013 GB, free: 3.047 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03778/0.4432, allocations: 14.39 MB / 0.5153 GB, free: 9.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02069/0.464, allocations: 322.4 kB / 0.5156 GB, free: 9.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008359/0.4723, allocations: 3.618 MB / 0.5191 GB, free: 7.738 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008412/0.4809, allocations: 2.21 MB / 0.5213 GB, free: 6.738 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002905/0.4838, allocations: 0.9435 MB / 0.5222 GB, free: 6.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01169/0.4955, allocations: 6.16 MB / 0.5282 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008572/0.5041, allocations: 4.944 MB / 0.5331 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004972/0.5091, allocations: 2.122 MB / 0.5351 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004891/0.514, allocations: 3.151 MB / 0.5382 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00159/0.5157, allocations: 444 kB / 0.5386 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003839/0.5195, allocations: 1.479 MB / 0.5401 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004158/0.5237, allocations: 2.677 MB / 0.5427 GB, free: 7.953 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005541/0.5293, allocations: 3.033 MB / 0.5457 GB, free: 4.902 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0125/0.5418, allocations: 9.288 MB / 0.5547 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.5419, allocations: 0 / 0.5547 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5419, allocations: 3.938 kB / 0.5547 GB, free: 11.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003755/0.5423, allocations: 0 / 0.5547 GB, free: 11.58 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01835/0.5606, allocations: 6.589 MB / 0.5612 GB, free: 4.918 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.5607, allocations: 15.89 kB / 0.5612 GB, free: 4.902 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002486/0.5632, allocations: 0.8854 MB / 0.5621 GB, free: 4.004 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03768/0.6009, allocations: 6.117 MB / 0.568 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01085/0.6118, allocations: 4.727 MB / 0.5726 GB, free: 9.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003748/0.6122, allocations: 304 kB / 0.5729 GB, free: 8.793 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001733/0.6139, allocations: 407.6 kB / 0.5733 GB, free: 8.395 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02601/0.64, allocations: 12.48 MB / 0.5855 GB, free: 11.06 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002715/0.6403, allocations: 63.45 kB / 0.5856 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001603/0.6419, allocations: 199.8 kB / 0.5858 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004587/0.6465, allocations: 2.405 MB / 0.5881 GB, free: 8.395 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02468/0.6712, allocations: 10.28 MB / 0.5981 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.294/0.9653, allocations: 48.38 MB / 0.6454 GB, free: 110.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01045/0.9758, allocations: 4.66 MB / 0.6499 GB, free: 109.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003092/0.979, allocations: 2.313 MB / 0.6522 GB, free: 109.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01168/0.9907, allocations: 6.912 MB / 0.659 GB, free: 106.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.9907, allocations: 51.53 kB / 0.659 GB, free: 106.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 5.641e-06/0.9908, allocations: 0 / 0.659 GB, free: 106.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.04521/1.036, allocations: 16.18 MB / 0.6748 GB, free: 99.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.942e-05/1.036, allocations: 202 kB / 0.675 GB, free: 99.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01149/1.048, allocations: 5.85 MB / 0.6807 GB, free: 97.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006679/1.048, allocations: 56.75 kB / 0.6808 GB, free: 97.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0037/1.052, allocations: 4.004 MB / 0.6847 GB, free: 94.56 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001243/1.053, allocations: 0.7619 MB / 0.6854 GB, free: 94.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002215/1.056, allocations: 1.435 MB / 0.6868 GB, free: 93.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.106e-05/1.056, allocations: 302.8 kB / 0.6871 GB, free: 93.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003936/1.06, allocations: 2.386 MB / 0.6894 GB, free: 92.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007398/1.067, allocations: 6.807 MB / 0.6961 GB, free: 85.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01022/1.077, allocations: 9.957 MB / 0.7058 GB, free: 77.35 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001342/1.077, allocations: 44.28 kB / 0.7059 GB, free: 77.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=926) (initialization): time 0.01818/1.096, allocations: 9.413 MB / 0.715 GB, free: 73.74 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.559e-05/1.096, allocations: 75.53 kB / 0.7151 GB, free: 73.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000161/1.096, allocations: 155.7 kB / 0.7153 GB, free: 73.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001554/1.097, allocations: 0.7152 MB / 0.716 GB, free: 73.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004878/1.102, allocations: 1.647 MB / 0.7176 GB, free: 71.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006265/1.109, allocations: 6.841 MB / 0.7243 GB, free: 65.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00722/1.116, allocations: 391.3 kB / 0.7246 GB, free: 65.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00137/1.117, allocations: 436 kB / 0.725 GB, free: 64.68 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (866): * Single equations (assignments): 859 * Array equations: 5 * 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.004402/1.122, allocations: 2.615 MB / 0.7276 GB, free: 62.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001179/1.123, allocations: 489.6 kB / 0.7281 GB, free: 61.56 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004714/1.128, allocations: 3.241 MB / 0.7312 GB, free: 58.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.741e-05/1.128, allocations: 23.98 kB / 0.7312 GB, free: 58.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/1.128, allocations: 4 kB / 0.7313 GB, free: 58.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/1.128, allocations: 13.05 kB / 0.7313 GB, free: 58.26 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01422/1.142, allocations: 8.576 MB / 0.7396 GB, free: 49.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/1.142, allocations: 4 kB / 0.7396 GB, free: 49.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/1.144, allocations: 359.7 kB / 0.74 GB, free: 49.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001203/1.145, allocations: 495.2 kB / 0.7405 GB, free: 48.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001315/1.145, allocations: 39.98 kB / 0.7405 GB, free: 48.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005026/1.15, allocations: 6.202 MB / 0.7466 GB, free: 42.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.15, allocations: 8 kB / 0.7466 GB, free: 42.28 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00712/1.157, allocations: 5.834 MB / 0.7523 GB, free: 36.39 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002282/1.159, allocations: 0.7993 MB / 0.753 GB, free: 35.56 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007151/1.16, allocations: 31.36 kB / 0.7531 GB, free: 35.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001566/1.162, allocations: 95.88 kB / 0.7532 GB, free: 35.44 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002756/1.162, allocations: 125 kB / 0.7533 GB, free: 35.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/1.162, allocations: 52 kB / 0.7533 GB, free: 35.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005763/1.168, allocations: 3.755 MB / 0.757 GB, free: 31.54 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.31e-07/1.168, allocations: 0 / 0.757 GB, free: 31.54 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007512/1.175, allocations: 1.206 MB / 0.7582 GB, free: 30.34 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (154): * Single equations (assignments): 149 * 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.007725/1.183, allocations: 6.496 MB / 0.7645 GB, free: 23.78 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0102/1.193, allocations: 6.911 MB / 0.7713 GB, free: 16.89 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/1.194, allocations: 0 / 0.7713 GB, free: 16.89 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002033/1.196, allocations: 1.76 MB / 0.773 GB, free: 15.11 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004225/1.2, allocations: 0.6485 MB / 0.7736 GB, free: 14.49 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4109/1.611, allocations: 73.4 MB / 0.8453 GB, free: 159.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004843/1.616, allocations: 4.017 MB / 0.8492 GB, free: 158.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006006/1.622, allocations: 2.289 MB / 0.8515 GB, free: 158.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003195/1.625, allocations: 2.513 MB / 0.8539 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of SimCode: time 1.042e-06/1.625, allocations: 0 / 0.8539 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1513/1.776, allocations: 94.82 MB / 0.9465 GB, free: 88.21 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001411/1.776, allocations: 226.3 kB / 0.9467 GB, free: 87.95 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.784/6.56, allocations: 4 kB / 0.9467 GB, free: 87.94 MB / 0.5294 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches