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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009347/0.0009346, allocations: 97.02 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.00107/0.00107, allocations: 179 kB / 16.91 MB, free: 6.914 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.333/1.333, allocations: 205.4 MB / 223.1 MB, free: 5.52 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.3495/0.3495, allocations: 43.57 MB / 315 MB, free: 8.75 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.0005596/0.0005597, allocations: 16.61 kB / 384.7 MB, free: 7.539 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1118, allocations: 58.87 MB / 443.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.2204/0.3322, allocations: 29.12 MB / 472.7 MB, free: 31.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01307/0.3453, allocations: 6.804 MB / 479.5 MB, free: 28.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004394/0.3497, allocations: 120 kB / 479.6 MB, free: 28.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000909/0.3506, allocations: 442.2 kB / 480 MB, free: 28.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003263/0.3539, allocations: 1.679 MB / 481.7 MB, free: 28.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008283/0.3548, allocations: 453.6 kB / 482.1 MB, free: 28.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003786/0.3586, allocations: 5.13 MB / 487.3 MB, free: 26.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002404/0.361, allocations: 2.455 MB / 489.7 MB, free: 25.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.362, allocations: 0.9825 MB / 490.7 MB, free: 25.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/0.3636, allocations: 1.737 MB / 492.5 MB, free: 24.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002581/0.3638, allocations: 140.2 kB / 492.6 MB, free: 24.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/0.3654, allocations: 0.8917 MB / 493.5 MB, free: 24.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001262/0.3666, allocations: 1.542 MB / 495 MB, free: 23.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.368, allocations: 1.851 MB / 496.9 MB, free: 22.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006823/0.3748, allocations: 5.891 MB / 0.491 GB, free: 20.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3748, allocations: 0.7969 kB / 0.491 GB, free: 20.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3748, allocations: 0 / 0.491 GB, free: 20.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000149/0.375, allocations: 0 / 0.491 GB, free: 20.88 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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.007396/0.3824, allocations: 3.491 MB / 0.4944 GB, free: 18.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.3824, allocations: 17.5 kB / 0.4944 GB, free: 18.8 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001138/0.3836, allocations: 0.7264 MB / 0.4951 GB, free: 18.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/0.3938, allocations: 3.175 MB / 0.4982 GB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004602/0.3984, allocations: 2.351 MB / 0.5005 GB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/0.3986, allocations: 192.7 kB / 0.5007 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006725/0.3993, allocations: 261 kB / 0.5009 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01692/0.4162, allocations: 10.71 MB / 0.5114 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.521e-05/0.4163, allocations: 27.72 kB / 0.5114 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003811/0.4167, allocations: 119.8 kB / 0.5115 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003902/0.4206, allocations: 2.643 MB / 0.5141 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01788/0.4385, allocations: 10.03 MB / 0.5239 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05023/0.4888, allocations: 35.32 MB / 0.5584 GB, free: 8.574 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009177/0.498, allocations: 5.171 MB / 0.5635 GB, free: 3.176 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002915/0.501, allocations: 2.302 MB / 0.5657 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001439/0.5024, allocations: 1.88 MB / 0.5675 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.5025, allocations: 52.56 kB / 0.5676 GB, free: 14.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 3.827e-06/0.5025, allocations: 0 / 0.5676 GB, free: 14.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=235): time 0.03063/0.5331, allocations: 14.05 MB / 0.5813 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.5332, allocations: 73.41 kB / 0.5814 GB, free: 420 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003572/0.5368, allocations: 2.689 MB / 0.584 GB, free: 13.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001961/0.537, allocations: 61.64 kB / 0.5841 GB, free: 13.64 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001587/0.5386, allocations: 2.701 MB / 0.5867 GB, free: 10.89 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007239/0.5393, allocations: 0.8556 MB / 0.5875 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005311/0.5399, allocations: 465.7 kB / 0.588 GB, free: 9.566 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.229e-05/0.54, allocations: 309.1 kB / 0.5883 GB, free: 9.262 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002888/0.5428, allocations: 2.2 MB / 0.5904 GB, free: 7.055 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004679/0.5475, allocations: 5.13 MB / 0.5954 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008417/0.556, allocations: 8.042 MB / 0.6033 GB, free: 7.027 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.556e-05/0.556, allocations: 32 kB / 0.6033 GB, free: 6.996 MB / 478.1 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01289/0.5689, allocations: 7.938 MB / 0.6111 GB, free: 15.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.417e-05/0.569, allocations: 48 kB / 0.6111 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001053/0.5692, allocations: 104 kB / 0.6112 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002171/0.5713, allocations: 0.8011 MB / 0.612 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004191/0.5755, allocations: 1.197 MB / 0.6132 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005655/0.5812, allocations: 4.195 MB / 0.6173 GB, free: 8.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003796/0.585, allocations: 299.8 kB / 0.6176 GB, free: 8.266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006836/0.5857, allocations: 304 kB / 0.6178 GB, free: 7.969 MB / 494.1 MB 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.004145/0.5899, allocations: 2.051 MB / 0.6198 GB, free: 5.902 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004513/0.5903, allocations: 268.5 kB / 0.6201 GB, free: 5.637 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008023/0.5984, allocations: 4.733 MB / 0.6247 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-05/0.5985, allocations: 39.98 kB / 0.6248 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.5985, allocations: 8 kB / 0.6248 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/0.5985, allocations: 7.969 kB / 0.6248 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01682/0.6153, allocations: 10.61 MB / 0.6351 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/0.6154, allocations: 12.19 kB / 0.6352 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/0.617, allocations: 359.4 kB / 0.6355 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001992/0.619, allocations: 0.6522 MB / 0.6361 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002079/0.6192, allocations: 47.97 kB / 0.6362 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004612/0.6238, allocations: 3.666 MB / 0.6398 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.6238, allocations: 11.94 kB / 0.6398 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2343/0.8582, allocations: 7.138 MB / 0.6467 GB, free: 153.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001728/0.8599, allocations: 0.646 MB / 0.6474 GB, free: 153.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004702/0.8604, allocations: 48.38 kB / 0.6474 GB, free: 153.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.8616, allocations: 141.1 kB / 0.6476 GB, free: 153.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003195/0.862, allocations: 129 kB / 0.6477 GB, free: 153.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/0.8621, allocations: 65.25 kB / 0.6477 GB, free: 153.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002148/0.8643, allocations: 1.656 MB / 0.6494 GB, free: 153.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8643, allocations: 0 / 0.6494 GB, free: 153.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004085/0.8684, allocations: 0.9459 MB / 0.6503 GB, free: 153.4 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.009128/0.8775, allocations: 7.785 MB / 0.6579 GB, free: 151.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007649/0.8852, allocations: 5.363 MB / 0.6631 GB, free: 149.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/0.8852, allocations: 1.094 kB / 0.6631 GB, free: 149.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002825/0.8881, allocations: 2.017 MB / 0.6651 GB, free: 148.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004728/0.8928, allocations: 360.4 kB / 0.6654 GB, free: 148.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0771/0.9699, allocations: 45.14 MB / 0.7095 GB, free: 116.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003487/0.9735, allocations: 3.233 MB / 0.7127 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003979/0.9775, allocations: 1.969 MB / 0.7146 GB, free: 112.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002243/0.9797, allocations: 1.756 MB / 0.7163 GB, free: 110.6 MB / 0.4981 GB Notification: Performance of SimCode: time 1.303e-06/0.9798, allocations: 0 / 0.7163 GB, free: 110.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07253/1.052, allocations: 55.93 MB / 0.7709 GB, free: 55.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/1.053, allocations: 221.7 kB / 0.7711 GB, free: 54.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.133/4.186, allocations: 0 / 0.7711 GB, free: 54.98 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches