Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.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.Cylindrical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001446/0.001446, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001865/0.001865, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.3 MB, free: 9.027 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2294/0.2294, allocations: 46.1 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 81.95 kB / 416.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1392, allocations: 62.44 MB / 479.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.3193/0.4585, allocations: 37.71 MB / 0.505 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01912/0.4777, allocations: 8.165 MB / 0.513 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009208/0.4869, allocations: 154.4 kB / 0.5131 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004242/0.4912, allocations: 1.781 MB / 0.5148 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005855/0.4971, allocations: 1.688 MB / 0.5165 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.4989, allocations: 0.5087 MB / 0.517 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009304/0.5082, allocations: 5.44 MB / 0.5223 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005749/0.514, allocations: 2.617 MB / 0.5249 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003285/0.5173, allocations: 1.193 MB / 0.526 GB, free: 6.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003998/0.5213, allocations: 2.031 MB / 0.528 GB, free: 5.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001215/0.5226, allocations: 202.6 kB / 0.5282 GB, free: 5.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00298/0.5255, allocations: 0.9683 MB / 0.5291 GB, free: 5.117 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002696/0.5283, allocations: 1.685 MB / 0.5308 GB, free: 4.207 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004226/0.5325, allocations: 2.031 MB / 0.5328 GB, free: 2.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008778/0.5413, allocations: 6.517 MB / 0.5391 GB, free: 14.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.5413, allocations: 2.188 kB / 0.5391 GB, free: 14.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5413, allocations: 4 kB / 0.5391 GB, free: 14.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003181/0.5417, allocations: 0 / 0.5391 GB, free: 14.32 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01418/0.5558, allocations: 4.539 MB / 0.5436 GB, free: 11.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.5559, allocations: 9.562 kB / 0.5436 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002629/0.5585, allocations: 0.7605 MB / 0.5443 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01191/0.5705, allocations: 3.121 MB / 0.5474 GB, free: 7.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006478/0.577, allocations: 2.323 MB / 0.5496 GB, free: 5.152 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000322/0.5773, allocations: 220.5 kB / 0.5498 GB, free: 4.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001753/0.5791, allocations: 289 kB / 0.5501 GB, free: 4.742 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0238/0.6029, allocations: 11.11 MB / 0.561 GB, free: 9.312 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002026/0.6032, allocations: 31.72 kB / 0.561 GB, free: 9.281 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001393/0.6046, allocations: 137.3 kB / 0.5611 GB, free: 9.191 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004954/0.6096, allocations: 2.621 MB / 0.5637 GB, free: 6.582 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02318/0.6328, allocations: 10.37 MB / 0.5738 GB, free: 12.19 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06337/0.6962, allocations: 36.7 MB / 0.6097 GB, free: 6.797 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009834/0.7061, allocations: 4.57 MB / 0.6141 GB, free: 2 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003713/0.7098, allocations: 2.407 MB / 0.6165 GB, free: 15.6 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00137/0.7112, allocations: 1.313 MB / 0.6178 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.287e-05/0.7113, allocations: 56.44 kB / 0.6178 GB, free: 14.01 MB / 478.1 MB Notification: Performance of pre-optimization done (n=242): time 5.631e-06/0.7113, allocations: 0 / 0.6178 GB, free: 14.01 MB / 478.1 MB Notification: Performance of matching and sorting (n=254): time 0.04616/0.7575, allocations: 17.59 MB / 0.635 GB, free: 12.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.7576, allocations: 73.41 kB / 0.6351 GB, free: 12.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005759/0.7633, allocations: 2.742 MB / 0.6377 GB, free: 9.523 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004515/0.7638, allocations: 61.7 kB / 0.6378 GB, free: 9.457 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002656/0.7665, allocations: 2.762 MB / 0.6405 GB, free: 6.691 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001361/0.7678, allocations: 0.9175 MB / 0.6414 GB, free: 5.781 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002686/0.7705, allocations: 1.067 MB / 0.6424 GB, free: 4.707 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.7707, allocations: 301.1 kB / 0.6427 GB, free: 4.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004213/0.775, allocations: 2.31 MB / 0.645 GB, free: 2.094 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006492/0.7815, allocations: 5.21 MB / 0.6501 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01135/0.7929, allocations: 8.257 MB / 0.6581 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001098/0.793, allocations: 28 kB / 0.6582 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01664/0.8097, allocations: 8.276 MB / 0.6662 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.8098, allocations: 48 kB / 0.6663 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001919/0.81, allocations: 100 kB / 0.6664 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002794/0.8128, allocations: 0.9411 MB / 0.6673 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004259/0.8171, allocations: 1.224 MB / 0.6685 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006498/0.8236, allocations: 4.78 MB / 0.6732 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003645/0.8273, allocations: 306.9 kB / 0.6734 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009377/0.8282, allocations: 300 kB / 0.6737 GB, free: 1.656 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 35 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[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 (653): * Single equations (assignments): 646 * 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 {(4,10,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004465/0.8327, allocations: 2.153 MB / 0.6758 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007012/0.8334, allocations: 276.3 kB / 0.6761 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009502/0.8429, allocations: 5.129 MB / 0.6811 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.315e-05/0.843, allocations: 51.03 kB / 0.6812 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/0.843, allocations: 0 / 0.6812 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.807e-05/0.8431, allocations: 11.95 kB / 0.6812 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02252/0.8656, allocations: 11.91 MB / 0.6928 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-05/0.8656, allocations: 12 kB / 0.6928 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001742/0.8674, allocations: 403.5 kB / 0.6932 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002493/0.8699, allocations: 0.7748 MB / 0.694 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002447/0.8702, allocations: 50.66 kB / 0.694 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00541/0.8756, allocations: 4.096 MB / 0.698 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-05/0.8756, allocations: 15.94 kB / 0.698 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01158/0.8872, allocations: 7.611 MB / 0.7054 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009129/0.8881, allocations: 329.5 kB / 0.7058 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007795/0.8889, allocations: 47.98 kB / 0.7058 GB, free: 308 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001783/0.8907, allocations: 153.9 kB / 0.706 GB, free: 156 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000455/0.8912, allocations: 152.8 kB / 0.7061 GB, free: 4 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.2627/1.154, allocations: 74.92 kB / 0.7062 GB, free: 193.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00424/1.158, allocations: 1.693 MB / 0.7078 GB, free: 193.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.41e-07/1.158, allocations: 0 / 0.7078 GB, free: 193.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00641/1.165, allocations: 0.9613 MB / 0.7088 GB, free: 193.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.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 (196): * Single equations (assignments): 189 * 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 {(2,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.01559/1.18, allocations: 8.279 MB / 0.7168 GB, free: 190.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01075/1.191, allocations: 5.621 MB / 0.7223 GB, free: 188.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.671e-05/1.191, allocations: 5.203 kB / 0.7223 GB, free: 188.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003553/1.195, allocations: 2.149 MB / 0.7244 GB, free: 187.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002432/1.197, allocations: 380.1 kB / 0.7248 GB, free: 187.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06192/1.259, allocations: 47.43 MB / 0.7711 GB, free: 148.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00308/1.262, allocations: 3.377 MB / 0.7744 GB, free: 145.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004096/1.266, allocations: 1.99 MB / 0.7764 GB, free: 143.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002566/1.269, allocations: 1.827 MB / 0.7782 GB, free: 141.4 MB / 0.545 GB Notification: Performance of SimCode: time 9.32e-07/1.269, allocations: 0 / 0.7782 GB, free: 141.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09038/1.359, allocations: 61.16 MB / 0.8379 GB, free: 80.45 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/1.36, allocations: 218.2 kB / 0.8381 GB, free: 80.19 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.392/4.752, allocations: 0 / 0.8381 GB, free: 80.19 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches