Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001416/0.001416, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.001535/0.001535, allocations: 215.1 kB / 21.45 MB, free: 1.641 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.523/1.523, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2476/0.2476, allocations: 46.92 MB / 357.8 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 63.91 kB / 0.4916 GB, free: 7.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1449, allocations: 65.98 MB / 0.5561 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01608/0.161, allocations: 12.33 MB / 0.5681 GB, free: 9.438 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009282/0.1703, allocations: 3.976 MB / 0.572 GB, free: 5.445 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002699/0.173, allocations: 67.75 kB / 0.572 GB, free: 5.379 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003708/0.1767, allocations: 1.335 MB / 0.5733 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005451/0.1821, allocations: 1.767 MB / 0.5751 GB, free: 2.266 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.1842, allocations: 487 kB / 0.5755 GB, free: 1.789 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006473/0.1907, allocations: 3.618 MB / 0.5791 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003543/0.1942, allocations: 1.767 MB / 0.5808 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00267/0.1969, allocations: 1.214 MB / 0.582 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003376/0.2002, allocations: 1.892 MB / 0.5838 GB, free: 9.242 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009858/0.2012, allocations: 236 kB / 0.5841 GB, free: 9.012 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002646/0.2039, allocations: 0.975 MB / 0.585 GB, free: 8.035 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002409/0.2063, allocations: 1.608 MB / 0.5866 GB, free: 6.422 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003847/0.2101, allocations: 1.875 MB / 0.5884 GB, free: 4.535 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2877/0.4979, allocations: 6.207 MB / 0.5945 GB, free: 12.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.4979, allocations: 0 / 0.5945 GB, free: 12.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4979, allocations: 0.7812 kB / 0.5945 GB, free: 12.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002502/0.4981, allocations: 0 / 0.5945 GB, free: 12.06 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.01047/0.5086, allocations: 4.252 MB / 0.5986 GB, free: 10.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.5086, allocations: 9.891 kB / 0.5986 GB, free: 10.22 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002295/0.5089, allocations: 93.06 kB / 0.5987 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001486/0.5104, allocations: 0.7084 MB / 0.5994 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01227/0.5226, allocations: 3.111 MB / 0.6025 GB, free: 9.848 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005714/0.5283, allocations: 2.106 MB / 0.6045 GB, free: 9.348 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002395/0.5286, allocations: 186.2 kB / 0.6047 GB, free: 9.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001432/0.53, allocations: 253.5 kB / 0.6049 GB, free: 9.332 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02141/0.5514, allocations: 10.48 MB / 0.6152 GB, free: 7.121 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001353/0.5516, allocations: 23.22 kB / 0.6152 GB, free: 7.121 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007818/0.5523, allocations: 120.7 kB / 0.6153 GB, free: 7.078 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004719/0.5571, allocations: 2.552 MB / 0.6178 GB, free: 6.668 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02065/0.5777, allocations: 9.92 MB / 0.6275 GB, free: 3.336 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06278/0.6405, allocations: 34.34 MB / 0.661 GB, free: 1.609 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01685/0.6573, allocations: 4.97 MB / 0.6659 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005749/0.6631, allocations: 2.116 MB / 0.6679 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003122/0.6662, allocations: 1.88 MB / 0.6698 GB, free: 8.098 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000106/0.6663, allocations: 52.56 kB / 0.6698 GB, free: 8.035 MB / 494.1 MB Notification: Performance of pre-optimization done (n=229): time 1.224e-05/0.6663, allocations: 0 / 0.6698 GB, free: 8.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=235): time 0.06022/0.7266, allocations: 14.04 MB / 0.6835 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.7267, allocations: 87.22 kB / 0.6836 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006326/0.733, allocations: 2.639 MB / 0.6862 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005981/0.7336, allocations: 53.7 kB / 0.6862 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003436/0.737, allocations: 2.741 MB / 0.6889 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001792/0.7388, allocations: 0.8825 MB / 0.6898 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002648/0.7415, allocations: 1.045 MB / 0.6908 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.7416, allocations: 301.1 kB / 0.6911 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005764/0.7474, allocations: 2.201 MB / 0.6932 GB, free: 28 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009845/0.7572, allocations: 5.062 MB / 0.6982 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01686/0.7741, allocations: 7.961 MB / 0.706 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001358/0.7742, allocations: 32 kB / 0.706 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.02539/0.7996, allocations: 7.871 MB / 0.7137 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000134/0.7998, allocations: 49.64 kB / 0.7137 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002261/0.8, allocations: 96 kB / 0.7138 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003663/0.8036, allocations: 0.7913 MB / 0.7146 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006723/0.8104, allocations: 1.185 MB / 0.7157 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/0.8206, allocations: 4.522 MB / 0.7202 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005791/0.8264, allocations: 294.6 kB / 0.7204 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001276/0.8276, allocations: 300 kB / 0.7207 GB, free: 1.832 MB / 0.5294 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.00581/0.8334, allocations: 2.021 MB / 0.7227 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009896/0.8344, allocations: 274.1 kB / 0.723 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01353/0.848, allocations: 4.713 MB / 0.7276 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001156/0.8481, allocations: 48.33 kB / 0.7276 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.962e-05/0.8481, allocations: 7.938 kB / 0.7276 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-05/0.8482, allocations: 11.97 kB / 0.7276 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0307/0.8788, allocations: 10.49 MB / 0.7379 GB, free: 136 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.896e-05/0.8789, allocations: 8 kB / 0.7379 GB, free: 128 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002649/0.8815, allocations: 363.4 kB / 0.7382 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003301/0.8848, allocations: 0.6641 MB / 0.7389 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004389/0.8853, allocations: 44 kB / 0.7389 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008368/0.8936, allocations: 3.897 MB / 0.7427 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.08e-05/0.8937, allocations: 15.92 kB / 0.7427 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01272/0.9064, allocations: 7.142 MB / 0.7497 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008669/0.9072, allocations: 331.2 kB / 0.75 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006099/0.9079, allocations: 46.8 kB / 0.7501 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/0.9093, allocations: 135.8 kB / 0.7502 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004727/0.9098, allocations: 133 kB / 0.7503 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001939/0.91, allocations: 71.34 kB / 0.7504 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002993/0.913, allocations: 1.619 MB / 0.752 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.71e-07/0.913, allocations: 0 / 0.752 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005204/0.9182, allocations: 0.9061 MB / 0.7529 GB, free: 0.5 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.01354/0.9317, allocations: 7.795 MB / 0.7605 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009846/0.9416, allocations: 5.151 MB / 0.7655 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/0.9416, allocations: 0 / 0.7655 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003378/0.945, allocations: 1.874 MB / 0.7673 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/0.9474, allocations: 365.2 kB / 0.7677 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07213/1.02, allocations: 39.66 MB / 0.8064 GB, free: 5.277 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005119/1.025, allocations: 3.163 MB / 0.8095 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004822/1.029, allocations: 1.957 MB / 0.8114 GB, free: 120 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003384/1.033, allocations: 1.715 MB / 0.8131 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of SimCode: time 1.813e-06/1.033, allocations: 4 kB / 0.8131 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3905/1.423, allocations: 54.86 MB / 0.8667 GB, free: 237.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.92/24.34, allocations: 14.84 kB / 0.8667 GB, free: 237.1 MB / 0.6544 GB " [Timeout remaining time 635] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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.269687332969625]