Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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.Revolute2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute2",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.0007087/0.0007088, allocations: 97.25 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007284/0.0007283, allocations: 176 kB / 16.91 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.211/1.211, allocations: 205.4 MB / 223.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3642/0.3642, allocations: 43.58 MB / 315 MB, free: 9.07 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005398/0.00054, allocations: 15.98 kB / 384.7 MB, free: 7.793 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1274, allocations: 58.87 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.2836/0.411, allocations: 62.32 MB / 0.494 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03/0.4411, allocations: 12.73 MB / 0.5064 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01607/0.4572, allocations: 273.6 kB / 0.5067 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002615/0.4598, allocations: 0.6295 MB / 0.5073 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01006/0.4699, allocations: 2.477 MB / 0.5097 GB, free: 15.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002895/0.4728, allocations: 0.9476 MB / 0.5107 GB, free: 15.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01655/0.4894, allocations: 10.08 MB / 0.5205 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01096/0.5004, allocations: 5.464 MB / 0.5258 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005243/0.5057, allocations: 1.79 MB / 0.5276 GB, free: 9.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006647/0.5124, allocations: 3.167 MB / 0.5307 GB, free: 6.492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001485/0.5139, allocations: 220 kB / 0.5309 GB, free: 6.277 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003423/0.5174, allocations: 1.127 MB / 0.532 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003173/0.5206, allocations: 2.649 MB / 0.5346 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004345/0.5249, allocations: 3.017 MB / 0.5375 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01174/0.5367, allocations: 9.529 MB / 0.5468 GB, free: 5.891 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.5367, allocations: 0 / 0.5468 GB, free: 5.891 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.5367, allocations: 0 / 0.5468 GB, free: 5.891 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003684/0.5371, allocations: 0 / 0.5468 GB, free: 5.891 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: 2212 * Number of variables: 2212 Notification: Performance of Generate backend data structure: time 0.01458/0.5517, allocations: 6.15 MB / 0.5528 GB, free: 15.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.5518, allocations: 15.97 kB / 0.5529 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002435/0.5542, allocations: 1.026 MB / 0.5539 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03118/0.5854, allocations: 5.737 MB / 0.5595 GB, free: 8.852 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01144/0.5969, allocations: 5.856 MB / 0.5652 GB, free: 2.938 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002944/0.5972, allocations: 320.8 kB / 0.5655 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001773/0.599, allocations: 443.5 kB / 0.5659 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02893/0.6279, allocations: 15.77 MB / 0.5813 GB, free: 1.684 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001937/0.6282, allocations: 59.48 kB / 0.5814 GB, free: 1.625 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006182/0.6288, allocations: 199.8 kB / 0.5816 GB, free: 1.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006667/0.6355, allocations: 3.47 MB / 0.5849 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03147/0.667, allocations: 14.83 MB / 0.5994 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.318/0.985, allocations: 55.91 MB / 0.654 GB, free: 106.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01683/1.002, allocations: 8.127 MB / 0.662 GB, free: 104.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005587/1.007, allocations: 4.785 MB / 0.6666 GB, free: 104.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001517/1.009, allocations: 2.207 MB / 0.6688 GB, free: 102.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/1.009, allocations: 61.86 kB / 0.6689 GB, free: 102.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=367): time 6.091e-06/1.009, allocations: 0 / 0.6689 GB, free: 102.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=419): time 0.1103/1.119, allocations: 39.79 MB / 0.7077 GB, free: 91.01 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.65e-05/1.12, allocations: 118.7 kB / 0.7078 GB, free: 90.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005318/1.125, allocations: 4.415 MB / 0.7121 GB, free: 89.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006487/1.126, allocations: 81.7 kB / 0.7122 GB, free: 89.06 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001884/1.127, allocations: 3.9 MB / 0.716 GB, free: 85.29 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001456/1.129, allocations: 1.487 MB / 0.7175 GB, free: 83.81 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000754/1.13, allocations: 0.67 MB / 0.7181 GB, free: 83.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.753e-05/1.13, allocations: 309.1 kB / 0.7184 GB, free: 82.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004718/1.134, allocations: 3.95 MB / 0.7223 GB, free: 78.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006257/1.141, allocations: 7.759 MB / 0.7299 GB, free: 69.33 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01228/1.153, allocations: 12.73 MB / 0.7423 GB, free: 54.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.405e-05/1.153, allocations: 36 kB / 0.7423 GB, free: 54.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=1017) (initialization): time 0.02328/1.176, allocations: 14.25 MB / 0.7562 GB, free: 40.42 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.547e-05/1.177, allocations: 60 kB / 0.7563 GB, free: 40.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001502/1.177, allocations: 128 kB / 0.7564 GB, free: 40.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007261/1.184, allocations: 2.676 MB / 0.759 GB, free: 37.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006542/1.191, allocations: 1.786 MB / 0.7608 GB, free: 35.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01652/1.207, allocations: 14.17 MB / 0.7746 GB, free: 21.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00686/1.214, allocations: 0.491 MB / 0.7751 GB, free: 20.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001385/1.215, allocations: 427.9 kB / 0.7755 GB, free: 20.43 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 592 * Number of states: 0 () * Number of discrete variables: 48 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],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 (920): * Single equations (assignments): 912 * Array equations: 6 * 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 {(6,32,69.4%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005959/1.221, allocations: 2.911 MB / 0.7783 GB, free: 17.51 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001255/1.223, allocations: 469.9 kB / 0.7788 GB, free: 17.04 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01689/1.24, allocations: 10.57 MB / 0.7891 GB, free: 6.418 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.08e-05/1.24, allocations: 63.98 kB / 0.7892 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.815e-05/1.24, allocations: 8.094 kB / 0.7892 GB, free: 6.348 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.788e-05/1.24, allocations: 27.86 kB / 0.7892 GB, free: 6.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03939/1.279, allocations: 21.45 MB / 0.8102 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-05/1.279, allocations: 12 kB / 0.8102 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003555/1.283, allocations: 0.6835 MB / 0.8108 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007713/1.291, allocations: 2.483 MB / 0.8133 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007565/1.291, allocations: 83.14 kB / 0.8133 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01891/1.31, allocations: 12.88 MB / 0.8259 GB, free: 228 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.485e-05/1.31, allocations: 15.94 kB / 0.8259 GB, free: 212 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2456/1.556, allocations: 15.11 MB / 0.8407 GB, free: 153.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002835/1.559, allocations: 1.174 MB / 0.8418 GB, free: 152.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008269/1.56, allocations: 76.88 kB / 0.8419 GB, free: 152.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002809/1.562, allocations: 307.4 kB / 0.8422 GB, free: 152.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007113/1.563, allocations: 271 kB / 0.8425 GB, free: 152.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002649/1.563, allocations: 116 kB / 0.8426 GB, free: 152.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003762/1.567, allocations: 2.775 MB / 0.8453 GB, free: 151.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.11e-07/1.567, allocations: 0 / 0.8453 GB, free: 151.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00682/1.574, allocations: 1.652 MB / 0.8469 GB, free: 151.6 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (334): * Single equations (assignments): 326 * Array equations: 6 * 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,9,100.0%), (6,29,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02472/1.599, allocations: 15.82 MB / 0.8624 GB, free: 145.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.015/1.614, allocations: 9.827 MB / 0.872 GB, free: 142.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/1.614, allocations: 0 / 0.872 GB, free: 142.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005656/1.62, allocations: 4.315 MB / 0.8762 GB, free: 140.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00978/1.629, allocations: 0.7032 MB / 0.8769 GB, free: 140.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1042/1.734, allocations: 84.38 MB / 0.9593 GB, free: 57.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003938/1.738, allocations: 4.619 MB / 0.9638 GB, free: 53.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005667/1.743, allocations: 2.74 MB / 0.9664 GB, free: 50.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003048/1.746, allocations: 2.913 MB / 0.9693 GB, free: 47.54 MB / 0.5137 GB Notification: Performance of SimCode: time 1.002e-06/1.746, allocations: 0 / 0.9693 GB, free: 47.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4127/2.159, allocations: 113.4 MB / 1.08 GB, free: 127.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/2.159, allocations: 206.9 kB / 1.08 GB, free: 127.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.66/6.82, allocations: 0 / 1.08 GB, free: 127.4 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches