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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001341, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2073/0.2073, allocations: 44.17 MB / 336.6 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 68.61 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1021, allocations: 60.82 MB / 469.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01279/0.1149, allocations: 12.32 MB / 481.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007984/0.1229, allocations: 3.924 MB / 485.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.1246, allocations: 59.88 kB / 485.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002752/0.1274, allocations: 1.323 MB / 487 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004013/0.1315, allocations: 1.759 MB / 488.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.1327, allocations: 487 kB / 489.2 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004267/0.137, allocations: 3.581 MB / 492.8 MB, free: 6.758 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002885/0.1399, allocations: 2.029 MB / 494.8 MB, free: 4.688 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002204/0.1422, allocations: 1.191 MB / 496 MB, free: 3.492 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002888/0.1451, allocations: 1.717 MB / 497.7 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008883/0.146, allocations: 236 kB / 498 MB, free: 1.539 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002461/0.1484, allocations: 0.9594 MB / 498.9 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002089/0.1506, allocations: 1.589 MB / 0.4888 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00366/0.1542, allocations: 1.906 MB / 0.4906 GB, free: 13.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006233/0.1605, allocations: 5.953 MB / 0.4965 GB, free: 7.094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.1605, allocations: 0 / 0.4965 GB, free: 7.094 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1605, allocations: 0 / 0.4965 GB, free: 7.094 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000129/0.1607, allocations: 0 / 0.4965 GB, free: 7.094 MB / 382.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.006963/0.1676, allocations: 4.179 MB / 0.5005 GB, free: 2.848 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1677, allocations: 12.03 kB / 0.5005 GB, free: 2.836 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007797/0.1685, allocations: 0.7083 MB / 0.5012 GB, free: 2.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.197/0.3655, allocations: 3.075 MB / 0.5042 GB, free: 46.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004478/0.37, allocations: 2.196 MB / 0.5064 GB, free: 45.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001708/0.3702, allocations: 188.2 kB / 0.5066 GB, free: 45.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008594/0.3711, allocations: 241.8 kB / 0.5068 GB, free: 45.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01817/0.3893, allocations: 10.48 MB / 0.517 GB, free: 41.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-05/0.3894, allocations: 34.75 kB / 0.5171 GB, free: 41.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003669/0.3898, allocations: 114.4 kB / 0.5172 GB, free: 41.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004143/0.3939, allocations: 2.556 MB / 0.5197 GB, free: 40.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01579/0.4098, allocations: 9.919 MB / 0.5294 GB, free: 33.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03958/0.4494, allocations: 34.48 MB / 0.563 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009791/0.4592, allocations: 5.181 MB / 0.5681 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003148/0.4624, allocations: 2.295 MB / 0.5703 GB, free: 6.223 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001629/0.4641, allocations: 1.88 MB / 0.5722 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001161/0.4642, allocations: 54.14 kB / 0.5722 GB, free: 3.953 MB / 398.1 MB Notification: Performance of pre-optimization done (n=229): time 4.909e-06/0.4642, allocations: 0 / 0.5722 GB, free: 3.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=235): time 0.03176/0.496, allocations: 13.99 MB / 0.5859 GB, free: 5.902 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.496, allocations: 69.41 kB / 0.5859 GB, free: 5.824 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003329/0.4994, allocations: 2.647 MB / 0.5885 GB, free: 3.156 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003349/0.4997, allocations: 61.69 kB / 0.5886 GB, free: 3.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001682/0.5014, allocations: 2.628 MB / 0.5912 GB, free: 432 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001005/0.5024, allocations: 0.8479 MB / 0.592 GB, free: 15.56 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001342/0.5038, allocations: 1.036 MB / 0.593 GB, free: 14.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.5039, allocations: 317 kB / 0.5933 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003047/0.507, allocations: 2.196 MB / 0.5954 GB, free: 12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005093/0.5121, allocations: 5.055 MB / 0.6004 GB, free: 5.539 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/0.5222, allocations: 7.965 MB / 0.6082 GB, free: 12.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.904e-05/0.5224, allocations: 28 kB / 0.6082 GB, free: 12.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01361/0.536, allocations: 7.87 MB / 0.6159 GB, free: 4.258 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.278e-05/0.5361, allocations: 48 kB / 0.6159 GB, free: 4.211 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.475e-05/0.5362, allocations: 100 kB / 0.616 GB, free: 4.113 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00226/0.5384, allocations: 0.7932 MB / 0.6168 GB, free: 3.316 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003611/0.5421, allocations: 1.181 MB / 0.6179 GB, free: 2.133 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005589/0.5477, allocations: 4.512 MB / 0.6223 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003088/0.5508, allocations: 295.8 kB / 0.6226 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006081/0.5514, allocations: 300 kB / 0.6229 GB, free: 12.91 MB / 462.1 MB 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.003083/0.5545, allocations: 2.008 MB / 0.6249 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004938/0.555, allocations: 272.6 kB / 0.6251 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007736/0.5627, allocations: 4.729 MB / 0.6298 GB, free: 5.863 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.033e-05/0.5628, allocations: 43.98 kB / 0.6298 GB, free: 5.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.5628, allocations: 7.938 kB / 0.6298 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.837e-05/0.5629, allocations: 11.97 kB / 0.6298 GB, free: 5.801 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01744/0.5803, allocations: 10.52 MB / 0.6401 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.717e-05/0.5803, allocations: 8.125 kB / 0.6401 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/0.5819, allocations: 367.4 kB / 0.6404 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002082/0.584, allocations: 0.6522 MB / 0.6411 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002359/0.5843, allocations: 51.97 kB / 0.6411 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005061/0.5893, allocations: 3.902 MB / 0.6449 GB, free: 6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.348e-06/0.5894, allocations: 11.94 kB / 0.645 GB, free: 5.988 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01035/0.5997, allocations: 7.138 MB / 0.6519 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005992/0.6003, allocations: 317.5 kB / 0.6522 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004994/0.6009, allocations: 43.89 kB / 0.6523 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/0.6022, allocations: 139.8 kB / 0.6524 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003437/0.6026, allocations: 133 kB / 0.6525 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/0.6028, allocations: 63.98 kB / 0.6526 GB, free: 14.04 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002513/0.6053, allocations: 1.624 MB / 0.6542 GB, free: 12.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6053, allocations: 0 / 0.6542 GB, free: 12.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00363/0.6089, allocations: 0.9361 MB / 0.6551 GB, free: 11.47 MB / 494.1 MB 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.01051/0.6194, allocations: 7.791 MB / 0.6627 GB, free: 3.559 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01282/0.6323, allocations: 8.659 MB / 0.6712 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/0.6323, allocations: 8.062 kB / 0.6712 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002848/0.6352, allocations: 2.015 MB / 0.6731 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002256/0.6375, allocations: 367.2 kB / 0.6735 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2354/0.8729, allocations: 42.35 MB / 0.7148 GB, free: 161.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003353/0.8763, allocations: 3.169 MB / 0.7179 GB, free: 160.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00402/0.8803, allocations: 1.959 MB / 0.7199 GB, free: 160.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002008/0.8824, allocations: 1.707 MB / 0.7215 GB, free: 159 MB / 0.5137 GB Notification: Performance of SimCode: time 8.42e-07/0.8824, allocations: 0 / 0.7215 GB, free: 159 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07427/0.9567, allocations: 57.33 MB / 0.7775 GB, free: 108.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.7, allocations: 13.67 kB / 0.7775 GB, free: 108.6 MB / 0.5137 GB (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 --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) 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) Reference file matches