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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 118.9 kB / 17.83 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 203 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 207.6 MB / 231.2 MB, free: 4.102 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3144/0.3144, allocations: 44.23 MB / 327.3 MB, free: 7.117 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 75.91 kB / 462.9 MB, free: 1.027 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.253, allocations: 61 MB / 0.5116 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01114/0.2642, allocations: 12.74 MB / 0.5241 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008942/0.2731, allocations: 3.984 MB / 0.528 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002432/0.2755, allocations: 71.75 kB / 0.528 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003522/0.2791, allocations: 1.35 MB / 0.5294 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005031/0.2841, allocations: 1.831 MB / 0.5312 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.2856, allocations: 495 kB / 0.5316 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005627/0.2912, allocations: 3.671 MB / 0.5352 GB, free: 6.781 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002873/0.2941, allocations: 1.795 MB / 0.537 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002304/0.2964, allocations: 1.261 MB / 0.5382 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00304/0.2994, allocations: 1.927 MB / 0.5401 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008595/0.3003, allocations: 240 kB / 0.5403 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002327/0.3026, allocations: 0.9751 MB / 0.5413 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002134/0.3047, allocations: 1.671 MB / 0.5429 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002529/0.3073, allocations: 1.945 MB / 0.5448 GB, free: 12.9 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007762/0.315, allocations: 6.409 MB / 0.551 GB, free: 6.477 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.315, allocations: 0 / 0.551 GB, free: 6.477 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.315, allocations: 0 / 0.551 GB, free: 6.477 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001901/0.3152, allocations: 0 / 0.551 GB, free: 6.477 MB / 414.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.008999/0.3242, allocations: 4.378 MB / 0.5553 GB, free: 2.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.3243, allocations: 15.89 kB / 0.5553 GB, free: 2.004 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001161/0.3244, allocations: 97.19 kB / 0.5554 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001157/0.3256, allocations: 0.7327 MB / 0.5561 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01126/0.3368, allocations: 3.114 MB / 0.5592 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004976/0.3418, allocations: 2.361 MB / 0.5615 GB, free: 11.63 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/0.342, allocations: 200.9 kB / 0.5617 GB, free: 11.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000981/0.343, allocations: 255.8 kB / 0.5619 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01953/0.3625, allocations: 10.69 MB / 0.5724 GB, free: 20 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001475/0.3627, allocations: 27.81 kB / 0.5724 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009573/0.3636, allocations: 123.8 kB / 0.5725 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005122/0.3687, allocations: 2.647 MB / 0.5751 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02114/0.3899, allocations: 10.03 MB / 0.5849 GB, free: 3.172 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05782/0.4477, allocations: 35.16 MB / 0.6192 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01069/0.4584, allocations: 4.967 MB / 0.6241 GB, free: 9.926 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003638/0.462, allocations: 2.117 MB / 0.6261 GB, free: 7.809 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001999/0.464, allocations: 1.876 MB / 0.628 GB, free: 5.602 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.843e-05/0.4641, allocations: 52.5 kB / 0.628 GB, free: 5.539 MB / 494.1 MB Notification: Performance of pre-optimization done (n=229): time 7.163e-06/0.4641, allocations: 0 / 0.628 GB, free: 5.539 MB / 494.1 MB Notification: Performance of matching and sorting (n=235): time 0.03875/0.5028, allocations: 14.14 MB / 0.6418 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/0.5029, allocations: 69.41 kB / 0.6419 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005193/0.5081, allocations: 2.701 MB / 0.6445 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004992/0.5086, allocations: 53.7 kB / 0.6446 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002493/0.5111, allocations: 2.819 MB / 0.6473 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001371/0.5125, allocations: 0.899 MB / 0.6482 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2166/0.7291, allocations: 1.047 MB / 0.6492 GB, free: 122.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.735e-05/0.7292, allocations: 305.5 kB / 0.6495 GB, free: 122 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004442/0.7336, allocations: 2.209 MB / 0.6517 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006312/0.7399, allocations: 5.127 MB / 0.6567 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009544/0.7495, allocations: 8.043 MB / 0.6645 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002481/0.7497, allocations: 28.28 kB / 0.6646 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01485/0.7646, allocations: 7.946 MB / 0.6723 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001759/0.7647, allocations: 46.38 kB / 0.6724 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002183/0.7649, allocations: 102 kB / 0.6725 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002472/0.7674, allocations: 0.796 MB / 0.6732 GB, free: 108.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004062/0.7715, allocations: 1.196 MB / 0.6744 GB, free: 108.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005047/0.7765, allocations: 4.528 MB / 0.6788 GB, free: 104.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003936/0.7805, allocations: 296.8 kB / 0.6791 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009711/0.7814, allocations: 311.5 kB / 0.6794 GB, free: 103.5 MB / 0.4981 GB 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.004406/0.7858, allocations: 2.049 MB / 0.6814 GB, free: 101.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007371/0.7866, allocations: 278.8 kB / 0.6817 GB, free: 101.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007732/0.7943, allocations: 4.728 MB / 0.6863 GB, free: 96.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-05/0.7944, allocations: 36 kB / 0.6863 GB, free: 96.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/0.7944, allocations: 4 kB / 0.6863 GB, free: 96.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-05/0.7944, allocations: 15.89 kB / 0.6864 GB, free: 96.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01757/0.812, allocations: 10.58 MB / 0.6967 GB, free: 86.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.656e-05/0.812, allocations: 4.812 kB / 0.6967 GB, free: 86.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/0.8136, allocations: 360.2 kB / 0.697 GB, free: 85.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001978/0.8156, allocations: 0.6687 MB / 0.6977 GB, free: 85.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003106/0.8159, allocations: 39.36 kB / 0.6977 GB, free: 85.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003992/0.8199, allocations: 3.914 MB / 0.7016 GB, free: 81.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.862e-06/0.8199, allocations: 7.938 kB / 0.7016 GB, free: 81.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009042/0.829, allocations: 7.146 MB / 0.7085 GB, free: 74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001385/0.8303, allocations: 0.6654 MB / 0.7092 GB, free: 73.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006951/0.831, allocations: 40 kB / 0.7092 GB, free: 73.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/0.8326, allocations: 143.8 kB / 0.7094 GB, free: 73.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004023/0.833, allocations: 133 kB / 0.7095 GB, free: 73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000201/0.8332, allocations: 67.92 kB / 0.7096 GB, free: 72.94 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002549/0.8357, allocations: 1.656 MB / 0.7112 GB, free: 71.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.2e-07/0.8357, allocations: 0 / 0.7112 GB, free: 71.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005303/0.841, allocations: 0.9416 MB / 0.7121 GB, free: 70.34 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.01008/0.8511, allocations: 7.798 MB / 0.7197 GB, free: 62.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007334/0.8584, allocations: 5.172 MB / 0.7248 GB, free: 57.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/0.8584, allocations: 0 / 0.7248 GB, free: 57.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002488/0.8609, allocations: 1.879 MB / 0.7266 GB, free: 55.38 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/0.8633, allocations: 356 kB / 0.7269 GB, free: 55.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.054/0.9173, allocations: 40.29 MB / 0.7663 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004306/0.9216, allocations: 3.228 MB / 0.7694 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004285/0.9259, allocations: 1.969 MB / 0.7714 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002715/0.9286, allocations: 1.761 MB / 0.7731 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of SimCode: time 1.312e-06/0.9286, allocations: 0 / 0.7731 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1063/1.035, allocations: 55.38 MB / 0.8272 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.83/24.87, allocations: 11.84 kB / 0.8272 GB, free: 11.91 MB / 0.5606 GB " [Timeout remaining time 635] (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 --stepSize=0.000219912 --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) [Timeout 52.5] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 28.435663144977298]