Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.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.001788/0.001788, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001726/0.001726, allocations: 215.8 kB / 23.75 MB, free: 4.668 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.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2482/0.2482, allocations: 46.93 MB / 360.9 MB, free: 4.254 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.Joints.Revolute,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 67.91 kB / 0.4962 GB, free: 7.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3561, allocations: 66.04 MB / 0.5607 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01516/0.3712, allocations: 12.34 MB / 0.5727 GB, free: 8.074 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009487/0.3807, allocations: 3.994 MB / 0.5766 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00269/0.3834, allocations: 63.81 kB / 0.5767 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003254/0.3866, allocations: 1.343 MB / 0.578 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00477/0.3914, allocations: 1.775 MB / 0.5797 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.3929, allocations: 495 kB / 0.5802 GB, free: 404 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005856/0.3988, allocations: 3.614 MB / 0.5837 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003183/0.4019, allocations: 1.83 MB / 0.5855 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002407/0.4043, allocations: 1.207 MB / 0.5867 GB, free: 9.695 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00313/0.4075, allocations: 1.892 MB / 0.5885 GB, free: 7.797 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008408/0.4083, allocations: 236 kB / 0.5888 GB, free: 7.566 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002421/0.4107, allocations: 0.9789 MB / 0.5897 GB, free: 6.586 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002143/0.4129, allocations: 1.612 MB / 0.5913 GB, free: 4.969 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003211/0.4161, allocations: 1.879 MB / 0.5931 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008999/0.4251, allocations: 6.208 MB / 0.5992 GB, free: 12.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.4251, allocations: 0 / 0.5992 GB, free: 12.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.769e-06/0.4251, allocations: 4 kB / 0.5992 GB, free: 12.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000223/0.4253, allocations: 0 / 0.5992 GB, free: 12.84 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.009042/0.4344, allocations: 4.178 MB / 0.6033 GB, free: 8.605 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.4344, allocations: 12.03 kB / 0.6033 GB, free: 8.594 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001186/0.4356, allocations: 0.7044 MB / 0.604 GB, free: 7.879 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01058/0.4462, allocations: 3.118 MB / 0.607 GB, free: 4.754 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005283/0.4515, allocations: 2.035 MB / 0.609 GB, free: 2.688 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001865/0.4517, allocations: 185 kB / 0.6092 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008415/0.4525, allocations: 255.7 kB / 0.6094 GB, free: 2.254 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01754/0.47, allocations: 10.48 MB / 0.6197 GB, free: 7.336 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.774e-05/0.4701, allocations: 27.75 kB / 0.6197 GB, free: 7.309 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004232/0.4706, allocations: 123.8 kB / 0.6198 GB, free: 7.188 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004274/0.4748, allocations: 2.549 MB / 0.6223 GB, free: 4.637 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0196/0.4944, allocations: 9.915 MB / 0.632 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05585/0.5503, allocations: 34.22 MB / 0.6654 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009579/0.5599, allocations: 4.052 MB / 0.6693 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003317/0.5632, allocations: 2.115 MB / 0.6714 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001294/0.5645, allocations: 0.5634 MB / 0.672 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.002e-05/0.5645, allocations: 48.55 kB / 0.672 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 6.182e-06/0.5645, allocations: 4 kB / 0.672 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03415/0.5987, allocations: 13.9 MB / 0.6856 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.5988, allocations: 73.41 kB / 0.6856 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003987/0.6027, allocations: 2.64 MB / 0.6882 GB, free: 196 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004058/0.6031, allocations: 53.7 kB / 0.6883 GB, free: 136 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00228/0.6054, allocations: 2.741 MB / 0.691 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001234/0.6067, allocations: 0.8913 MB / 0.6918 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00167/0.6083, allocations: 1.041 MB / 0.6928 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.6085, allocations: 301.1 kB / 0.6931 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003441/0.6119, allocations: 2.204 MB / 0.6953 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005875/0.6178, allocations: 5.059 MB / 0.7002 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01027/0.6281, allocations: 7.953 MB / 0.708 GB, free: 9.078 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.84e-05/0.6282, allocations: 32 kB / 0.708 GB, free: 9.047 MB / 0.545 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.0154/0.6436, allocations: 7.873 MB / 0.7157 GB, free: 1.164 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.215e-05/0.6437, allocations: 51.98 kB / 0.7158 GB, free: 1.113 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001423/0.6438, allocations: 100.8 kB / 0.7159 GB, free: 1.016 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0023/0.6461, allocations: 0.7928 MB / 0.7166 GB, free: 224 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004089/0.6502, allocations: 1.181 MB / 0.7178 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006385/0.6566, allocations: 4.408 MB / 0.7221 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003516/0.6601, allocations: 295.8 kB / 0.7224 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006372/0.6607, allocations: 304 kB / 0.7227 GB, free: 9.934 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (631): * Single equations (assignments): 624 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003552/0.6643, allocations: 2.012 MB / 0.7246 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000488/0.6648, allocations: 278.1 kB / 0.7249 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008477/0.6732, allocations: 4.721 MB / 0.7295 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.012e-05/0.6733, allocations: 43.98 kB / 0.7295 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.6733, allocations: 7.938 kB / 0.7295 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.467e-05/0.6733, allocations: 7.969 kB / 0.7296 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2792/0.9526, allocations: 10.47 MB / 0.7398 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/0.9526, allocations: 11 kB / 0.7398 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/0.954, allocations: 365.5 kB / 0.7401 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001728/0.9557, allocations: 0.6538 MB / 0.7408 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001885/0.9559, allocations: 46.42 kB / 0.7408 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003859/0.9598, allocations: 3.797 MB / 0.7445 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.9598, allocations: 7.875 kB / 0.7445 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008311/0.9681, allocations: 7.151 MB / 0.7515 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006138/0.9687, allocations: 250.4 kB / 0.7518 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003227/0.9691, allocations: 43.42 kB / 0.7518 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.9701, allocations: 140.8 kB / 0.7519 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002748/0.9704, allocations: 142.3 kB / 0.7521 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001352/0.9705, allocations: 63.75 kB / 0.7521 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001887/0.9724, allocations: 1.618 MB / 0.7537 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9724, allocations: 288 / 0.7537 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003131/0.9755, allocations: 0.9056 MB / 0.7546 GB, free: 144.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008078/0.9836, allocations: 7.797 MB / 0.7622 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006039/0.9897, allocations: 5.141 MB / 0.7672 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.327e-05/0.9897, allocations: 0 / 0.7672 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001899/0.9916, allocations: 1.88 MB / 0.7691 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/0.9935, allocations: 369.6 kB / 0.7694 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04501/1.039, allocations: 39.77 MB / 0.8083 GB, free: 85.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004078/1.043, allocations: 3.163 MB / 0.8113 GB, free: 82.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003742/1.046, allocations: 1.963 MB / 0.8133 GB, free: 80.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002242/1.049, allocations: 1.718 MB / 0.8149 GB, free: 79.11 MB / 0.5606 GB Notification: Performance of SimCode: time 1.293e-06/1.049, allocations: 0 / 0.8149 GB, free: 79.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0947/1.143, allocations: 59.17 MB / 0.8727 GB, free: 20.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.18/25.32, allocations: 6.812 kB / 0.8727 GB, free: 20.3 MB / 0.5606 GB " [Timeout remaining time 635] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute_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_Joints_Revolute.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.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: 28.563306823001767]