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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001976/0.001976, allocations: 132.4 kB / 17.79 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002371/0.002371, allocations: 210.5 kB / 20.75 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 230.4 MB / 254 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2536/0.2536, allocations: 46.93 MB / 357 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002591/0.002591, allocations: 79.88 kB / 0.491 GB, free: 7.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1411, allocations: 66.05 MB / 0.5555 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01678/0.1579, allocations: 12.69 MB / 0.5679 GB, free: 8.809 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01136/0.1692, allocations: 4.52 MB / 0.5723 GB, free: 4.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002391/0.1716, allocations: 103.4 kB / 0.5724 GB, free: 4.168 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008641/0.1803, allocations: 3.754 MB / 0.5761 GB, free: 412 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007358/0.1876, allocations: 2.237 MB / 0.5782 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003156/0.1908, allocations: 0.9904 MB / 0.5792 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01069/0.2015, allocations: 6.042 MB / 0.5851 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00691/0.2084, allocations: 3.812 MB / 0.5888 GB, free: 3.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004734/0.2131, allocations: 1.978 MB / 0.5908 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2727/0.4858, allocations: 2.818 MB / 0.5935 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001923/0.4877, allocations: 412.6 kB / 0.5939 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004528/0.4923, allocations: 1.474 MB / 0.5953 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004563/0.4968, allocations: 2.502 MB / 0.5978 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007786/0.5046, allocations: 2.764 MB / 0.6005 GB, free: 9.551 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01658/0.5212, allocations: 8.781 MB / 0.6091 GB, free: 8.223 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.5212, allocations: 3.219 kB / 0.6091 GB, free: 8.223 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5212, allocations: 0 / 0.6091 GB, free: 8.223 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004057/0.5216, allocations: 0 / 0.6091 GB, free: 8.223 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.0236/0.5452, allocations: 6.333 MB / 0.6153 GB, free: 5.059 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.038e-05/0.5453, allocations: 13.38 kB / 0.6153 GB, free: 5.055 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003894/0.5492, allocations: 0.8251 MB / 0.6161 GB, free: 4.684 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04103/0.5902, allocations: 6.051 MB / 0.622 GB, free: 2.582 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01155/0.6017, allocations: 4.154 MB / 0.626 GB, free: 256 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002853/0.602, allocations: 277.6 kB / 0.6263 GB, free: 164 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002127/0.6042, allocations: 380.3 kB / 0.6267 GB, free: 64 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02959/0.6337, allocations: 11.46 MB / 0.6379 GB, free: 9.082 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002829/0.634, allocations: 62.39 kB / 0.6379 GB, free: 9.066 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001465/0.6355, allocations: 178.4 kB / 0.6381 GB, free: 8.984 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004349/0.6398, allocations: 2.147 MB / 0.6402 GB, free: 7.098 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02344/0.6633, allocations: 9.355 MB / 0.6493 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07045/0.7337, allocations: 45.28 MB / 0.6935 GB, free: 68 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01144/0.7452, allocations: 3.666 MB / 0.6971 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003161/0.7483, allocations: 1.878 MB / 0.699 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01294/0.7613, allocations: 6.254 MB / 0.7051 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.982e-05/0.7613, allocations: 47.56 kB / 0.7051 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=154): time 4.639e-06/0.7613, allocations: 0 / 0.7051 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of matching and sorting (n=166): time 0.05088/0.8122, allocations: 14.99 MB / 0.7197 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/0.8124, allocations: 196.9 kB / 0.7199 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01243/0.8248, allocations: 5.629 MB / 0.7254 GB, free: 15.13 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005045/0.8253, allocations: 56.91 kB / 0.7255 GB, free: 15.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004889/0.8302, allocations: 3.876 MB / 0.7293 GB, free: 11.22 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001455/0.8316, allocations: 0.692 MB / 0.7299 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003593/0.8352, allocations: 1.352 MB / 0.7313 GB, free: 9.176 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.8354, allocations: 301.1 kB / 0.7315 GB, free: 8.879 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004145/0.8396, allocations: 2.098 MB / 0.7336 GB, free: 6.777 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008537/0.8481, allocations: 6.347 MB / 0.7398 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01256/0.8606, allocations: 9.181 MB / 0.7488 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000133/0.8608, allocations: 46.91 kB / 0.7488 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01828/0.8791, allocations: 8.65 MB / 0.7573 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.8792, allocations: 73 kB / 0.7573 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001966/0.8794, allocations: 151.9 kB / 0.7575 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001963/0.8813, allocations: 0.7112 MB / 0.7582 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005392/0.8867, allocations: 1.509 MB / 0.7596 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009297/0.896, allocations: 6.826 MB / 0.7663 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005694/0.9017, allocations: 351.5 kB / 0.7666 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001337/0.903, allocations: 416 kB / 0.767 GB, free: 0.7695 MB / 0.5762 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.005691/0.9087, allocations: 2.449 MB / 0.7694 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/0.9098, allocations: 484.7 kB / 0.7699 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006011/0.9159, allocations: 2.69 MB / 0.7725 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-05/0.9159, allocations: 23.98 kB / 0.7725 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/0.9159, allocations: 4 kB / 0.7725 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.316e-05/0.9159, allocations: 7.969 kB / 0.7725 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01876/0.9347, allocations: 7.429 MB / 0.7798 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.051e-05/0.9347, allocations: 4.281 kB / 0.7798 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001695/0.9364, allocations: 299.5 kB / 0.7801 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001644/0.9381, allocations: 498.3 kB / 0.7806 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002414/0.9383, allocations: 32 kB / 0.7806 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008373/0.9467, allocations: 6.2 MB / 0.7867 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/0.9467, allocations: 4 kB / 0.7867 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009282/0.956, allocations: 4.986 MB / 0.7915 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001923/0.9579, allocations: 0.5329 MB / 0.792 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001462/0.9593, allocations: 28 kB / 0.7921 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002399/0.9617, allocations: 79.91 kB / 0.7921 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005208/0.9623, allocations: 100.7 kB / 0.7922 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/0.9624, allocations: 52.77 kB / 0.7923 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.008398/0.9708, allocations: 3.597 MB / 0.7958 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.1e-07/0.9708, allocations: 4 kB / 0.7958 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.007189/0.978, allocations: 1.09 MB / 0.7969 GB, free: 1.789 MB / 0.6075 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.008864/0.9869, allocations: 5.622 MB / 0.8024 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.009219/0.9961, allocations: 5.003 MB / 0.8073 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/0.9961, allocations: 0 / 0.8073 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002333/0.9984, allocations: 1.409 MB / 0.8086 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004873/1.003, allocations: 0.6301 MB / 0.8092 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3555/1.359, allocations: 54.02 MB / 0.862 GB, free: 223.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006516/1.365, allocations: 3.756 MB / 0.8657 GB, free: 222.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005238/1.371, allocations: 2.13 MB / 0.8677 GB, free: 222.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003659/1.374, allocations: 2.31 MB / 0.87 GB, free: 220.4 MB / 0.6544 GB Notification: Performance of SimCode: time 1.193e-06/1.374, allocations: 0 / 0.87 GB, free: 220.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1368/1.511, allocations: 85.48 MB / 0.9535 GB, free: 145.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.39/31.9, allocations: 3.281 kB / 0.9535 GB, free: 145.4 MB / 0.6544 GB " [Timeout remaining time 628] (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.000219912 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 35.25541387393605]