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.001279/0.001279, allocations: 103.8 kB / 15.98 MB, free: 6.348 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.001263/0.001263, allocations: 189.6 kB / 16.91 MB, free: 6.191 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.456/1.456, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.3451/0.3451, allocations: 43.5 MB / 313.6 MB, free: 8.293 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.002616/0.002616, allocations: 63.89 kB / 382.3 MB, free: 8.273 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1266, allocations: 57.78 MB / 440.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.2498/0.3764, allocations: 30.07 MB / 470.2 MB, free: 32.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01251/0.389, allocations: 6.768 MB / 476.9 MB, free: 29.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006386/0.3954, allocations: 121.2 kB / 477.1 MB, free: 29.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002711/0.3981, allocations: 1.244 MB / 478.3 MB, free: 28.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003783/0.402, allocations: 1.672 MB / 480 MB, free: 28.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009776/0.403, allocations: 470.5 kB / 480.4 MB, free: 27.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003882/0.4069, allocations: 3.667 MB / 484.1 MB, free: 26.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002232/0.4091, allocations: 2.132 MB / 486.2 MB, free: 25.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001512/0.4107, allocations: 1.243 MB / 487.5 MB, free: 25.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001916/0.4126, allocations: 1.912 MB / 489.4 MB, free: 24.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000416/0.413, allocations: 244 kB / 489.6 MB, free: 24.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001695/0.4147, allocations: 0.9544 MB / 490.6 MB, free: 24.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001447/0.4162, allocations: 1.651 MB / 492.2 MB, free: 23.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001713/0.4179, allocations: 1.963 MB / 494.2 MB, free: 22.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008137/0.4261, allocations: 6.119 MB / 0.4886 GB, free: 20.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.4261, allocations: 0 / 0.4886 GB, free: 20.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4261, allocations: 1.25 kB / 0.4886 GB, free: 20.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000265/0.4264, allocations: 0 / 0.4886 GB, free: 20.14 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.01192/0.4383, allocations: 4.261 MB / 0.4927 GB, free: 17.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.4384, allocations: 12.8 kB / 0.4928 GB, free: 17.64 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001602/0.44, allocations: 0.7288 MB / 0.4935 GB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0118/0.4518, allocations: 3.089 MB / 0.4965 GB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00657/0.4584, allocations: 2.35 MB / 0.4988 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/0.4586, allocations: 197.8 kB / 0.499 GB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008593/0.4595, allocations: 260.4 kB / 0.4992 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01749/0.477, allocations: 10.7 MB / 0.5097 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.897e-05/0.4771, allocations: 27.72 kB / 0.5097 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003664/0.4775, allocations: 127.6 kB / 0.5098 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003511/0.481, allocations: 2.639 MB / 0.5124 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01782/0.4988, allocations: 10.02 MB / 0.5222 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05551/0.5544, allocations: 35.31 MB / 0.5567 GB, free: 8.332 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009364/0.5638, allocations: 5.183 MB / 0.5617 GB, free: 2.922 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003205/0.567, allocations: 2.301 MB / 0.564 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001617/0.5687, allocations: 1.884 MB / 0.5658 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.5687, allocations: 48.56 kB / 0.5659 GB, free: 14.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 5.601e-06/0.5687, allocations: 3.938 kB / 0.5659 GB, free: 14.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=235): time 0.03312/0.6019, allocations: 14.07 MB / 0.5796 GB, free: 220 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.602, allocations: 73.41 kB / 0.5797 GB, free: 136 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004208/0.6062, allocations: 2.693 MB / 0.5823 GB, free: 13.42 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000425/0.6067, allocations: 53.7 kB / 0.5823 GB, free: 13.36 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001778/0.6084, allocations: 2.705 MB / 0.585 GB, free: 10.62 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001183/0.6096, allocations: 0.8517 MB / 0.5858 GB, free: 9.754 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001563/0.6112, allocations: 1.048 MB / 0.5868 GB, free: 8.695 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.57e-05/0.6113, allocations: 301.1 kB / 0.5871 GB, free: 8.398 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003385/0.6147, allocations: 2.208 MB / 0.5893 GB, free: 6.184 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005609/0.6203, allocations: 5.13 MB / 0.5943 GB, free: 15.62 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009648/0.63, allocations: 8.046 MB / 0.6022 GB, free: 6.145 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.494e-05/0.6301, allocations: 28 kB / 0.6022 GB, free: 6.117 MB / 478.1 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01567/0.6458, allocations: 7.934 MB / 0.6099 GB, free: 14.17 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.231e-05/0.646, allocations: 48.22 kB / 0.61 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001298/0.6461, allocations: 109.6 kB / 0.6101 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002296/0.6484, allocations: 0.7896 MB / 0.6109 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004726/0.6531, allocations: 1.201 MB / 0.612 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005753/0.6589, allocations: 4.525 MB / 0.6164 GB, free: 7.359 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003891/0.6628, allocations: 303.9 kB / 0.6167 GB, free: 7.062 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009728/0.6638, allocations: 304 kB / 0.617 GB, free: 6.766 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.005206/0.669, allocations: 2.051 MB / 0.619 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007222/0.6698, allocations: 264.5 kB / 0.6193 GB, free: 4.438 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008574/0.6784, allocations: 4.73 MB / 0.6239 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.589e-05/0.6785, allocations: 51.97 kB / 0.6239 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/0.6785, allocations: 3.938 kB / 0.6239 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.077e-05/0.6785, allocations: 7.969 kB / 0.624 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01772/0.6962, allocations: 10.61 MB / 0.6343 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/0.6963, allocations: 11.94 kB / 0.6343 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/0.6979, allocations: 367.3 kB / 0.6347 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001956/0.6998, allocations: 0.6568 MB / 0.6353 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002651/0.7001, allocations: 43.98 kB / 0.6354 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2251/0.9252, allocations: 3.907 MB / 0.6392 GB, free: 158.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.216e-05/0.9253, allocations: 12 kB / 0.6392 GB, free: 158.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/0.9357, allocations: 7.134 MB / 0.6462 GB, free: 157.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0016/0.9374, allocations: 0.6474 MB / 0.6468 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004218/0.9378, allocations: 39.22 kB / 0.6468 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.939, allocations: 140 kB / 0.647 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003644/0.9393, allocations: 136.3 kB / 0.6471 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001676/0.9395, allocations: 63.92 kB / 0.6472 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002563/0.9421, allocations: 1.658 MB / 0.6488 GB, free: 157 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.71e-07/0.9421, allocations: 3.125 kB / 0.6488 GB, free: 157 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004537/0.9466, allocations: 0.9345 MB / 0.6497 GB, free: 156.9 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.009507/0.9562, allocations: 7.801 MB / 0.6573 GB, free: 153.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01598/0.9722, allocations: 8.694 MB / 0.6658 GB, free: 152.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.59e-05/0.9722, allocations: 1.281 kB / 0.6658 GB, free: 152.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003679/0.9759, allocations: 2.02 MB / 0.6678 GB, free: 151.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003885/0.9798, allocations: 358.4 kB / 0.6681 GB, free: 151.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06748/1.047, allocations: 45.09 MB / 0.7121 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005547/1.053, allocations: 3.221 MB / 0.7153 GB, free: 111.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004078/1.057, allocations: 1.979 MB / 0.7172 GB, free: 110.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002873/1.06, allocations: 1.755 MB / 0.7189 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of SimCode: time 1.393e-06/1.06, allocations: 3.938 kB / 0.7189 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07833/1.138, allocations: 57.69 MB / 0.7753 GB, free: 51.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/1.139, allocations: 210.5 kB / 0.7755 GB, free: 50.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.139/4.278, allocations: 3.938 kB / 0.7755 GB, free: 50.99 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