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.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.001695/0.001695, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002061/0.002061, allocations: 214.1 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2362/0.2362, allocations: 44.94 MB / 359.6 MB, free: 6.156 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002043/0.002043, allocations: 63.91 kB / 0.4938 GB, free: 10.56 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3249, allocations: 65.47 MB / 0.5577 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01459/0.3395, allocations: 10.65 MB / 0.5681 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009652/0.3491, allocations: 3.736 MB / 0.5718 GB, free: 9.098 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002215/0.3513, allocations: 67.75 kB / 0.5718 GB, free: 9.031 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003358/0.3547, allocations: 1.304 MB / 0.5731 GB, free: 7.723 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005338/0.36, allocations: 1.779 MB / 0.5749 GB, free: 5.938 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.3617, allocations: 495 kB / 0.5753 GB, free: 5.453 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006124/0.3678, allocations: 3.61 MB / 0.5788 GB, free: 1.836 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003662/0.3714, allocations: 1.832 MB / 0.5806 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002703/0.3741, allocations: 1.211 MB / 0.5818 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003689/0.3778, allocations: 1.896 MB / 0.5837 GB, free: 12.85 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001089/0.3789, allocations: 236 kB / 0.5839 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002614/0.3815, allocations: 0.8463 MB / 0.5847 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002679/0.3842, allocations: 1.608 MB / 0.5863 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003505/0.3877, allocations: 1.342 MB / 0.5876 GB, free: 8.805 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.3988, allocations: 6.235 MB / 0.5937 GB, free: 2.543 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.3988, allocations: 4 kB / 0.5937 GB, free: 2.539 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.3988, allocations: 0 / 0.5937 GB, free: 2.539 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002983/0.3991, allocations: 0 / 0.5937 GB, free: 2.539 MB / 430.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.01263/0.4117, allocations: 4.18 MB / 0.5978 GB, free: 14.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.4118, allocations: 12.03 kB / 0.5978 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000185/0.412, allocations: 93.03 kB / 0.5979 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001976/0.414, allocations: 0.7122 MB / 0.5986 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01127/0.4252, allocations: 3.106 MB / 0.6016 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005871/0.4311, allocations: 2.058 MB / 0.6036 GB, free: 8.273 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002578/0.4314, allocations: 196.8 kB / 0.6038 GB, free: 8.078 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001182/0.4325, allocations: 255.8 kB / 0.6041 GB, free: 7.828 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02003/0.4526, allocations: 10.47 MB / 0.6143 GB, free: 12.92 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001193/0.4527, allocations: 23.81 kB / 0.6143 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007899/0.4535, allocations: 119.8 kB / 0.6144 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004811/0.4583, allocations: 2.553 MB / 0.6169 GB, free: 10.22 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02143/0.4797, allocations: 9.923 MB / 0.6266 GB, free: 296 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06019/0.5399, allocations: 32.67 MB / 0.6585 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01017/0.5501, allocations: 4.03 MB / 0.6624 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003466/0.5536, allocations: 2.118 MB / 0.6645 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/0.5547, allocations: 0.5518 MB / 0.665 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.564e-05/0.5548, allocations: 52.72 kB / 0.6651 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 5.78e-06/0.5548, allocations: 0 / 0.6651 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03357/0.5884, allocations: 13.96 MB / 0.6787 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.46e-05/0.5885, allocations: 69.41 kB / 0.6788 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004654/0.5931, allocations: 2.64 MB / 0.6814 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004443/0.5936, allocations: 57.7 kB / 0.6814 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002681/0.5962, allocations: 2.734 MB / 0.6841 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001354/0.5976, allocations: 0.8913 MB / 0.685 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0018/0.5994, allocations: 1.041 MB / 0.686 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.5996, allocations: 305.1 kB / 0.6863 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003671/0.6033, allocations: 2.2 MB / 0.6884 GB, free: 12 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007453/0.6107, allocations: 5.063 MB / 0.6934 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.012/0.6227, allocations: 7.957 MB / 0.7011 GB, free: 180 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.477e-05/0.6228, allocations: 28 kB / 0.7012 GB, free: 152 kB / 0.5294 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01558/0.6384, allocations: 7.873 MB / 0.7089 GB, free: 8.266 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.587e-05/0.6385, allocations: 54.28 kB / 0.7089 GB, free: 8.215 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001405/0.6386, allocations: 100.8 kB / 0.709 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002404/0.641, allocations: 0.7971 MB / 0.7098 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004161/0.6452, allocations: 1.177 MB / 0.7109 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006737/0.6519, allocations: 4.385 MB / 0.7152 GB, free: 1.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004281/0.6562, allocations: 295.8 kB / 0.7155 GB, free: 1.355 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009452/0.6571, allocations: 300 kB / 0.7158 GB, free: 1.062 MB / 0.545 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.005188/0.6623, allocations: 2.012 MB / 0.7177 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007646/0.6631, allocations: 274.1 kB / 0.718 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009669/0.6728, allocations: 4.717 MB / 0.7226 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-05/0.6728, allocations: 43.98 kB / 0.7227 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/0.6729, allocations: 7.938 kB / 0.7227 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.463e-05/0.6729, allocations: 7.969 kB / 0.7227 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3428/1.016, allocations: 10.14 MB / 0.7326 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.54e-05/1.016, allocations: 10.28 kB / 0.7326 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002343/1.018, allocations: 365 kB / 0.7329 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002738/1.021, allocations: 0.6508 MB / 0.7336 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005508/1.021, allocations: 46.12 kB / 0.7336 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00478/1.026, allocations: 3.778 MB / 0.7373 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/1.026, allocations: 16.12 kB / 0.7373 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008605/1.035, allocations: 7.137 MB / 0.7443 GB, free: 154 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007662/1.036, allocations: 246.2 kB / 0.7445 GB, free: 154 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003295/1.036, allocations: 42.3 kB / 0.7446 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/1.037, allocations: 145 kB / 0.7447 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000348/1.037, allocations: 141.4 kB / 0.7448 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/1.038, allocations: 65.41 kB / 0.7449 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002383/1.04, allocations: 1.623 MB / 0.7465 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.04, allocations: 0 / 0.7465 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003598/1.043, allocations: 0.9062 MB / 0.7474 GB, free: 153.2 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.008265/1.052, allocations: 7.788 MB / 0.755 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006416/1.058, allocations: 5.149 MB / 0.76 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/1.058, allocations: 0 / 0.76 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001844/1.06, allocations: 1.878 MB / 0.7618 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/1.062, allocations: 371.1 kB / 0.7622 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0463/1.108, allocations: 39.77 MB / 0.801 GB, free: 96.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002432/1.111, allocations: 2.618 MB / 0.8036 GB, free: 94.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003191/1.114, allocations: 1.963 MB / 0.8055 GB, free: 92.19 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001606/1.115, allocations: 1.714 MB / 0.8072 GB, free: 90.48 MB / 0.5606 GB Notification: Performance of SimCode: time 1.182e-06/1.115, allocations: 0 / 0.8072 GB, free: 90.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1063/1.222, allocations: 56.76 MB / 0.8626 GB, free: 34.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.52/24.74, allocations: 20.83 kB / 0.8626 GB, free: 34.33 MB / 0.5606 GB " [Timeout remaining time 635] (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 --stepSize=0.000219912 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 28.428507035947405]