Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001186/0.001186, allocations: 103.3 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001137/0.001137, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2233/0.2233, allocations: 46.09 MB / 343.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002662/0.002662, allocations: 77.22 kB / 416.9 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1508, allocations: 62.46 MB / 479.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.2846/0.4354, allocations: 64.7 MB / 0.5313 GB, free: 7.328 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03258/0.468, allocations: 13 MB / 0.544 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01429/0.4824, allocations: 284.3 kB / 0.5443 GB, free: 15.35 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007188/0.4896, allocations: 3.715 MB / 0.5479 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00595/0.4956, allocations: 2.046 MB / 0.5499 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002734/0.4984, allocations: 0.9289 MB / 0.5508 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01076/0.5091, allocations: 8.664 MB / 0.5593 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006719/0.5159, allocations: 4.509 MB / 0.5637 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004829/0.5207, allocations: 1.728 MB / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005047/0.5258, allocations: 2.808 MB / 0.5681 GB, free: 12.47 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001192/0.527, allocations: 288 kB / 0.5684 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003207/0.5303, allocations: 1.416 MB / 0.5698 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003003/0.5333, allocations: 2.334 MB / 0.5721 GB, free: 8.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003498/0.5368, allocations: 2.652 MB / 0.5747 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00806/0.5449, allocations: 8.407 MB / 0.5829 GB, free: 13.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5449, allocations: 0 / 0.5829 GB, free: 13.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.5449, allocations: 0 / 0.5829 GB, free: 13.33 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001984/0.5451, allocations: 0 / 0.5829 GB, free: 13.33 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.01363/0.5588, allocations: 6.184 MB / 0.5889 GB, free: 7.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.5588, allocations: 12.88 kB / 0.5889 GB, free: 7.059 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001115/0.5599, allocations: 0.8149 MB / 0.5897 GB, free: 6.234 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03436/0.5943, allocations: 6.016 MB / 0.5956 GB, free: 208 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009985/0.6043, allocations: 4.067 MB / 0.5996 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002195/0.6046, allocations: 275.5 kB / 0.5998 GB, free: 11.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009041/0.6055, allocations: 383.6 kB / 0.6002 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02051/0.626, allocations: 11.46 MB / 0.6114 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001694/0.6262, allocations: 59.52 kB / 0.6114 GB, free: 15.06 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006035/0.6269, allocations: 183.8 kB / 0.6116 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003663/0.6305, allocations: 2.135 MB / 0.6137 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01898/0.6495, allocations: 9.367 MB / 0.6229 GB, free: 3.359 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05454/0.7041, allocations: 45.37 MB / 0.6672 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01017/0.7143, allocations: 3.8 MB / 0.6709 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002814/0.7172, allocations: 2.042 MB / 0.6729 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01019/0.7274, allocations: 6.23 MB / 0.6789 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.7275, allocations: 55.5 kB / 0.679 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=154): time 3.757e-06/0.7275, allocations: 0 / 0.679 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of matching and sorting (n=166): time 0.04038/0.7679, allocations: 14.71 MB / 0.6934 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.768, allocations: 204.9 kB / 0.6936 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008028/0.776, allocations: 5.615 MB / 0.699 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002899/0.7764, allocations: 49.7 kB / 0.6991 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00276/0.7791, allocations: 3.745 MB / 0.7028 GB, free: 15.79 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007975/0.7799, allocations: 0.6559 MB / 0.7034 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0017/0.7816, allocations: 1.34 MB / 0.7047 GB, free: 13.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.7818, allocations: 309.1 kB / 0.705 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002978/0.7848, allocations: 2.094 MB / 0.707 GB, free: 11.37 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005939/0.7907, allocations: 6.337 MB / 0.7132 GB, free: 2.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2366/1.027, allocations: 9.179 MB / 0.7222 GB, free: 185.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001484/1.028, allocations: 47.25 kB / 0.7222 GB, free: 185.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01789/1.045, allocations: 8.637 MB / 0.7307 GB, free: 182.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000144/1.046, allocations: 73.78 kB / 0.7307 GB, free: 182.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002922/1.046, allocations: 149.8 kB / 0.7309 GB, free: 182.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002077/1.048, allocations: 0.7016 MB / 0.7316 GB, free: 182.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005357/1.053, allocations: 1.521 MB / 0.7331 GB, free: 182.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007928/1.061, allocations: 6.321 MB / 0.7392 GB, free: 178.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006224/1.068, allocations: 342.3 kB / 0.7396 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001243/1.069, allocations: 422.1 kB / 0.74 GB, free: 178.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,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 (804): * Single equations (assignments): 797 * 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.003929/1.073, allocations: 2.46 MB / 0.7424 GB, free: 177.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008559/1.074, allocations: 464 kB / 0.7428 GB, free: 177.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004153/1.078, allocations: 2.69 MB / 0.7454 GB, free: 176.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.788e-05/1.078, allocations: 24.8 kB / 0.7455 GB, free: 176.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/1.078, allocations: 7.719 kB / 0.7455 GB, free: 176.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/1.078, allocations: 9.672 kB / 0.7455 GB, free: 176.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01166/1.09, allocations: 7.457 MB / 0.7528 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/1.09, allocations: 6.656 kB / 0.7528 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/1.091, allocations: 300.2 kB / 0.753 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001292/1.092, allocations: 499 kB / 0.7535 GB, free: 173.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/1.092, allocations: 27.62 kB / 0.7535 GB, free: 173.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005219/1.098, allocations: 5.682 MB / 0.7591 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.098, allocations: 3.938 kB / 0.7591 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00587/1.104, allocations: 4.967 MB / 0.7639 GB, free: 165.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/1.105, allocations: 0.5134 MB / 0.7645 GB, free: 164.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005273/1.105, allocations: 39.91 kB / 0.7645 GB, free: 164.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/1.107, allocations: 71.91 kB / 0.7646 GB, free: 164.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002436/1.107, allocations: 96.75 kB / 0.7646 GB, free: 164.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.877e-05/1.107, allocations: 47.98 kB / 0.7647 GB, free: 164.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004431/1.111, allocations: 3.605 MB / 0.7682 GB, free: 160.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/1.111, allocations: 4 kB / 0.7682 GB, free: 160.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007035/1.118, allocations: 1.085 MB / 0.7693 GB, free: 159.7 MB / 0.545 GB 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 (126): * Single equations (assignments): 121 * 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.006957/1.125, allocations: 5.602 MB / 0.7747 GB, free: 154.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007787/1.133, allocations: 5.159 MB / 0.7798 GB, free: 148.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/1.133, allocations: 2.844 kB / 0.7798 GB, free: 148.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001795/1.135, allocations: 1.503 MB / 0.7813 GB, free: 147.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003758/1.139, allocations: 0.5924 MB / 0.7818 GB, free: 146.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08281/1.222, allocations: 67.49 MB / 0.8477 GB, free: 69.95 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00333/1.225, allocations: 3.761 MB / 0.8514 GB, free: 66.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004709/1.23, allocations: 2.127 MB / 0.8535 GB, free: 64.03 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002429/1.232, allocations: 2.307 MB / 0.8558 GB, free: 61.72 MB / 0.545 GB Notification: Performance of SimCode: time 9.61e-07/1.232, allocations: 4 kB / 0.8558 GB, free: 61.71 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3797/1.612, allocations: 87.59 MB / 0.9413 GB, free: 181.2 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002058/1.612, allocations: 219.1 kB / 0.9415 GB, free: 180.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.464/6.077, allocations: 7.75 kB / 0.9415 GB, free: 180.9 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches