Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001371/0.001371, allocations: 108.8 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001666/0.001666, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2119/0.2119, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.001371, allocations: 76.47 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1161, allocations: 62.44 MB / 479.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.02728/0.1434, allocations: 29.54 MB / 0.4972 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01379/0.1573, allocations: 6.675 MB / 0.5037 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004862/0.1622, allocations: 115.8 kB / 0.5038 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2153/0.3775, allocations: 1.237 MB / 0.505 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004367/0.382, allocations: 1.617 MB / 0.5066 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.3834, allocations: 463.2 kB / 0.5071 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005171/0.3886, allocations: 3.618 MB / 0.5106 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002691/0.3913, allocations: 2.099 MB / 0.5126 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001849/0.3932, allocations: 1.195 MB / 0.5138 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002583/0.3958, allocations: 1.878 MB / 0.5156 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007126/0.3965, allocations: 235.6 kB / 0.5159 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002203/0.3987, allocations: 0.9506 MB / 0.5168 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001789/0.4005, allocations: 1.59 MB / 0.5183 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002587/0.4031, allocations: 1.898 MB / 0.5202 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008094/0.4112, allocations: 5.94 MB / 0.526 GB, free: 6.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.4113, allocations: 5.859 kB / 0.526 GB, free: 6.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4113, allocations: 0 / 0.526 GB, free: 6.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002245/0.4115, allocations: 0 / 0.526 GB, free: 6.859 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.009899/0.4214, allocations: 4.136 MB / 0.53 GB, free: 4.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/0.4215, allocations: 9.625 kB / 0.53 GB, free: 4.039 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001708/0.4232, allocations: 0.7108 MB / 0.5307 GB, free: 3.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00986/0.4331, allocations: 3.083 MB / 0.5338 GB, free: 2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004483/0.4376, allocations: 2.076 MB / 0.5358 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.4378, allocations: 200.5 kB / 0.536 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007763/0.4386, allocations: 240.6 kB / 0.5362 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01871/0.4573, allocations: 10.49 MB / 0.5464 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000155/0.4575, allocations: 29.22 kB / 0.5465 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001033/0.4585, allocations: 116.5 kB / 0.5466 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004319/0.4629, allocations: 2.553 MB / 0.5491 GB, free: 5.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02108/0.484, allocations: 9.925 MB / 0.5588 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0571/0.5411, allocations: 34.47 MB / 0.5924 GB, free: 8.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01073/0.5519, allocations: 5.178 MB / 0.5975 GB, free: 3.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003537/0.5555, allocations: 2.293 MB / 0.5997 GB, free: 1.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001888/0.5574, allocations: 1.887 MB / 0.6016 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/0.5575, allocations: 48.56 kB / 0.6016 GB, free: 14.96 MB / 462.1 MB Notification: Performance of pre-optimization done (n=229): time 5e-06/0.5575, allocations: 0 / 0.6016 GB, free: 14.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=235): time 0.03499/0.5925, allocations: 13.98 MB / 0.6153 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.425e-05/0.5926, allocations: 79.59 kB / 0.6153 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005191/0.5978, allocations: 2.635 MB / 0.6179 GB, free: 14.21 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004468/0.5983, allocations: 57.7 kB / 0.618 GB, free: 14.15 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00223/0.6005, allocations: 2.633 MB / 0.6205 GB, free: 11.51 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001293/0.6018, allocations: 0.8468 MB / 0.6214 GB, free: 10.67 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002347/0.6042, allocations: 1.036 MB / 0.6224 GB, free: 9.629 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.6043, allocations: 301.1 kB / 0.6227 GB, free: 9.332 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004055/0.6084, allocations: 2.196 MB / 0.6248 GB, free: 7.129 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007053/0.6154, allocations: 5.057 MB / 0.6298 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01047/0.6259, allocations: 7.968 MB / 0.6375 GB, free: 7.613 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001/0.6261, allocations: 28 kB / 0.6376 GB, free: 7.586 MB / 494.1 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01797/0.6441, allocations: 7.858 MB / 0.6452 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/0.6442, allocations: 48.97 kB / 0.6453 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001858/0.6444, allocations: 104 kB / 0.6454 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002473/0.6469, allocations: 0.7967 MB / 0.6462 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004358/0.6513, allocations: 1.183 MB / 0.6473 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006521/0.6579, allocations: 4.515 MB / 0.6517 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003866/0.6618, allocations: 295.7 kB / 0.652 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001035/0.6628, allocations: 302.2 kB / 0.6523 GB, free: 8.34 MB / 0.4981 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.004737/0.6676, allocations: 2.02 MB / 0.6543 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007129/0.6683, allocations: 256.6 kB / 0.6545 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00909/0.6774, allocations: 4.725 MB / 0.6591 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.68e-05/0.6775, allocations: 47.97 kB / 0.6592 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.458e-05/0.6775, allocations: 4 kB / 0.6592 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.172e-05/0.6776, allocations: 11.91 kB / 0.6592 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0216/0.6992, allocations: 10.55 MB / 0.6695 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-05/0.6992, allocations: 8.094 kB / 0.6695 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/0.7009, allocations: 363.4 kB / 0.6698 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002091/0.703, allocations: 0.6604 MB / 0.6705 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004149/0.7035, allocations: 47.98 kB / 0.6705 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005192/0.7087, allocations: 3.897 MB / 0.6743 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-05/0.7087, allocations: 11.94 kB / 0.6744 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01147/0.7202, allocations: 7.134 MB / 0.6813 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000794/0.721, allocations: 301.7 kB / 0.6816 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006791/0.7217, allocations: 46.31 kB / 0.6817 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/0.7232, allocations: 143.8 kB / 0.6818 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004237/0.7236, allocations: 129 kB / 0.6819 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002093/0.7238, allocations: 78.73 kB / 0.682 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003623/0.7275, allocations: 1.623 MB / 0.6836 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.01e-07/0.7275, allocations: 0 / 0.6836 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005092/0.7326, allocations: 0.9101 MB / 0.6845 GB, free: 6.973 MB / 0.5294 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.012/0.7446, allocations: 7.793 MB / 0.6921 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01518/0.7598, allocations: 8.66 MB / 0.7005 GB, free: 6.414 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-05/0.7599, allocations: 4 kB / 0.7005 GB, free: 6.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003079/0.763, allocations: 2.028 MB / 0.7025 GB, free: 4.371 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/0.7655, allocations: 360.5 kB / 0.7029 GB, free: 4.023 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2438/1.009, allocations: 44.23 MB / 0.746 GB, free: 176.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003051/1.012, allocations: 3.166 MB / 0.7491 GB, free: 174.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003885/1.016, allocations: 1.96 MB / 0.7511 GB, free: 172.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001813/1.018, allocations: 1.705 MB / 0.7527 GB, free: 171.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.132e-06/1.018, allocations: 0 / 0.7527 GB, free: 171.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09527/1.113, allocations: 57.12 MB / 0.8085 GB, free: 115.1 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/1.114, allocations: 210.7 kB / 0.8087 GB, free: 114.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.724/4.838, allocations: 0 / 0.8087 GB, free: 114.9 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches