Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_4_0_0_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.001193/0.001193, allocations: 108.9 kB / 17.33 MB, free: 5.996 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.001038/0.001038, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 241.9 MB, free: 15.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2172/0.2172, allocations: 44.17 MB / 336.2 MB, free: 2.926 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 63.39 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1037, allocations: 60.82 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3371/0.4408, allocations: 72.33 MB / 0.5285 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03837/0.4792, allocations: 14.31 MB / 0.5424 GB, free: 3.492 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01637/0.4957, allocations: 312.7 kB / 0.5427 GB, free: 3.445 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00583/0.5015, allocations: 3.599 MB / 0.5463 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005369/0.507, allocations: 2.108 MB / 0.5483 GB, free: 36 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002212/0.5092, allocations: 0.9519 MB / 0.5492 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008897/0.5181, allocations: 6.423 MB / 0.5555 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005685/0.5238, allocations: 4.852 MB / 0.5602 GB, free: 6.953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003473/0.5273, allocations: 2.032 MB / 0.5622 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003974/0.5313, allocations: 2.968 MB / 0.5651 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001163/0.5325, allocations: 416 kB / 0.5655 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003236/0.5357, allocations: 1.478 MB / 0.567 GB, free: 52 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002767/0.5385, allocations: 2.533 MB / 0.5694 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003503/0.542, allocations: 2.87 MB / 0.5722 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00931/0.5514, allocations: 8.801 MB / 0.5808 GB, free: 1.797 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.5514, allocations: 4 kB / 0.5808 GB, free: 1.793 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5514, allocations: 0 / 0.5808 GB, free: 1.793 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001899/0.5516, allocations: 4 kB / 0.5809 GB, free: 1.789 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01744/0.5691, allocations: 6.305 MB / 0.587 GB, free: 11.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.87e-05/0.5691, allocations: 8.031 kB / 0.587 GB, free: 11.4 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001816/0.571, allocations: 0.8437 MB / 0.5878 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03827/0.6093, allocations: 6.074 MB / 0.5938 GB, free: 4.461 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009801/0.6191, allocations: 4.324 MB / 0.598 GB, free: 84 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003697/0.6195, allocations: 279.7 kB / 0.5983 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001926/0.6214, allocations: 391.5 kB / 0.5986 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02153/0.643, allocations: 11.84 MB / 0.6102 GB, free: 2.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001586/0.6432, allocations: 51.53 kB / 0.6102 GB, free: 2.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007258/0.6439, allocations: 191.8 kB / 0.6104 GB, free: 2.492 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003692/0.6476, allocations: 2.26 MB / 0.6126 GB, free: 236 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01944/0.6671, allocations: 9.693 MB / 0.6221 GB, free: 6.52 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06106/0.7282, allocations: 46.2 MB / 0.6672 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01029/0.7385, allocations: 3.807 MB / 0.6709 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002857/0.7414, allocations: 2.05 MB / 0.6729 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01078/0.7522, allocations: 6.246 MB / 0.679 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.7523, allocations: 47.56 kB / 0.6791 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=154): time 3.887e-06/0.7523, allocations: 3.938 kB / 0.6791 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=166): time 0.03938/0.7917, allocations: 14.84 MB / 0.6936 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.7918, allocations: 200.9 kB / 0.6938 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0081/0.7999, allocations: 5.676 MB / 0.6993 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001972/0.8001, allocations: 53.7 kB / 0.6994 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002678/0.8028, allocations: 3.823 MB / 0.7031 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007307/0.8035, allocations: 0.6636 MB / 0.7038 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2092/1.013, allocations: 1.354 MB / 0.7051 GB, free: 190.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.809e-05/1.013, allocations: 302.4 kB / 0.7054 GB, free: 190.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004478/1.017, allocations: 2.105 MB / 0.7074 GB, free: 190.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005849/1.023, allocations: 6.386 MB / 0.7137 GB, free: 184.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01002/1.033, allocations: 9.246 MB / 0.7227 GB, free: 176.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001973/1.034, allocations: 44 kB / 0.7227 GB, free: 176.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=870) (initialization): time 0.01764/1.051, allocations: 8.683 MB / 0.7312 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/1.051, allocations: 75.25 kB / 0.7313 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001699/1.051, allocations: 152.9 kB / 0.7314 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/1.053, allocations: 0.7142 MB / 0.7321 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004671/1.058, allocations: 1.519 MB / 0.7336 GB, free: 173 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005908/1.064, allocations: 6.827 MB / 0.7403 GB, free: 168.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005195/1.069, allocations: 356.4 kB / 0.7406 GB, free: 168.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001233/1.07, allocations: 415.8 kB / 0.741 GB, free: 168.4 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.arrowLine.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 (810): * Single equations (assignments): 803 * 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.00433/1.074, allocations: 2.513 MB / 0.7435 GB, free: 167.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009237/1.075, allocations: 459.8 kB / 0.7439 GB, free: 167.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004224/1.08, allocations: 2.699 MB / 0.7465 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.709e-05/1.08, allocations: 16 kB / 0.7466 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/1.08, allocations: 4 kB / 0.7466 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/1.08, allocations: 15.48 kB / 0.7466 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/1.09, allocations: 7.575 MB / 0.754 GB, free: 159.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/1.09, allocations: 4 kB / 0.754 GB, free: 159.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/1.092, allocations: 295.5 kB / 0.7543 GB, free: 159 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001142/1.093, allocations: 494.2 kB / 0.7547 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.747e-05/1.093, allocations: 32 kB / 0.7548 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004844/1.098, allocations: 6.199 MB / 0.7608 GB, free: 152.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.098, allocations: 4 kB / 0.7608 GB, free: 152.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005158/1.103, allocations: 4.974 MB / 0.7657 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009429/1.104, allocations: 0.5184 MB / 0.7662 GB, free: 146.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004397/1.104, allocations: 28 kB / 0.7662 GB, free: 146.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/1.106, allocations: 83.84 kB / 0.7663 GB, free: 146.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/1.106, allocations: 92.81 kB / 0.7664 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.506e-05/1.106, allocations: 49.52 kB / 0.7664 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004357/1.11, allocations: 3.634 MB / 0.77 GB, free: 142.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/1.11, allocations: 0 / 0.77 GB, free: 142.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005217/1.115, allocations: 1.131 MB / 0.7711 GB, free: 141.7 MB / 0.5294 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.005451/1.121, allocations: 5.605 MB / 0.7765 GB, free: 136.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008145/1.129, allocations: 5.921 MB / 0.7823 GB, free: 130.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.129, allocations: 0 / 0.7823 GB, free: 130.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001529/1.131, allocations: 1.492 MB / 0.7838 GB, free: 128.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003432/1.134, allocations: 0.6578 MB / 0.7844 GB, free: 128 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08668/1.221, allocations: 68.36 MB / 0.8512 GB, free: 50.16 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003607/1.224, allocations: 3.856 MB / 0.855 GB, free: 46.28 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004756/1.229, allocations: 2.156 MB / 0.8571 GB, free: 44.11 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002976/1.232, allocations: 2.374 MB / 0.8594 GB, free: 41.74 MB / 0.5294 GB Notification: Performance of SimCode: time 1.693e-06/1.232, allocations: 0 / 0.8594 GB, free: 41.74 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3417/1.574, allocations: 90.32 MB / 0.9476 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/1.574, allocations: 214.4 kB / 0.9478 GB, free: 154.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.909/6.483, allocations: 0 / 0.9478 GB, free: 154.2 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches