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.001234/0.001234, allocations: 96.14 kB / 15.87 MB, free: 16 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.001312/0.001313, allocations: 202.9 kB / 16.79 MB, free: 6.84 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.275/1.275, allocations: 205.1 MB / 222.6 MB, free: 4.777 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.3154/0.3154, allocations: 43.5 MB / 313.5 MB, free: 8.262 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.001266/0.001266, allocations: 70.55 kB / 382.1 MB, free: 8.402 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09888/0.1002, allocations: 57.77 MB / 439.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.2061/0.3063, allocations: 30.07 MB / 470 MB, free: 33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01246/0.3188, allocations: 6.86 MB / 476.8 MB, free: 29.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004817/0.3237, allocations: 117.3 kB / 477 MB, free: 29.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0024/0.3261, allocations: 1.285 MB / 478.2 MB, free: 28.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003304/0.3294, allocations: 1.669 MB / 479.9 MB, free: 28.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000896/0.3303, allocations: 456.9 kB / 480.4 MB, free: 28.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004045/0.3344, allocations: 5.13 MB / 485.5 MB, free: 26.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001891/0.3363, allocations: 2.007 MB / 487.5 MB, free: 25.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/0.3374, allocations: 1.065 MB / 488.6 MB, free: 25.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00163/0.3391, allocations: 1.842 MB / 490.4 MB, free: 24.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003903/0.3395, allocations: 169.1 kB / 490.6 MB, free: 24.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.3411, allocations: 0.9295 MB / 491.5 MB, free: 24.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001432/0.3425, allocations: 1.581 MB / 493.1 MB, free: 24.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001601/0.3441, allocations: 1.9 MB / 495 MB, free: 22.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00702/0.3511, allocations: 6.019 MB / 0.4893 GB, free: 20.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3512, allocations: 0 / 0.4893 GB, free: 20.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3512, allocations: 4 kB / 0.4893 GB, free: 20.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002093/0.3514, allocations: 0 / 0.4893 GB, free: 20.56 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.01355/0.365, allocations: 4.257 MB / 0.4934 GB, free: 18.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.365, allocations: 9.5 kB / 0.4934 GB, free: 18.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002604/0.3677, allocations: 0.7292 MB / 0.4941 GB, free: 17.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01667/0.3843, allocations: 3.089 MB / 0.4972 GB, free: 16.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007621/0.392, allocations: 2.357 MB / 0.4995 GB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000249/0.3923, allocations: 189.8 kB / 0.4996 GB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001454/0.3938, allocations: 260.7 kB / 0.4999 GB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01988/0.4137, allocations: 10.7 MB / 0.5103 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-05/0.4138, allocations: 31.66 kB / 0.5104 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003841/0.4142, allocations: 119.8 kB / 0.5105 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003328/0.4175, allocations: 2.643 MB / 0.5131 GB, free: 5.816 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01746/0.435, allocations: 10.03 MB / 0.5228 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04972/0.4847, allocations: 35.3 MB / 0.5573 GB, free: 7.617 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009493/0.4943, allocations: 5.185 MB / 0.5624 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00298/0.4973, allocations: 2.298 MB / 0.5646 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001626/0.4989, allocations: 1.88 MB / 0.5665 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.499, allocations: 52.55 kB / 0.5665 GB, free: 13.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 4.889e-06/0.499, allocations: 4 kB / 0.5665 GB, free: 13.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=235): time 0.03071/0.5297, allocations: 14.08 MB / 0.5803 GB, free: 15.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.5298, allocations: 77.41 kB / 0.5803 GB, free: 15.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003696/0.5335, allocations: 2.689 MB / 0.583 GB, free: 12.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002419/0.5337, allocations: 53.69 kB / 0.583 GB, free: 12.64 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001687/0.5354, allocations: 2.709 MB / 0.5857 GB, free: 9.895 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008525/0.5363, allocations: 0.8557 MB / 0.5865 GB, free: 9.027 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001339/0.5376, allocations: 1.04 MB / 0.5875 GB, free: 7.977 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.533e-05/0.5377, allocations: 305.1 kB / 0.5878 GB, free: 7.676 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002831/0.5406, allocations: 2.204 MB / 0.59 GB, free: 5.465 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004795/0.5454, allocations: 5.134 MB / 0.595 GB, free: 14.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008645/0.554, allocations: 8.043 MB / 0.6028 GB, free: 5.434 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.075e-05/0.5541, allocations: 31.98 kB / 0.6029 GB, free: 5.402 MB / 478.1 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.013/0.5671, allocations: 7.938 MB / 0.6106 GB, free: 13.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.75e-05/0.5672, allocations: 48 kB / 0.6106 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001004/0.5673, allocations: 104 kB / 0.6107 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00214/0.5695, allocations: 0.7927 MB / 0.6115 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003586/0.5731, allocations: 1.205 MB / 0.6127 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005134/0.5782, allocations: 4.196 MB / 0.6168 GB, free: 6.957 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003526/0.5818, allocations: 295.7 kB / 0.6171 GB, free: 6.672 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007997/0.5826, allocations: 308 kB / 0.6174 GB, free: 6.371 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.003705/0.5863, allocations: 2.063 MB / 0.6194 GB, free: 4.297 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004771/0.5868, allocations: 264.5 kB / 0.6196 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007368/0.5942, allocations: 4.73 MB / 0.6243 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.622e-05/0.5943, allocations: 40 kB / 0.6243 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.5943, allocations: 4 kB / 0.6243 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.735e-05/0.5943, allocations: 19.94 kB / 0.6243 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01732/0.6116, allocations: 10.61 MB / 0.6347 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/0.6117, allocations: 8.094 kB / 0.6347 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001413/0.6131, allocations: 367.5 kB / 0.635 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001921/0.615, allocations: 0.6521 MB / 0.6357 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001741/0.6152, allocations: 47.98 kB / 0.6357 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1838/0.799, allocations: 3.655 MB / 0.6393 GB, free: 158 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.919e-06/0.7991, allocations: 12.19 kB / 0.6393 GB, free: 158 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009175/0.8082, allocations: 7.135 MB / 0.6463 GB, free: 157.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/0.8096, allocations: 0.646 MB / 0.6469 GB, free: 157.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000379/0.81, allocations: 43.69 kB / 0.6469 GB, free: 157.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.811, allocations: 140.2 kB / 0.6471 GB, free: 157 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003123/0.8114, allocations: 133 kB / 0.6472 GB, free: 157 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/0.8115, allocations: 65.77 kB / 0.6473 GB, free: 157 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002157/0.8137, allocations: 1.654 MB / 0.6489 GB, free: 156.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.71e-07/0.8137, allocations: 0 / 0.6489 GB, free: 156.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004031/0.8177, allocations: 0.9471 MB / 0.6498 GB, free: 156.3 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.009272/0.827, allocations: 7.787 MB / 0.6574 GB, free: 153.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008468/0.8355, allocations: 5.371 MB / 0.6627 GB, free: 151.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/0.8356, allocations: 1.094 kB / 0.6627 GB, free: 151.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002947/0.8385, allocations: 2.02 MB / 0.6646 GB, free: 151 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/0.8411, allocations: 349.7 kB / 0.665 GB, free: 150.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07283/0.914, allocations: 45.09 MB / 0.709 GB, free: 116.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004567/0.9186, allocations: 3.227 MB / 0.7121 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004103/0.9227, allocations: 1.974 MB / 0.7141 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002296/0.925, allocations: 1.756 MB / 0.7158 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/0.925, allocations: 0 / 0.7158 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07417/0.9992, allocations: 56.59 MB / 0.771 GB, free: 55.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000127/0.9994, allocations: 210.3 kB / 0.7712 GB, free: 55.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.049/4.048, allocations: 8.062 kB / 0.7713 GB, free: 55.2 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