Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques",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.001229/0.001229, allocations: 110.9 kB / 17.33 MB, free: 6.012 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.001545/0.001545, allocations: 193.3 kB / 18.25 MB, free: 5.102 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.383/1.383, allocations: 222.9 MB / 241.9 MB, free: 13.73 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.3317/0.3317, allocations: 44.18 MB / 336.2 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 61.47 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1309, allocations: 60.83 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.3282/0.4591, allocations: 72.34 MB / 0.5285 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03763/0.4968, allocations: 14.32 MB / 0.5425 GB, free: 3.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01987/0.5167, allocations: 312.8 kB / 0.5428 GB, free: 3.406 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007834/0.5246, allocations: 3.599 MB / 0.5463 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006685/0.5314, allocations: 2.111 MB / 0.5483 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002649/0.534, allocations: 0.9512 MB / 0.5493 GB, free: 15.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009004/0.543, allocations: 6.436 MB / 0.5556 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006507/0.5496, allocations: 4.849 MB / 0.5603 GB, free: 6.906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004024/0.5536, allocations: 2.04 MB / 0.5623 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004418/0.5581, allocations: 2.972 MB / 0.5652 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00105/0.5591, allocations: 416 kB / 0.5656 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003323/0.5625, allocations: 1.482 MB / 0.567 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00267/0.5652, allocations: 2.536 MB / 0.5695 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003114/0.5683, allocations: 2.874 MB / 0.5723 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01058/0.5789, allocations: 8.82 MB / 0.5809 GB, free: 1.707 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.5789, allocations: 0 / 0.5809 GB, free: 1.707 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5789, allocations: 4 kB / 0.5809 GB, free: 1.703 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002855/0.5792, allocations: 4 kB / 0.5809 GB, free: 1.699 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01419/0.5934, allocations: 6.309 MB / 0.5871 GB, free: 11.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.5935, allocations: 8.031 kB / 0.5871 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00196/0.5955, allocations: 0.8515 MB / 0.5879 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03746/0.6329, allocations: 6.082 MB / 0.5939 GB, free: 4.352 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00973/0.6427, allocations: 4.324 MB / 0.5981 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002647/0.643, allocations: 287.7 kB / 0.5984 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001294/0.6443, allocations: 387.6 kB / 0.5987 GB, free: 15.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01966/0.664, allocations: 11.86 MB / 0.6103 GB, free: 2.605 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002182/0.6642, allocations: 59.47 kB / 0.6104 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009738/0.6652, allocations: 175.8 kB / 0.6105 GB, free: 2.375 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003932/0.6691, allocations: 2.276 MB / 0.6128 GB, free: 100 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01979/0.6889, allocations: 9.681 MB / 0.6222 GB, free: 6.391 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06181/0.7508, allocations: 46.29 MB / 0.6674 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01011/0.7609, allocations: 3.816 MB / 0.6712 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002634/0.7636, allocations: 2.011 MB / 0.6731 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00984/0.7735, allocations: 5.663 MB / 0.6787 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.964e-05/0.7735, allocations: 59.06 kB / 0.6787 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 4.077e-06/0.7736, allocations: 0 / 0.6787 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=162): time 0.04201/0.8156, allocations: 15.72 MB / 0.6941 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.8157, allocations: 226.1 kB / 0.6943 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009382/0.8251, allocations: 5.692 MB / 0.6998 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002578/0.8254, allocations: 45.7 kB / 0.6999 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002867/0.8283, allocations: 3.854 MB / 0.7036 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008412/0.8291, allocations: 0.6483 MB / 0.7043 GB, free: 496 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2682/1.097, allocations: 1.343 MB / 0.7056 GB, free: 190.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.609e-05/1.097, allocations: 307.8 kB / 0.7059 GB, free: 190.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003605/1.101, allocations: 2.083 MB / 0.7079 GB, free: 190.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006469/1.107, allocations: 6.365 MB / 0.7141 GB, free: 184 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0111/1.119, allocations: 9.196 MB / 0.7231 GB, free: 176 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002088/1.119, allocations: 43.5 kB / 0.7231 GB, free: 176 MB / 0.5294 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.0151/1.134, allocations: 8.648 MB / 0.7316 GB, free: 172.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.134e-05/1.134, allocations: 72.73 kB / 0.7317 GB, free: 172.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001115/1.134, allocations: 149.7 kB / 0.7318 GB, free: 172.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001513/1.136, allocations: 0.7276 MB / 0.7325 GB, free: 172.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003894/1.14, allocations: 1.521 MB / 0.734 GB, free: 172.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006332/1.146, allocations: 6.977 MB / 0.7408 GB, free: 168.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005437/1.151, allocations: 340.9 kB / 0.7411 GB, free: 168 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009898/1.152, allocations: 420.1 kB / 0.7415 GB, free: 167.9 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 (frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004008/1.156, allocations: 2.511 MB / 0.744 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000804/1.157, allocations: 466.6 kB / 0.7444 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003883/1.161, allocations: 2.655 MB / 0.747 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.253e-05/1.161, allocations: 20 kB / 0.7471 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/1.161, allocations: 8.594 kB / 0.7471 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/1.161, allocations: 7.844 kB / 0.7471 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/1.172, allocations: 7.583 MB / 0.7545 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/1.172, allocations: 8.281 kB / 0.7545 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/1.173, allocations: 252 kB / 0.7547 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001184/1.174, allocations: 0.4971 MB / 0.7552 GB, free: 157.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/1.174, allocations: 35.98 kB / 0.7552 GB, free: 157.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004966/1.179, allocations: 6.291 MB / 0.7614 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.179, allocations: 0 / 0.7614 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005347/1.185, allocations: 4.956 MB / 0.7662 GB, free: 146.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/1.186, allocations: 0.5185 MB / 0.7667 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004799/1.186, allocations: 30.83 kB / 0.7668 GB, free: 145.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/1.188, allocations: 72.53 kB / 0.7668 GB, free: 145.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/1.188, allocations: 96.81 kB / 0.7669 GB, free: 145.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/1.188, allocations: 44 kB / 0.767 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004154/1.192, allocations: 3.65 MB / 0.7705 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/1.192, allocations: 0 / 0.7705 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004682/1.197, allocations: 1.128 MB / 0.7716 GB, free: 140.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (120): * Single equations (assignments): 115 * 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,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005093/1.202, allocations: 5.592 MB / 0.7771 GB, free: 135.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006934/1.209, allocations: 5.552 MB / 0.7825 GB, free: 129.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.209, allocations: 0.75 kB / 0.7825 GB, free: 129.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001479/1.211, allocations: 1.483 MB / 0.784 GB, free: 128.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003335/1.214, allocations: 0.6451 MB / 0.7846 GB, free: 127.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08743/1.301, allocations: 68.36 MB / 0.8514 GB, free: 49.67 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003403/1.305, allocations: 3.861 MB / 0.8551 GB, free: 45.78 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004427/1.309, allocations: 2.129 MB / 0.8572 GB, free: 43.64 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002606/1.312, allocations: 2.378 MB / 0.8595 GB, free: 41.26 MB / 0.5294 GB Notification: Performance of SimCode: time 8.42e-07/1.312, allocations: 4 kB / 0.8595 GB, free: 41.26 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3694/1.681, allocations: 89.61 MB / 0.947 GB, free: 154.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000143/1.681, allocations: 222.2 kB / 0.9472 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.602/6.283, allocations: 0 / 0.9472 GB, free: 154.5 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches