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.0008383/0.0008383, allocations: 95.92 kB / 17.35 MB, free: 6.344 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.0009035/0.0009035, allocations: 168.8 kB / 18.25 MB, free: 5.508 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.255/1.255, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1828/0.1828, allocations: 44.25 MB / 337.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002936/0.0002936, allocations: 9.531 kB / 410.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1035, allocations: 61.93 MB / 472.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.0268/0.1303, allocations: 28.77 MB / 0.4894 GB, free: 332 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01518/0.1455, allocations: 6.773 MB / 0.496 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004125/0.1497, allocations: 119.7 kB / 0.4961 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.151, allocations: 438.1 kB / 0.4965 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003931/0.1549, allocations: 1.647 MB / 0.4981 GB, free: 7.328 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.156, allocations: 455.3 kB / 0.4986 GB, free: 6.883 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005307/0.1613, allocations: 5.012 MB / 0.5035 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2121/0.3735, allocations: 2.425 MB / 0.5058 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002365/0.3759, allocations: 0.9606 MB / 0.5068 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002962/0.3789, allocations: 1.698 MB / 0.5084 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008222/0.3797, allocations: 130.8 kB / 0.5086 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002231/0.382, allocations: 0.9129 MB / 0.5095 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002016/0.384, allocations: 1.506 MB / 0.5109 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002654/0.3867, allocations: 1.808 MB / 0.5127 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005678/0.3924, allocations: 5.78 MB / 0.5183 GB, free: 9.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3924, allocations: 1 kB / 0.5183 GB, free: 9.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3924, allocations: 0 / 0.5183 GB, free: 9.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001294/0.3925, allocations: 0 / 0.5183 GB, free: 9.445 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.006152/0.3987, allocations: 3.415 MB / 0.5217 GB, free: 7.707 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3987, allocations: 9.531 kB / 0.5217 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009727/0.3997, allocations: 0.7101 MB / 0.5224 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01013/0.4098, allocations: 3.172 MB / 0.5255 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004199/0.4141, allocations: 2.194 MB / 0.5276 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.4142, allocations: 192.1 kB / 0.5278 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006315/0.4149, allocations: 248.8 kB / 0.528 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01356/0.4284, allocations: 10.49 MB / 0.5383 GB, free: 2.066 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.54e-05/0.4286, allocations: 31.16 kB / 0.5383 GB, free: 2.059 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000478/0.429, allocations: 119.6 kB / 0.5384 GB, free: 2.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003615/0.4327, allocations: 2.553 MB / 0.5409 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0183/0.451, allocations: 9.931 MB / 0.5506 GB, free: 7.828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05433/0.5054, allocations: 34.47 MB / 0.5843 GB, free: 5.043 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/0.5158, allocations: 5.187 MB / 0.5894 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003486/0.5193, allocations: 2.283 MB / 0.5916 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001839/0.5212, allocations: 1.882 MB / 0.5934 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.914e-05/0.5213, allocations: 57.03 kB / 0.5935 GB, free: 11.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 6.452e-06/0.5213, allocations: 0 / 0.5935 GB, free: 11.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=235): time 0.03774/0.559, allocations: 13.96 MB / 0.6071 GB, free: 13.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.5592, allocations: 77.34 kB / 0.6072 GB, free: 13.01 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005572/0.5647, allocations: 2.64 MB / 0.6098 GB, free: 10.35 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005408/0.5653, allocations: 59.47 kB / 0.6098 GB, free: 10.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002182/0.5675, allocations: 2.635 MB / 0.6124 GB, free: 7.645 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001447/0.569, allocations: 0.8547 MB / 0.6132 GB, free: 6.797 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001278/0.5703, allocations: 457.6 kB / 0.6137 GB, free: 6.344 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.5704, allocations: 301.1 kB / 0.6139 GB, free: 6.047 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004074/0.5745, allocations: 2.193 MB / 0.6161 GB, free: 3.848 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005788/0.5803, allocations: 5.069 MB / 0.621 GB, free: 13.42 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009683/0.59, allocations: 7.953 MB / 0.6288 GB, free: 4.477 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.945e-05/0.5901, allocations: 28 kB / 0.6288 GB, free: 4.449 MB / 478.1 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01575/0.6059, allocations: 7.866 MB / 0.6365 GB, free: 13.17 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001539/0.6061, allocations: 48.19 kB / 0.6366 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002513/0.6063, allocations: 104 kB / 0.6367 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002599/0.6089, allocations: 0.785 MB / 0.6374 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004373/0.6133, allocations: 1.184 MB / 0.6386 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005768/0.6191, allocations: 4.209 MB / 0.6427 GB, free: 6.824 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003787/0.6229, allocations: 295.7 kB / 0.643 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009793/0.6239, allocations: 296 kB / 0.6433 GB, free: 6.246 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.004774/0.6287, allocations: 2.024 MB / 0.6452 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006006/0.6293, allocations: 268.5 kB / 0.6455 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008481/0.6378, allocations: 4.718 MB / 0.6501 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.455e-05/0.6379, allocations: 51.11 kB / 0.6501 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.6379, allocations: 0 / 0.6501 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/0.638, allocations: 11.97 kB / 0.6501 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01938/0.6573, allocations: 10.54 MB / 0.6604 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-05/0.6574, allocations: 12 kB / 0.6605 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001755/0.6592, allocations: 363.4 kB / 0.6608 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002209/0.6614, allocations: 0.6527 MB / 0.6614 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003602/0.6618, allocations: 47.92 kB / 0.6615 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004856/0.6667, allocations: 3.651 MB / 0.6651 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.889e-06/0.6667, allocations: 16.38 kB / 0.6651 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01141/0.6781, allocations: 7.131 MB / 0.672 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008606/0.679, allocations: 317.6 kB / 0.6723 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007388/0.6798, allocations: 43.98 kB / 0.6724 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/0.6814, allocations: 143.8 kB / 0.6725 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004158/0.6819, allocations: 136.1 kB / 0.6726 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002009/0.6821, allocations: 63.98 kB / 0.6727 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003208/0.6853, allocations: 1.628 MB / 0.6743 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.11e-07/0.6853, allocations: 0 / 0.6743 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004915/0.6902, allocations: 0.9335 MB / 0.6752 GB, free: 5.105 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.01223/0.7025, allocations: 7.78 MB / 0.6828 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008111/0.7106, allocations: 5.337 MB / 0.688 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.7107, allocations: 0 / 0.688 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002714/0.7134, allocations: 2.023 MB / 0.69 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00446/0.7179, allocations: 357.8 kB / 0.6903 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2795/0.9974, allocations: 44.34 MB / 0.7336 GB, free: 160.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002884/1, allocations: 3.165 MB / 0.7367 GB, free: 159.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003719/1.004, allocations: 1.953 MB / 0.7386 GB, free: 159.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001958/1.006, allocations: 1.715 MB / 0.7403 GB, free: 158.7 MB / 0.545 GB Notification: Performance of SimCode: time 9.02e-07/1.006, allocations: 0 / 0.7403 GB, free: 158.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07179/1.078, allocations: 55.44 MB / 0.7945 GB, free: 111.5 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001659/1.078, allocations: 217.3 kB / 0.7947 GB, free: 111.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.949/4.027, allocations: 4 kB / 0.7947 GB, free: 111.3 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