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.001546/0.001546, allocations: 112.7 kB / 17.33 MB, free: 6.012 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.001809/0.001809, allocations: 193.3 kB / 18.25 MB, free: 5.105 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.348/1.348, allocations: 222.9 MB / 241.9 MB, free: 13.64 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.2002/0.2002, allocations: 44.18 MB / 336.2 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 64.19 kB / 408 MB, free: 27.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09521/0.09653, allocations: 60.83 MB / 468.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.02662/0.1232, allocations: 29.71 MB / 498.5 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01318/0.1364, allocations: 6.726 MB / 0.4934 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005266/0.1417, allocations: 115.8 kB / 0.4935 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00257/0.1443, allocations: 1.258 MB / 0.4948 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003788/0.1481, allocations: 1.635 MB / 0.4964 GB, free: 6.988 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.1493, allocations: 463.2 kB / 0.4968 GB, free: 6.535 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004352/0.1537, allocations: 3.6 MB / 0.5003 GB, free: 2.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002683/0.1564, allocations: 2.115 MB / 0.5024 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2103/0.3667, allocations: 1.195 MB / 0.5035 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003402/0.3701, allocations: 1.887 MB / 0.5054 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007924/0.3709, allocations: 236.3 kB / 0.5056 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002096/0.373, allocations: 0.9664 MB / 0.5066 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001682/0.3747, allocations: 1.611 MB / 0.5081 GB, free: 12.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001733/0.3765, allocations: 1.921 MB / 0.51 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006892/0.3834, allocations: 5.995 MB / 0.5159 GB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3834, allocations: 1.312 kB / 0.5159 GB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.3834, allocations: 0.7188 kB / 0.5159 GB, free: 11.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001693/0.3836, allocations: 3.938 kB / 0.5159 GB, free: 11.05 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.008846/0.3924, allocations: 4.167 MB / 0.5199 GB, free: 9.293 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.3925, allocations: 9.781 kB / 0.5199 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001167/0.3937, allocations: 0.7144 MB / 0.5206 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/0.4038, allocations: 3.081 MB / 0.5236 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004609/0.4084, allocations: 2.187 MB / 0.5258 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.4086, allocations: 187.6 kB / 0.526 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006074/0.4092, allocations: 248.5 kB / 0.5262 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01499/0.4242, allocations: 10.49 MB / 0.5364 GB, free: 2.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.511e-05/0.4243, allocations: 28.62 kB / 0.5365 GB, free: 2.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003671/0.4247, allocations: 114.8 kB / 0.5366 GB, free: 2.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003749/0.4284, allocations: 2.557 MB / 0.5391 GB, free: 1.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01841/0.4469, allocations: 9.912 MB / 0.5488 GB, free: 7.906 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05077/0.4977, allocations: 34.48 MB / 0.5824 GB, free: 5.145 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009838/0.5076, allocations: 5.19 MB / 0.5875 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003163/0.5108, allocations: 2.298 MB / 0.5897 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001655/0.5124, allocations: 1.879 MB / 0.5916 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.5125, allocations: 56.55 kB / 0.5916 GB, free: 11.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 5.871e-06/0.5125, allocations: 0 / 0.5916 GB, free: 11.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=235): time 0.03309/0.5456, allocations: 13.98 MB / 0.6053 GB, free: 13.16 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.5457, allocations: 73.34 kB / 0.6054 GB, free: 13.08 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004328/0.55, allocations: 2.643 MB / 0.6079 GB, free: 10.41 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002728/0.5503, allocations: 57.7 kB / 0.608 GB, free: 10.35 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001704/0.552, allocations: 2.631 MB / 0.6106 GB, free: 7.715 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001036/0.5531, allocations: 0.857 MB / 0.6114 GB, free: 6.867 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001839/0.5549, allocations: 1.035 MB / 0.6124 GB, free: 5.824 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.199e-05/0.555, allocations: 305.1 kB / 0.6127 GB, free: 5.523 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003355/0.5584, allocations: 2.196 MB / 0.6148 GB, free: 3.324 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005736/0.5641, allocations: 5.062 MB / 0.6198 GB, free: 12.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008913/0.5731, allocations: 7.961 MB / 0.6276 GB, free: 3.953 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.841e-05/0.5732, allocations: 28 kB / 0.6276 GB, free: 3.926 MB / 478.1 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01417/0.5873, allocations: 7.86 MB / 0.6353 GB, free: 12.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001213/0.5875, allocations: 48 kB / 0.6353 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001722/0.5877, allocations: 100.9 kB / 0.6354 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002472/0.5902, allocations: 0.7928 MB / 0.6362 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004378/0.5946, allocations: 1.186 MB / 0.6373 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006527/0.6011, allocations: 4.52 MB / 0.6418 GB, free: 6.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004032/0.6052, allocations: 302.5 kB / 0.642 GB, free: 5.727 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/0.6063, allocations: 300 kB / 0.6423 GB, free: 5.434 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.004526/0.6108, allocations: 2.013 MB / 0.6443 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007141/0.6115, allocations: 260.5 kB / 0.6445 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008967/0.6205, allocations: 4.726 MB / 0.6492 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.942e-05/0.6206, allocations: 47.34 kB / 0.6492 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.681e-05/0.6206, allocations: 8 kB / 0.6492 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.346e-05/0.6207, allocations: 11.91 kB / 0.6492 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01955/0.6402, allocations: 10.54 MB / 0.6595 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.977e-05/0.6403, allocations: 4 kB / 0.6595 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/0.6418, allocations: 366.4 kB / 0.6599 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001997/0.6439, allocations: 0.6604 MB / 0.6605 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001944/0.6441, allocations: 43.98 kB / 0.6606 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0051/0.6492, allocations: 3.897 MB / 0.6644 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.6492, allocations: 12.06 kB / 0.6644 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/0.6599, allocations: 7.138 MB / 0.6713 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007359/0.6607, allocations: 309.6 kB / 0.6716 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005784/0.6613, allocations: 50.83 kB / 0.6717 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/0.6626, allocations: 139.9 kB / 0.6718 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003651/0.663, allocations: 133 kB / 0.6719 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001734/0.6632, allocations: 67.94 kB / 0.672 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002951/0.6661, allocations: 1.628 MB / 0.6736 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6661, allocations: 0 / 0.6736 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003857/0.67, allocations: 0.9331 MB / 0.6745 GB, free: 4.227 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.01044/0.6804, allocations: 7.779 MB / 0.6821 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01316/0.6936, allocations: 8.667 MB / 0.6906 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/0.6936, allocations: 0 / 0.6906 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002542/0.6962, allocations: 2.024 MB / 0.6926 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/0.6983, allocations: 366.8 kB / 0.6929 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2448/0.9431, allocations: 44.29 MB / 0.7361 GB, free: 191.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002896/0.9461, allocations: 3.161 MB / 0.7392 GB, free: 190.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003489/0.9496, allocations: 1.961 MB / 0.7411 GB, free: 189 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001704/0.9513, allocations: 1.706 MB / 0.7428 GB, free: 187.2 MB / 0.545 GB Notification: Performance of SimCode: time 7.61e-07/0.9513, allocations: 0 / 0.7428 GB, free: 187.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07241/1.024, allocations: 57.21 MB / 0.7987 GB, free: 130.4 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002688/1.024, allocations: 210.5 kB / 0.7989 GB, free: 130.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.448/4.472, allocations: 0 / 0.7989 GB, free: 130.2 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