Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002332/0.002332, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2418/0.2418, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 59.91 kB / 0.4909 GB, free: 7.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.134, allocations: 66 MB / 0.5554 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01639/0.1504, allocations: 12.72 MB / 0.5678 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01117/0.1615, allocations: 4.528 MB / 0.5722 GB, free: 4.508 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002795/0.1643, allocations: 99.5 kB / 0.5723 GB, free: 4.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007922/0.1722, allocations: 3.754 MB / 0.576 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006854/0.1791, allocations: 2.234 MB / 0.5782 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00295/0.182, allocations: 0.9982 MB / 0.5791 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01002/0.1921, allocations: 6.058 MB / 0.5851 GB, free: 7.332 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005996/0.1981, allocations: 3.8 MB / 0.5888 GB, free: 3.461 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004112/0.2022, allocations: 1.986 MB / 0.5907 GB, free: 1.469 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2927/0.4949, allocations: 2.824 MB / 0.5935 GB, free: 9.961 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002098/0.497, allocations: 408.2 kB / 0.5939 GB, free: 9.961 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004005/0.501, allocations: 1.482 MB / 0.5953 GB, free: 9.961 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004356/0.5054, allocations: 2.507 MB / 0.5978 GB, free: 9.961 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007985/0.5134, allocations: 2.763 MB / 0.6005 GB, free: 9.129 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0173/0.5307, allocations: 8.8 MB / 0.609 GB, free: 7.797 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.5307, allocations: 0 / 0.609 GB, free: 7.797 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.5307, allocations: 1.344 kB / 0.609 GB, free: 7.797 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004641/0.5311, allocations: 0 / 0.609 GB, free: 7.797 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.02359/0.5547, allocations: 6.353 MB / 0.6153 GB, free: 4.938 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.5548, allocations: 11.97 kB / 0.6153 GB, free: 4.938 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004062/0.5588, allocations: 0.8192 MB / 0.6161 GB, free: 4.566 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04217/0.601, allocations: 6.065 MB / 0.622 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01187/0.6129, allocations: 4.153 MB / 0.626 GB, free: 220 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002703/0.6132, allocations: 281.9 kB / 0.6263 GB, free: 128 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002132/0.6153, allocations: 383.4 kB / 0.6267 GB, free: 28 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03132/0.6466, allocations: 11.47 MB / 0.6379 GB, free: 9.051 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005668/0.6472, allocations: 64.75 kB / 0.6379 GB, free: 9.035 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002586/0.6498, allocations: 180.2 kB / 0.6381 GB, free: 8.953 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004628/0.6544, allocations: 2.138 MB / 0.6402 GB, free: 7.125 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02427/0.6787, allocations: 9.374 MB / 0.6494 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07028/0.7489, allocations: 45.36 MB / 0.6937 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01144/0.7604, allocations: 3.679 MB / 0.6972 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003381/0.7638, allocations: 1.863 MB / 0.6991 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01319/0.777, allocations: 5.639 MB / 0.7046 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.278e-05/0.777, allocations: 57.28 kB / 0.7046 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 6.272e-06/0.777, allocations: 0 / 0.7046 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of matching and sorting (n=162): time 0.05324/0.8303, allocations: 15.92 MB / 0.7202 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001731/0.8304, allocations: 226.1 kB / 0.7204 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01355/0.844, allocations: 5.632 MB / 0.7259 GB, free: 14.61 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004571/0.8444, allocations: 59.14 kB / 0.7259 GB, free: 14.55 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004301/0.8487, allocations: 3.905 MB / 0.7298 GB, free: 10.66 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001176/0.8499, allocations: 0.6861 MB / 0.7304 GB, free: 9.988 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003803/0.8537, allocations: 1.345 MB / 0.7317 GB, free: 8.637 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.8539, allocations: 305.1 kB / 0.732 GB, free: 8.336 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004368/0.8582, allocations: 2.074 MB / 0.7341 GB, free: 6.258 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009146/0.8674, allocations: 6.314 MB / 0.7402 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01282/0.8802, allocations: 9.129 MB / 0.7491 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001708/0.8804, allocations: 48 kB / 0.7492 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.02004/0.9004, allocations: 8.621 MB / 0.7576 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002214/0.9006, allocations: 69.56 kB / 0.7577 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002771/0.9009, allocations: 159.6 kB / 0.7578 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002402/0.9033, allocations: 0.7139 MB / 0.7585 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005559/0.9089, allocations: 1.505 MB / 0.76 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/0.9189, allocations: 6.961 MB / 0.7668 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006038/0.925, allocations: 347.8 kB / 0.7671 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001665/0.9266, allocations: 416 kB / 0.7675 GB, free: 208 kB / 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 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.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 (798): * Single equations (assignments): 791 * 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.007177/0.9338, allocations: 2.464 MB / 0.7699 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001568/0.9354, allocations: 488.7 kB / 0.7704 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007576/0.9429, allocations: 2.643 MB / 0.773 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-05/0.943, allocations: 16 kB / 0.773 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.673e-05/0.943, allocations: 8 kB / 0.773 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.904e-05/0.9431, allocations: 7.969 kB / 0.773 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02477/0.9678, allocations: 7.454 MB / 0.7803 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-05/0.9679, allocations: 4 kB / 0.7803 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001534/0.9694, allocations: 255.6 kB / 0.7805 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001948/0.9713, allocations: 0.4987 MB / 0.781 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004255/0.9718, allocations: 32 kB / 0.781 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009269/0.981, allocations: 6.301 MB / 0.7872 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.337e-06/0.981, allocations: 7.938 kB / 0.7872 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0105/0.9916, allocations: 4.959 MB / 0.792 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00199/0.9935, allocations: 0.5408 MB / 0.7926 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001957/0.9955, allocations: 31.88 kB / 0.7926 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003133/0.9986, allocations: 75.91 kB / 0.7927 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006808/0.9993, allocations: 92.88 kB / 0.7928 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003833/0.9997, allocations: 50.44 kB / 0.7928 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.009953/1.01, allocations: 3.613 MB / 0.7963 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.91e-07/1.01, allocations: 0 / 0.7963 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.008516/1.018, allocations: 1.094 MB / 0.7974 GB, free: 1.18 MB / 0.6075 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.01046/1.029, allocations: 5.593 MB / 0.8029 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01023/1.039, allocations: 4.98 MB / 0.8077 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/1.039, allocations: 0 / 0.8077 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002773/1.042, allocations: 1.41 MB / 0.8091 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00583/1.047, allocations: 0.6385 MB / 0.8097 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3984/1.446, allocations: 53.96 MB / 0.8624 GB, free: 221.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009239/1.455, allocations: 3.766 MB / 0.8661 GB, free: 220.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006988/1.462, allocations: 2.126 MB / 0.8682 GB, free: 220.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005065/1.467, allocations: 2.299 MB / 0.8704 GB, free: 218.4 MB / 0.6544 GB Notification: Performance of SimCode: time 2.345e-06/1.467, allocations: 0 / 0.8704 GB, free: 218.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1394/1.607, allocations: 84.74 MB / 0.9532 GB, free: 145.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.86/31.47, allocations: 4 kB / 0.9532 GB, free: 145.1 MB / 0.6544 GB " [Timeout remaining time 628] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques_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_4_1_0_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.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: 34.8431327809958]