Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001587/0.001587, allocations: 114.6 kB / 17.13 MB, free: 5.891 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.00189/0.00189, allocations: 212.3 kB / 20.09 MB, free: 2.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 207.6 MB / 230.5 MB, free: 4.027 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3137/0.3137, allocations: 44.23 MB / 326.6 MB, free: 6.801 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 67.91 kB / 462.2 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2452, allocations: 61.01 MB / 0.511 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.009344/0.2545, allocations: 12.74 MB / 0.5234 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007024/0.2615, allocations: 3.984 MB / 0.5273 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.2629, allocations: 71.75 kB / 0.5274 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002508/0.2654, allocations: 1.343 MB / 0.5287 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003623/0.269, allocations: 1.825 MB / 0.5305 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.27, allocations: 495 kB / 0.5309 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004187/0.2742, allocations: 3.671 MB / 0.5345 GB, free: 6.766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002098/0.2763, allocations: 1.806 MB / 0.5363 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001522/0.2778, allocations: 1.257 MB / 0.5375 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002184/0.28, allocations: 1.923 MB / 0.5394 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004575/0.2804, allocations: 240 kB / 0.5396 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/0.2822, allocations: 0.975 MB / 0.5406 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001506/0.2837, allocations: 1.667 MB / 0.5422 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001849/0.2855, allocations: 1.956 MB / 0.5441 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006732/0.2922, allocations: 6.405 MB / 0.5504 GB, free: 6.453 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.2922, allocations: 4 kB / 0.5504 GB, free: 6.449 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2923, allocations: 0 / 0.5504 GB, free: 6.449 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.954e-05/0.2924, allocations: 4 kB / 0.5504 GB, free: 6.445 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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.007004/0.2994, allocations: 4.378 MB / 0.5546 GB, free: 1.988 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2994, allocations: 11.89 kB / 0.5546 GB, free: 1.977 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008314/0.3002, allocations: 0.725 MB / 0.5554 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/0.311, allocations: 3.106 MB / 0.5584 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004005/0.315, allocations: 2.373 MB / 0.5607 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001524/0.3151, allocations: 197.2 kB / 0.5609 GB, free: 11.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000518/0.3157, allocations: 259.7 kB / 0.5611 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01543/0.3311, allocations: 10.7 MB / 0.5716 GB, free: 92 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.168e-05/0.3312, allocations: 27.77 kB / 0.5716 GB, free: 64 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003746/0.3315, allocations: 119.8 kB / 0.5717 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004703/0.3362, allocations: 2.647 MB / 0.5743 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01865/0.3549, allocations: 10.01 MB / 0.5841 GB, free: 3.258 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04846/0.4033, allocations: 35.17 MB / 0.6184 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009429/0.4128, allocations: 4.976 MB / 0.6233 GB, free: 9.988 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003035/0.4158, allocations: 2.111 MB / 0.6254 GB, free: 7.875 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001826/0.4176, allocations: 1.88 MB / 0.6272 GB, free: 5.668 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.4177, allocations: 52.56 kB / 0.6272 GB, free: 5.605 MB / 494.1 MB Notification: Performance of pre-optimization done (n=229): time 4.127e-06/0.4177, allocations: 0 / 0.6272 GB, free: 5.605 MB / 494.1 MB Notification: Performance of matching and sorting (n=235): time 0.03246/0.4502, allocations: 14.14 MB / 0.6411 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.4502, allocations: 69.41 kB / 0.6411 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003766/0.454, allocations: 2.701 MB / 0.6438 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002611/0.4542, allocations: 53.7 kB / 0.6438 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002099/0.4563, allocations: 2.815 MB / 0.6466 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009465/0.4573, allocations: 0.8951 MB / 0.6474 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2152/0.6724, allocations: 1.052 MB / 0.6485 GB, free: 121 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.663e-05/0.6725, allocations: 301.8 kB / 0.6487 GB, free: 120.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003905/0.6764, allocations: 2.212 MB / 0.6509 GB, free: 120.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005166/0.6816, allocations: 5.126 MB / 0.6559 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008189/0.6898, allocations: 8.046 MB / 0.6638 GB, free: 109.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001688/0.6899, allocations: 28.59 kB / 0.6638 GB, free: 109.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01289/0.7028, allocations: 7.948 MB / 0.6716 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.531e-05/0.7029, allocations: 47.75 kB / 0.6716 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000122/0.703, allocations: 99.09 kB / 0.6717 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002089/0.7051, allocations: 0.7853 MB / 0.6725 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00373/0.7088, allocations: 1.204 MB / 0.6736 GB, free: 106.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00456/0.7134, allocations: 4.523 MB / 0.6781 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00364/0.717, allocations: 297.2 kB / 0.6783 GB, free: 103.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000735/0.7178, allocations: 307.4 kB / 0.6786 GB, free: 102.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (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 (640): * Single equations (assignments): 633 * 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.003018/0.7208, allocations: 2.047 MB / 0.6806 GB, free: 101.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004047/0.7212, allocations: 284.2 kB / 0.6809 GB, free: 101 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006394/0.7276, allocations: 4.716 MB / 0.6855 GB, free: 96.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.091e-05/0.7276, allocations: 51.56 kB / 0.6856 GB, free: 96.67 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.7277, allocations: 4 kB / 0.6856 GB, free: 96.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/0.7277, allocations: 15.91 kB / 0.6856 GB, free: 96.65 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01356/0.7412, allocations: 10.59 MB / 0.6959 GB, free: 86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/0.7412, allocations: 4 kB / 0.6959 GB, free: 86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/0.7426, allocations: 359.4 kB / 0.6963 GB, free: 85.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001829/0.7445, allocations: 0.659 MB / 0.6969 GB, free: 84.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001697/0.7446, allocations: 49.55 kB / 0.697 GB, free: 84.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003684/0.7483, allocations: 3.907 MB / 0.7008 GB, free: 80.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.7483, allocations: 7.938 kB / 0.7008 GB, free: 80.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007887/0.7562, allocations: 7.152 MB / 0.7078 GB, free: 73.81 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/0.7576, allocations: 0.6671 MB / 0.7084 GB, free: 73.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004053/0.758, allocations: 33.02 kB / 0.7084 GB, free: 73.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.7592, allocations: 144.9 kB / 0.7086 GB, free: 72.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003026/0.7595, allocations: 133 kB / 0.7087 GB, free: 72.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/0.7596, allocations: 67.45 kB / 0.7088 GB, free: 72.76 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001805/0.7614, allocations: 1.656 MB / 0.7104 GB, free: 71.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.7614, allocations: 0 / 0.7104 GB, free: 71.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003521/0.7649, allocations: 0.9455 MB / 0.7113 GB, free: 70.16 MB / 0.4981 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.008185/0.7731, allocations: 7.791 MB / 0.7189 GB, free: 62.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006185/0.7793, allocations: 5.172 MB / 0.724 GB, free: 57.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.7793, allocations: 7.875 kB / 0.724 GB, free: 57.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001984/0.7813, allocations: 1.87 MB / 0.7258 GB, free: 55.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.7831, allocations: 357.6 kB / 0.7261 GB, free: 54.87 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04451/0.8276, allocations: 40.3 MB / 0.7655 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002546/0.8302, allocations: 3.228 MB / 0.7687 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003349/0.8335, allocations: 1.965 MB / 0.7706 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00199/0.8355, allocations: 1.76 MB / 0.7723 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of SimCode: time 1.262e-06/0.8355, allocations: 0 / 0.7723 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1043/0.9399, allocations: 55.36 MB / 0.8264 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.06/24, allocations: 3.938 kB / 0.8264 GB, free: 11.77 MB / 0.5606 GB " [Timeout remaining time 636] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 26.891911225990043]