Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001368/0.001368, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00164/0.00164, allocations: 214.9 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.605/1.605, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2907/0.2907, allocations: 46.92 MB / 360.8 MB, free: 4.184 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002527/0.002527, allocations: 79.88 kB / 0.4962 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4304/0.4329, allocations: 66.08 MB / 0.5607 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01726/0.4502, allocations: 12.35 MB / 0.5728 GB, free: 7.887 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01103/0.4612, allocations: 3.98 MB / 0.5767 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00281/0.464, allocations: 71.75 kB / 0.5768 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003654/0.4677, allocations: 1.343 MB / 0.5781 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005268/0.4729, allocations: 1.774 MB / 0.5798 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.4746, allocations: 499 kB / 0.5803 GB, free: 216 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006098/0.4807, allocations: 3.608 MB / 0.5838 GB, free: 12.6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003454/0.4841, allocations: 1.838 MB / 0.5856 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002839/0.487, allocations: 1.21 MB / 0.5868 GB, free: 9.508 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003594/0.4906, allocations: 1.888 MB / 0.5886 GB, free: 7.613 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009555/0.4915, allocations: 240 kB / 0.5888 GB, free: 7.379 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002891/0.4944, allocations: 0.9672 MB / 0.5898 GB, free: 6.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002551/0.4969, allocations: 1.616 MB / 0.5914 GB, free: 4.789 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004098/0.501, allocations: 1.878 MB / 0.5932 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01054/0.5116, allocations: 6.212 MB / 0.5993 GB, free: 12.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.421e-05/0.5116, allocations: 0 / 0.5993 GB, free: 12.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5116, allocations: 0 / 0.5993 GB, free: 12.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003208/0.5119, allocations: 0 / 0.5993 GB, free: 12.66 MB / 446.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.01325/0.5252, allocations: 4.186 MB / 0.6034 GB, free: 8.418 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.321e-05/0.5252, allocations: 12.03 kB / 0.6034 GB, free: 8.406 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002438/0.5277, allocations: 0.7122 MB / 0.6041 GB, free: 7.684 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/0.5391, allocations: 3.106 MB / 0.6071 GB, free: 4.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006341/0.5455, allocations: 2.042 MB / 0.6091 GB, free: 2.496 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002673/0.5457, allocations: 185 kB / 0.6093 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001546/0.5473, allocations: 251.7 kB / 0.6095 GB, free: 2.066 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02447/0.5717, allocations: 10.48 MB / 0.6197 GB, free: 7.145 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001674/0.5719, allocations: 23.81 kB / 0.6198 GB, free: 7.121 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001219/0.5731, allocations: 119.8 kB / 0.6199 GB, free: 7.004 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005385/0.5785, allocations: 2.549 MB / 0.6224 GB, free: 4.453 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02551/0.604, allocations: 9.926 MB / 0.6321 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07003/0.6741, allocations: 34.2 MB / 0.6655 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01125/0.6853, allocations: 4.052 MB / 0.6694 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004344/0.6896, allocations: 2.111 MB / 0.6715 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001741/0.6914, allocations: 0.5634 MB / 0.672 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.929e-05/0.6915, allocations: 52.5 kB / 0.6721 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 7.805e-06/0.6915, allocations: 4 kB / 0.6721 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.04357/0.7351, allocations: 13.9 MB / 0.6857 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.902e-05/0.7351, allocations: 73.41 kB / 0.6857 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00575/0.7409, allocations: 2.64 MB / 0.6883 GB, free: 8 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005261/0.7414, allocations: 53.7 kB / 0.6884 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002653/0.7441, allocations: 2.741 MB / 0.691 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001485/0.7455, allocations: 0.8874 MB / 0.6919 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002878/0.7484, allocations: 1.041 MB / 0.6929 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.7486, allocations: 305.1 kB / 0.6932 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004399/0.753, allocations: 2.2 MB / 0.6954 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008179/0.7612, allocations: 5.059 MB / 0.7003 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01339/0.7746, allocations: 7.957 MB / 0.7081 GB, free: 8.895 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001305/0.7747, allocations: 32 kB / 0.7081 GB, free: 8.863 MB / 0.545 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.02032/0.795, allocations: 7.869 MB / 0.7158 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001789/0.7952, allocations: 54.28 kB / 0.7158 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002283/0.7954, allocations: 96 kB / 0.7159 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002556/0.798, allocations: 0.801 MB / 0.7167 GB, free: 44 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00444/0.8024, allocations: 1.174 MB / 0.7179 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006651/0.8091, allocations: 4.426 MB / 0.7222 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003552/0.8126, allocations: 291.8 kB / 0.7225 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000935/0.8135, allocations: 300 kB / 0.7227 GB, free: 9.754 MB / 0.5606 GB 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.004457/0.818, allocations: 2.022 MB / 0.7247 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007231/0.8187, allocations: 274.1 kB / 0.725 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009749/0.8285, allocations: 4.706 MB / 0.7296 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.115e-05/0.8286, allocations: 55.86 kB / 0.7296 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.201e-05/0.8286, allocations: 4 kB / 0.7296 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.091e-05/0.8286, allocations: 7.969 kB / 0.7296 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3563/1.185, allocations: 10.48 MB / 0.7399 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/1.185, allocations: 7.719 kB / 0.7399 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/1.186, allocations: 357.5 kB / 0.7402 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00178/1.188, allocations: 0.6575 MB / 0.7409 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002199/1.188, allocations: 42.48 kB / 0.7409 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003942/1.192, allocations: 3.814 MB / 0.7446 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/1.192, allocations: 14.06 kB / 0.7446 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009087/1.201, allocations: 7.139 MB / 0.7516 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007447/1.202, allocations: 242.3 kB / 0.7518 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004599/1.203, allocations: 49.59 kB / 0.7519 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/1.204, allocations: 137.8 kB / 0.752 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003032/1.204, allocations: 137.9 kB / 0.7521 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/1.204, allocations: 63.89 kB / 0.7522 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002155/1.206, allocations: 1.621 MB / 0.7538 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.206, allocations: 0 / 0.7538 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004377/1.211, allocations: 0.909 MB / 0.7547 GB, free: 144 MB / 0.5606 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.009429/1.22, allocations: 7.795 MB / 0.7623 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00749/1.228, allocations: 5.14 MB / 0.7673 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/1.228, allocations: 4 kB / 0.7673 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002654/1.23, allocations: 1.877 MB / 0.7692 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/1.233, allocations: 359.5 kB / 0.7695 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05292/1.286, allocations: 39.78 MB / 0.8083 GB, free: 85.64 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003085/1.289, allocations: 3.175 MB / 0.8114 GB, free: 82.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003518/1.292, allocations: 1.953 MB / 0.8133 GB, free: 80.47 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002057/1.294, allocations: 1.706 MB / 0.815 GB, free: 78.76 MB / 0.5606 GB Notification: Performance of SimCode: time 1.924e-06/1.295, allocations: 0 / 0.815 GB, free: 78.76 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1022/1.397, allocations: 59.17 MB / 0.8728 GB, free: 19.83 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.29/25.68, allocations: 4.062 kB / 0.8728 GB, free: 19.82 MB / 0.5606 GB " [Timeout remaining time 634] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 29.331342140212655]