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.001347/0.001347, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001484/0.001484, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.501/1.501, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2311/0.2311, allocations: 46.96 MB / 360.9 MB, free: 4.004 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.002076/0.002076, allocations: 67.84 kB / 0.4961 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3174, allocations: 66.03 MB / 0.5606 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01356/0.331, allocations: 11.09 MB / 0.5714 GB, free: 9.051 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00993/0.3409, allocations: 4.303 MB / 0.5756 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001575/0.3425, allocations: 99.5 kB / 0.5757 GB, free: 4.637 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006813/0.3493, allocations: 3.61 MB / 0.5793 GB, free: 1.016 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005415/0.3547, allocations: 2.257 MB / 0.5815 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002178/0.3569, allocations: 0.9982 MB / 0.5824 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008354/0.3652, allocations: 6.051 MB / 0.5883 GB, free: 7.688 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004942/0.3702, allocations: 3.494 MB / 0.5918 GB, free: 4.121 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00431/0.3745, allocations: 1.998 MB / 0.5937 GB, free: 2.117 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00506/0.3796, allocations: 2.659 MB / 0.5963 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001332/0.3809, allocations: 408 kB / 0.5967 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002926/0.3838, allocations: 1.338 MB / 0.598 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00285/0.3867, allocations: 2.505 MB / 0.6004 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002941/0.3896, allocations: 2.07 MB / 0.6025 GB, free: 9.117 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01052/0.4001, allocations: 8.833 MB / 0.6111 GB, free: 260 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.4001, allocations: 3.984 kB / 0.6111 GB, free: 256 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4001, allocations: 0 / 0.6111 GB, free: 256 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002136/0.4003, allocations: 3.938 kB / 0.6111 GB, free: 252 kB / 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.01415/0.4145, allocations: 6.275 MB / 0.6172 GB, free: 9.902 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.4145, allocations: 8.031 kB / 0.6172 GB, free: 9.895 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001402/0.4159, allocations: 0.8266 MB / 0.618 GB, free: 9.059 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03854/0.4545, allocations: 6.055 MB / 0.624 GB, free: 2.992 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/0.4645, allocations: 4.098 MB / 0.628 GB, free: 14.83 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002664/0.4648, allocations: 287.3 kB / 0.6282 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001158/0.4659, allocations: 375.8 kB / 0.6286 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02221/0.4881, allocations: 11.53 MB / 0.6398 GB, free: 1.781 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002564/0.4884, allocations: 55.58 kB / 0.6399 GB, free: 1.727 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007532/0.4891, allocations: 175.8 kB / 0.6401 GB, free: 1.555 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003841/0.493, allocations: 2.158 MB / 0.6422 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01905/0.512, allocations: 9.336 MB / 0.6513 GB, free: 6.043 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06363/0.5757, allocations: 43.58 MB / 0.6939 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00999/0.5857, allocations: 3.214 MB / 0.697 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002782/0.5884, allocations: 1.865 MB / 0.6988 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01007/0.5985, allocations: 4.912 MB / 0.7036 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.878e-05/0.5986, allocations: 55.98 kB / 0.7037 GB, free: 15.04 MB / 0.545 GB Notification: Performance of pre-optimization done (n=150): time 4.629e-06/0.5986, allocations: 0 / 0.7037 GB, free: 15.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=162): time 0.04352/0.6421, allocations: 15.7 MB / 0.719 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.6422, allocations: 226.3 kB / 0.7192 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01016/0.6524, allocations: 5.891 MB / 0.725 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003404/0.6527, allocations: 49.64 kB / 0.725 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003535/0.6563, allocations: 3.909 MB / 0.7288 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009225/0.6572, allocations: 0.6786 MB / 0.7295 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002579/0.6598, allocations: 1.345 MB / 0.7308 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.6599, allocations: 305.1 kB / 0.7311 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003692/0.6636, allocations: 2.074 MB / 0.7331 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.286/0.9496, allocations: 6.365 MB / 0.7393 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007518/0.9571, allocations: 9.131 MB / 0.7482 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001412/0.9572, allocations: 43.09 kB / 0.7483 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.01273/0.97, allocations: 8.609 MB / 0.7567 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.833e-05/0.97, allocations: 72.06 kB / 0.7568 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001317/0.9702, allocations: 152 kB / 0.7569 GB, free: 138 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001416/0.9716, allocations: 0.7206 MB / 0.7576 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003807/0.9754, allocations: 1.505 MB / 0.7591 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005853/0.9812, allocations: 6.693 MB / 0.7656 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004973/0.9862, allocations: 340.5 kB / 0.7659 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005662/0.9868, allocations: 417.9 kB / 0.7663 GB, free: 129.2 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 (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.003477/0.9903, allocations: 2.462 MB / 0.7687 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007195/0.991, allocations: 486.6 kB / 0.7692 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003993/0.995, allocations: 2.649 MB / 0.7718 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.629e-05/0.995, allocations: 25.61 kB / 0.7718 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.995, allocations: 4 kB / 0.7718 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.995, allocations: 5.953 kB / 0.7718 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/1.005, allocations: 7.084 MB / 0.7788 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/1.005, allocations: 4 kB / 0.7788 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/1.006, allocations: 255.9 kB / 0.779 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001173/1.007, allocations: 0.4923 MB / 0.7795 GB, free: 117 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.499e-05/1.007, allocations: 32.38 kB / 0.7795 GB, free: 117 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005048/1.012, allocations: 6.029 MB / 0.7854 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.012, allocations: 7.938 kB / 0.7854 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005283/1.018, allocations: 4.959 MB / 0.7902 GB, free: 106 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/1.019, allocations: 483.7 kB / 0.7907 GB, free: 105.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004685/1.019, allocations: 28 kB / 0.7907 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/1.021, allocations: 75.91 kB / 0.7908 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/1.021, allocations: 100.7 kB / 0.7909 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.054e-05/1.021, allocations: 44 kB / 0.7909 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00477/1.026, allocations: 3.617 MB / 0.7945 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.026, allocations: 0 / 0.7945 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005994/1.032, allocations: 1.092 MB / 0.7955 GB, free: 100.6 MB / 0.5606 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.005307/1.037, allocations: 5.596 MB / 0.801 GB, free: 95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00649/1.044, allocations: 4.985 MB / 0.8059 GB, free: 90.03 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.902e-06/1.044, allocations: 0 / 0.8059 GB, free: 90.03 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001472/1.045, allocations: 1.405 MB / 0.8073 GB, free: 88.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003275/1.048, allocations: 0.6236 MB / 0.8079 GB, free: 87.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06493/1.113, allocations: 54.04 MB / 0.8606 GB, free: 27.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003239/1.117, allocations: 3.252 MB / 0.8638 GB, free: 23.96 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003879/1.121, allocations: 2.121 MB / 0.8659 GB, free: 21.84 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002221/1.123, allocations: 2.303 MB / 0.8681 GB, free: 19.54 MB / 0.5606 GB Notification: Performance of SimCode: time 1.393e-06/1.123, allocations: 0 / 0.8681 GB, free: 19.54 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1601/1.283, allocations: 85.31 MB / 0.9514 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.94/19.22, allocations: 8.047 kB / 0.9514 GB, free: 15.16 MB / 0.6387 GB " [Timeout remaining time 641] (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: 22.365163879003376]