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.001596/0.001596, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.002003/0.002003, allocations: 211.1 kB / 23.78 MB, free: 4.523 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.435/1.435, allocations: 207.7 MB / 234.6 MB, free: 9.777 MB / 190.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.2145/0.2145, allocations: 44.26 MB / 331.1 MB, free: 9.305 MB / 270.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.002184/0.002184, allocations: 71.89 kB / 468.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1236, allocations: 61.05 MB / 0.5169 GB, free: 7.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01413/0.1377, allocations: 10.98 MB / 0.5277 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008957/0.1467, allocations: 3.775 MB / 0.5313 GB, free: 8.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001991/0.1487, allocations: 71.75 kB / 0.5314 GB, free: 8.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003356/0.152, allocations: 1.3 MB / 0.5327 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005298/0.1573, allocations: 1.853 MB / 0.5345 GB, free: 5.105 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.1588, allocations: 491 kB / 0.535 GB, free: 4.625 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005492/0.1643, allocations: 3.665 MB / 0.5385 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2168/0.3811, allocations: 1.872 MB / 0.5404 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002341/0.3834, allocations: 1.259 MB / 0.5416 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003127/0.3866, allocations: 1.929 MB / 0.5435 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008151/0.3874, allocations: 242.7 kB / 0.5437 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002051/0.3894, allocations: 0.8554 MB / 0.5445 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001718/0.3912, allocations: 1.677 MB / 0.5462 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001914/0.3931, allocations: 1.394 MB / 0.5475 GB, free: 9.949 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008793/0.4019, allocations: 6.431 MB / 0.5538 GB, free: 8.855 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.4019, allocations: 0.5156 kB / 0.5538 GB, free: 8.855 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4019, allocations: 2.469 kB / 0.5538 GB, free: 8.855 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002605/0.4021, allocations: 1.188 kB / 0.5538 GB, free: 8.855 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.01189/0.414, allocations: 4.305 MB / 0.558 GB, free: 6.645 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.4141, allocations: 9.281 kB / 0.558 GB, free: 6.645 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002075/0.4143, allocations: 95.34 kB / 0.5581 GB, free: 6.637 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002016/0.4163, allocations: 0.7264 MB / 0.5588 GB, free: 6.324 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01129/0.4276, allocations: 3.107 MB / 0.5619 GB, free: 5.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006035/0.4336, allocations: 2.334 MB / 0.5641 GB, free: 4.988 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001977/0.4338, allocations: 193.2 kB / 0.5643 GB, free: 4.941 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001324/0.4351, allocations: 262.7 kB / 0.5646 GB, free: 4.891 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02056/0.4557, allocations: 10.69 MB / 0.575 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001319/0.4558, allocations: 31.91 kB / 0.5751 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009277/0.4568, allocations: 120.8 kB / 0.5752 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004877/0.4616, allocations: 2.642 MB / 0.5778 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02162/0.4833, allocations: 10.02 MB / 0.5875 GB, free: 7.969 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05874/0.542, allocations: 33.46 MB / 0.6202 GB, free: 6.227 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009754/0.5518, allocations: 4.044 MB / 0.6242 GB, free: 2.203 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003355/0.5551, allocations: 2.115 MB / 0.6262 GB, free: 88 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/0.5563, allocations: 0.5464 MB / 0.6268 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.5564, allocations: 48.56 kB / 0.6268 GB, free: 15.49 MB / 478.1 MB Notification: Performance of pre-optimization done (n=229): time 6.111e-06/0.5564, allocations: 0 / 0.6268 GB, free: 15.49 MB / 478.1 MB Notification: Performance of matching and sorting (n=235): time 0.03694/0.5933, allocations: 14.04 MB / 0.6405 GB, free: 1.473 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.5934, allocations: 69.41 kB / 0.6406 GB, free: 1.391 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005117/0.5985, allocations: 2.703 MB / 0.6432 GB, free: 14.67 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004213/0.5989, allocations: 53.7 kB / 0.6433 GB, free: 14.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002487/0.6014, allocations: 2.812 MB / 0.646 GB, free: 11.81 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001449/0.6029, allocations: 0.8917 MB / 0.6469 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00261/0.6055, allocations: 1.056 MB / 0.6479 GB, free: 9.867 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.6056, allocations: 307.8 kB / 0.6482 GB, free: 9.566 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004039/0.6096, allocations: 2.208 MB / 0.6504 GB, free: 7.352 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006849/0.6165, allocations: 5.127 MB / 0.6554 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01207/0.6286, allocations: 8.051 MB / 0.6632 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001228/0.6287, allocations: 28 kB / 0.6633 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01902/0.6477, allocations: 7.934 MB / 0.671 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001795/0.6479, allocations: 51.98 kB / 0.6711 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000224/0.6481, allocations: 102.9 kB / 0.6712 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002635/0.6507, allocations: 0.8014 MB / 0.6719 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004596/0.6553, allocations: 1.201 MB / 0.6731 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006557/0.6619, allocations: 4.378 MB / 0.6774 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004231/0.6661, allocations: 294.1 kB / 0.6777 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001115/0.6672, allocations: 304.1 kB / 0.678 GB, free: 8.57 MB / 0.5137 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.00563/0.6729, allocations: 2.063 MB / 0.68 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007975/0.6737, allocations: 282.1 kB / 0.6802 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/0.6837, allocations: 4.718 MB / 0.6849 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.718e-05/0.6838, allocations: 47.81 kB / 0.6849 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-05/0.6838, allocations: 3.938 kB / 0.6849 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.919e-05/0.6838, allocations: 11.97 kB / 0.6849 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02258/0.7064, allocations: 10.22 MB / 0.6949 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-05/0.7064, allocations: 4 kB / 0.6949 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001775/0.7082, allocations: 363.4 kB / 0.6952 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00217/0.7104, allocations: 0.6563 MB / 0.6959 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003735/0.7108, allocations: 44.88 kB / 0.6959 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005405/0.7162, allocations: 3.771 MB / 0.6996 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/0.7162, allocations: 15.92 kB / 0.6996 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/0.7276, allocations: 7.154 MB / 0.7066 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001777/0.7294, allocations: 0.5919 MB / 0.7072 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004556/0.7298, allocations: 36 kB / 0.7072 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/0.7311, allocations: 146.4 kB / 0.7074 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003766/0.7315, allocations: 140.8 kB / 0.7075 GB, free: 9.953 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000195/0.7317, allocations: 67.98 kB / 0.7076 GB, free: 9.887 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002848/0.7345, allocations: 1.652 MB / 0.7092 GB, free: 8.227 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.7345, allocations: 64 / 0.7092 GB, free: 8.227 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004312/0.7388, allocations: 0.9478 MB / 0.7101 GB, free: 7.281 MB / 0.545 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.01159/0.7504, allocations: 7.794 MB / 0.7177 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008808/0.7592, allocations: 5.177 MB / 0.7228 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/0.7593, allocations: 0 / 0.7228 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003041/0.7623, allocations: 1.871 MB / 0.7246 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/0.7646, allocations: 355.2 kB / 0.7249 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07163/0.8362, allocations: 40.41 MB / 0.7644 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004464/0.8406, allocations: 2.689 MB / 0.767 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004751/0.8454, allocations: 1.969 MB / 0.7689 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00372/0.8491, allocations: 1.761 MB / 0.7707 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of SimCode: time 1.102e-06/0.8491, allocations: 0 / 0.7707 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3218/1.171, allocations: 57.31 MB / 0.8266 GB, free: 193.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.91/26.08, allocations: 8.062 kB / 0.8266 GB, free: 193.1 MB / 0.6075 GB " [Timeout remaining time 634] (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: 29.762009947095066]