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.001421/0.001421, allocations: 122.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001778/0.001778, allocations: 202 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2406/0.2406, allocations: 46.12 MB / 344.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 75.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3311, allocations: 62.44 MB / 0.5306 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.0156/0.3467, allocations: 12.65 MB / 0.543 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.3568, allocations: 4.495 MB / 0.5473 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002285/0.3592, allocations: 84.38 kB / 0.5474 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007598/0.3668, allocations: 3.708 MB / 0.551 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0062/0.373, allocations: 2.175 MB / 0.5532 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002619/0.3757, allocations: 0.9982 MB / 0.5541 GB, free: 9.508 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009724/0.3854, allocations: 6.036 MB / 0.56 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00699/0.3925, allocations: 4.558 MB / 0.5645 GB, free: 14.83 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00398/0.3965, allocations: 1.943 MB / 0.5664 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004479/0.401, allocations: 2.613 MB / 0.5689 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001437/0.4024, allocations: 404 kB / 0.5693 GB, free: 9.867 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003497/0.406, allocations: 1.439 MB / 0.5707 GB, free: 8.426 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003282/0.4093, allocations: 2.416 MB / 0.5731 GB, free: 6.004 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00462/0.4139, allocations: 2.765 MB / 0.5758 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01243/0.4264, allocations: 8.778 MB / 0.5844 GB, free: 10.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.4264, allocations: 0 / 0.5844 GB, free: 10.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.4264, allocations: 0 / 0.5844 GB, free: 10.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002833/0.4267, allocations: 0 / 0.5844 GB, free: 10.41 MB / 446.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.01679/0.4435, allocations: 6.339 MB / 0.5906 GB, free: 3.988 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.4436, allocations: 8.031 kB / 0.5906 GB, free: 3.98 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002203/0.4458, allocations: 0.8304 MB / 0.5914 GB, free: 3.141 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0538/0.4996, allocations: 6.051 MB / 0.5973 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01406/0.5137, allocations: 4.15 MB / 0.6013 GB, free: 8.871 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004097/0.5142, allocations: 283.3 kB / 0.6016 GB, free: 8.594 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001789/0.516, allocations: 371.8 kB / 0.602 GB, free: 8.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02734/0.5433, allocations: 11.47 MB / 0.6132 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001718/0.5435, allocations: 63.52 kB / 0.6132 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005514/0.5441, allocations: 175.8 kB / 0.6134 GB, free: 11.67 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003795/0.5479, allocations: 2.143 MB / 0.6155 GB, free: 9.527 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02018/0.5681, allocations: 9.367 MB / 0.6246 GB, free: 148 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06082/0.629, allocations: 45.26 MB / 0.6688 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01075/0.6398, allocations: 3.808 MB / 0.6725 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003082/0.6429, allocations: 2.044 MB / 0.6745 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01246/0.6554, allocations: 6.244 MB / 0.6806 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.035e-05/0.6555, allocations: 51.5 kB / 0.6807 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 5.42e-06/0.6555, allocations: 4 kB / 0.6807 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.04803/0.7035, allocations: 15 MB / 0.6953 GB, free: 6.105 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/0.7037, allocations: 192.9 kB / 0.6955 GB, free: 5.875 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0104/0.7141, allocations: 5.628 MB / 0.701 GB, free: 276 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003462/0.7145, allocations: 49.7 kB / 0.7011 GB, free: 220 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004019/0.7185, allocations: 3.877 MB / 0.7049 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001099/0.7197, allocations: 0.6901 MB / 0.7055 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002789/0.7225, allocations: 1.365 MB / 0.7069 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.7226, allocations: 301.1 kB / 0.7071 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003701/0.7263, allocations: 2.09 MB / 0.7092 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3021/1.028, allocations: 6.34 MB / 0.7154 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/1.039, allocations: 9.197 MB / 0.7244 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001832/1.039, allocations: 43.09 kB / 0.7244 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01663/1.056, allocations: 8.65 MB / 0.7329 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.415e-05/1.056, allocations: 73.09 kB / 0.7329 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001498/1.056, allocations: 149 kB / 0.7331 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001504/1.057, allocations: 0.706 MB / 0.7338 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004107/1.062, allocations: 1.509 MB / 0.7352 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005937/1.068, allocations: 6.832 MB / 0.7419 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004601/1.072, allocations: 346.4 kB / 0.7422 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007522/1.073, allocations: 417.9 kB / 0.7426 GB, free: 142.5 MB / 0.5606 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.00347/1.076, allocations: 2.454 MB / 0.745 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008395/1.077, allocations: 481.1 kB / 0.7455 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003901/1.081, allocations: 2.698 MB / 0.7481 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/1.081, allocations: 16 kB / 0.7481 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/1.081, allocations: 4 kB / 0.7481 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/1.081, allocations: 10.7 kB / 0.7481 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/1.091, allocations: 7.439 MB / 0.7554 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/1.091, allocations: 0 / 0.7554 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/1.093, allocations: 307.8 kB / 0.7557 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001233/1.094, allocations: 488.1 kB / 0.7562 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001262/1.094, allocations: 32 kB / 0.7562 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005005/1.099, allocations: 6.198 MB / 0.7623 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/1.099, allocations: 4 kB / 0.7623 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005409/1.105, allocations: 4.988 MB / 0.7671 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/1.106, allocations: 0.5498 MB / 0.7677 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006247/1.106, allocations: 24 kB / 0.7677 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/1.108, allocations: 79.58 kB / 0.7678 GB, free: 119 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002543/1.108, allocations: 100.8 kB / 0.7679 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.99e-05/1.108, allocations: 47.98 kB / 0.7679 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004436/1.113, allocations: 3.601 MB / 0.7714 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.12e-07/1.113, allocations: 0 / 0.7714 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005064/1.118, allocations: 1.094 MB / 0.7725 GB, free: 114.2 MB / 0.5606 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.006072/1.124, allocations: 5.626 MB / 0.778 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006931/1.131, allocations: 5.175 MB / 0.783 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.131, allocations: 4 kB / 0.783 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001723/1.133, allocations: 1.491 MB / 0.7845 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004461/1.137, allocations: 0.6521 MB / 0.7851 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07538/1.213, allocations: 54.03 MB / 0.8379 GB, free: 40.49 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005796/1.218, allocations: 3.765 MB / 0.8416 GB, free: 36.69 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004609/1.223, allocations: 2.121 MB / 0.8436 GB, free: 34.56 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003248/1.226, allocations: 2.315 MB / 0.8459 GB, free: 32.25 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/1.226, allocations: 3.938 kB / 0.8459 GB, free: 32.24 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.152/1.378, allocations: 84.86 MB / 0.9288 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.54/30.92, allocations: 14.55 kB / 0.9288 GB, free: 11.8 MB / 0.6231 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.csv","/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