Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 106.2 kB / 17.21 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 241.8 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2125/0.2125, allocations: 44.18 MB / 336.1 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 54.25 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1029, allocations: 60.84 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.0254/0.1284, allocations: 29.71 MB / 498.3 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01328/0.1417, allocations: 6.824 MB / 0.4933 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005215/0.1469, allocations: 119.8 kB / 0.4934 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002919/0.1499, allocations: 1.281 MB / 0.4947 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003982/0.1539, allocations: 1.639 MB / 0.4963 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.1553, allocations: 459.2 kB / 0.4967 GB, free: 6.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005987/0.1613, allocations: 5.01 MB / 0.5016 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2152/0.3765, allocations: 1.976 MB / 0.5036 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001792/0.3783, allocations: 1.042 MB / 0.5046 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002227/0.3806, allocations: 1.806 MB / 0.5063 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005399/0.3811, allocations: 166.5 kB / 0.5065 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/0.383, allocations: 0.9517 MB / 0.5074 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001481/0.3845, allocations: 1.539 MB / 0.5089 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001878/0.3863, allocations: 1.847 MB / 0.5107 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006793/0.3931, allocations: 5.901 MB / 0.5165 GB, free: 9.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3932, allocations: 0 / 0.5165 GB, free: 9.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3932, allocations: 0 / 0.5165 GB, free: 9.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001532/0.3933, allocations: 2.531 kB / 0.5165 GB, free: 9.887 MB / 382.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.009862/0.4032, allocations: 4.171 MB / 0.5206 GB, free: 8.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.4033, allocations: 9.594 kB / 0.5206 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001443/0.4047, allocations: 0.7084 MB / 0.5213 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/0.4151, allocations: 3.085 MB / 0.5243 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004546/0.4197, allocations: 2.19 MB / 0.5264 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.4199, allocations: 190.2 kB / 0.5266 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009048/0.4208, allocations: 249.1 kB / 0.5268 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01668/0.4375, allocations: 10.49 MB / 0.5371 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.575e-05/0.4376, allocations: 31.88 kB / 0.5371 GB, free: 1.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004565/0.4381, allocations: 116.3 kB / 0.5372 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00377/0.4419, allocations: 2.558 MB / 0.5397 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02068/0.4626, allocations: 9.92 MB / 0.5494 GB, free: 7.047 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05176/0.5144, allocations: 34.47 MB / 0.5831 GB, free: 4.289 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009308/0.5237, allocations: 5.193 MB / 0.5881 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003079/0.5268, allocations: 2.291 MB / 0.5904 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001564/0.5284, allocations: 1.879 MB / 0.5922 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.5285, allocations: 48.56 kB / 0.5923 GB, free: 10.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 6.412e-06/0.5285, allocations: 0 / 0.5923 GB, free: 10.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=235): time 0.03353/0.562, allocations: 13.99 MB / 0.6059 GB, free: 12.31 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.5621, allocations: 73.34 kB / 0.606 GB, free: 12.23 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004328/0.5665, allocations: 2.647 MB / 0.6086 GB, free: 9.559 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002867/0.5668, allocations: 53.7 kB / 0.6086 GB, free: 9.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001748/0.5685, allocations: 2.629 MB / 0.6112 GB, free: 6.867 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008986/0.5694, allocations: 0.852 MB / 0.612 GB, free: 6.02 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001621/0.5711, allocations: 1.038 MB / 0.613 GB, free: 4.977 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 7.927e-05/0.5712, allocations: 301.1 kB / 0.6133 GB, free: 4.68 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002987/0.5742, allocations: 2.196 MB / 0.6155 GB, free: 2.477 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004478/0.5786, allocations: 5.066 MB / 0.6204 GB, free: 12.05 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008274/0.5869, allocations: 7.96 MB / 0.6282 GB, free: 3.105 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-05/0.587, allocations: 32 kB / 0.6282 GB, free: 3.074 MB / 478.1 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01347/0.6005, allocations: 7.867 MB / 0.6359 GB, free: 11.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.6007, allocations: 48 kB / 0.636 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001763/0.6008, allocations: 100 kB / 0.636 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002315/0.6032, allocations: 0.7811 MB / 0.6368 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003937/0.6071, allocations: 1.188 MB / 0.638 GB, free: 9.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005415/0.6126, allocations: 4.205 MB / 0.6421 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003481/0.6161, allocations: 291.8 kB / 0.6424 GB, free: 5.203 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008888/0.617, allocations: 307.9 kB / 0.6426 GB, free: 4.902 MB / 494.1 MB 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.004343/0.6213, allocations: 2.016 MB / 0.6446 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006334/0.622, allocations: 260.6 kB / 0.6449 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008282/0.6303, allocations: 4.725 MB / 0.6495 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.226e-05/0.6303, allocations: 43.98 kB / 0.6495 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.6304, allocations: 4 kB / 0.6495 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.199e-05/0.6304, allocations: 11.97 kB / 0.6495 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02115/0.6515, allocations: 10.54 MB / 0.6598 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.499e-05/0.6516, allocations: 8 kB / 0.6598 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001831/0.6535, allocations: 367.5 kB / 0.6602 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002319/0.6558, allocations: 0.6522 MB / 0.6608 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005997/0.6564, allocations: 40 kB / 0.6609 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005538/0.662, allocations: 3.666 MB / 0.6644 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.662, allocations: 8 kB / 0.6645 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01178/0.6738, allocations: 7.143 MB / 0.6714 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000791/0.6746, allocations: 313.5 kB / 0.6717 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005915/0.6753, allocations: 36 kB / 0.6718 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/0.6766, allocations: 143.8 kB / 0.6719 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004041/0.6771, allocations: 133 kB / 0.672 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001887/0.6773, allocations: 66.52 kB / 0.6721 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002872/0.6801, allocations: 1.628 MB / 0.6737 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.21e-07/0.6802, allocations: 0 / 0.6737 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004657/0.6848, allocations: 0.9258 MB / 0.6746 GB, free: 3.867 MB / 0.5137 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.01121/0.696, allocations: 7.788 MB / 0.6822 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007871/0.7039, allocations: 5.343 MB / 0.6874 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/0.704, allocations: 0 / 0.6874 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002619/0.7066, allocations: 2.019 MB / 0.6894 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/0.7088, allocations: 353.4 kB / 0.6897 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2555/0.9643, allocations: 44.28 MB / 0.733 GB, free: 197.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003322/0.9676, allocations: 3.17 MB / 0.7361 GB, free: 196.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00363/0.9713, allocations: 1.957 MB / 0.738 GB, free: 195.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001982/0.9733, allocations: 1.709 MB / 0.7396 GB, free: 194.1 MB / 0.545 GB Notification: Performance of SimCode: time 8.12e-07/0.9733, allocations: 0 / 0.7396 GB, free: 194.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09672/1.07, allocations: 56.1 MB / 0.7944 GB, free: 138.4 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000263/1.07, allocations: 213.1 kB / 0.7946 GB, free: 138.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.363/4.434, allocations: 3.938 kB / 0.7946 GB, free: 138.1 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches