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.001042/0.001042, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001218/0.001218, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2073/0.2073, allocations: 46.09 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 81.33 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1064, allocations: 62.44 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01341/0.1198, allocations: 13.51 MB / 493.6 MB, free: 7.629 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007229/0.1271, allocations: 4.174 MB / 497.8 MB, free: 3.441 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.1283, allocations: 75.75 kB / 497.9 MB, free: 3.367 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002982/0.1313, allocations: 1.806 MB / 499.7 MB, free: 1.555 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003121/0.1345, allocations: 1.806 MB / 0.4897 GB, free: 15.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.1355, allocations: 0.5537 MB / 0.4903 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003631/0.1391, allocations: 3.889 MB / 0.4941 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002503/0.1416, allocations: 2.693 MB / 0.4967 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001567/0.1432, allocations: 1.366 MB / 0.498 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002091/0.1453, allocations: 1.939 MB / 0.4999 GB, free: 5.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004679/0.1458, allocations: 292 kB / 0.5002 GB, free: 4.945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001693/0.1475, allocations: 0.9946 MB / 0.5012 GB, free: 3.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00136/0.1489, allocations: 1.745 MB / 0.5029 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002008/0.1509, allocations: 2.096 MB / 0.5049 GB, free: 92 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.214/0.3649, allocations: 6.595 MB / 0.5114 GB, free: 16.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.365, allocations: 1.688 kB / 0.5114 GB, free: 16.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.365, allocations: 3.75 kB / 0.5114 GB, free: 16.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000187/0.3652, allocations: 0 / 0.5114 GB, free: 16.75 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.009849/0.375, allocations: 4.528 MB / 0.5158 GB, free: 14.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.3751, allocations: 10.47 kB / 0.5158 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001176/0.3763, allocations: 0.7632 MB / 0.5166 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/0.3873, allocations: 3.126 MB / 0.5196 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005953/0.3932, allocations: 2.32 MB / 0.5219 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001594/0.3934, allocations: 219.7 kB / 0.5221 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007809/0.3942, allocations: 291.8 kB / 0.5224 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01639/0.4106, allocations: 11.11 MB / 0.5332 GB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.245e-05/0.4107, allocations: 33.36 kB / 0.5332 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004244/0.4112, allocations: 137.1 kB / 0.5334 GB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003657/0.4148, allocations: 2.619 MB / 0.5359 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01629/0.4311, allocations: 10.38 MB / 0.5461 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0519/0.4831, allocations: 36.69 MB / 0.5819 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009202/0.4923, allocations: 4.57 MB / 0.5864 GB, free: 7.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003268/0.4956, allocations: 2.4 MB / 0.5887 GB, free: 4.762 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/0.4968, allocations: 1.32 MB / 0.59 GB, free: 3.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.897e-05/0.4969, allocations: 56.5 kB / 0.59 GB, free: 3.168 MB / 430.1 MB Notification: Performance of pre-optimization done (n=242): time 5.63e-06/0.4969, allocations: 4 kB / 0.5901 GB, free: 3.164 MB / 430.1 MB Notification: Performance of matching and sorting (n=254): time 0.04153/0.5384, allocations: 17.58 MB / 0.6072 GB, free: 1.566 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.5385, allocations: 73.41 kB / 0.6073 GB, free: 1.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0044/0.5429, allocations: 2.737 MB / 0.61 GB, free: 14.73 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002946/0.5432, allocations: 57.7 kB / 0.61 GB, free: 14.67 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001846/0.5451, allocations: 2.776 MB / 0.6127 GB, free: 11.9 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009441/0.5461, allocations: 0.9162 MB / 0.6136 GB, free: 11 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001813/0.5479, allocations: 1.067 MB / 0.6147 GB, free: 9.922 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.548, allocations: 301.1 kB / 0.615 GB, free: 9.625 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003514/0.5515, allocations: 2.31 MB / 0.6172 GB, free: 7.309 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005559/0.5571, allocations: 5.213 MB / 0.6223 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009763/0.5669, allocations: 8.258 MB / 0.6304 GB, free: 7.477 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001188/0.567, allocations: 31.38 kB / 0.6304 GB, free: 7.449 MB / 478.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01491/0.5819, allocations: 8.272 MB / 0.6385 GB, free: 15.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.244e-05/0.5821, allocations: 48 kB / 0.6385 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001423/0.5822, allocations: 100 kB / 0.6386 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00272/0.585, allocations: 0.9496 MB / 0.6395 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004089/0.5891, allocations: 1.22 MB / 0.6407 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006629/0.5957, allocations: 5.136 MB / 0.6457 GB, free: 8.066 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00411/0.5998, allocations: 298.8 kB / 0.646 GB, free: 7.777 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009532/0.6008, allocations: 304 kB / 0.6463 GB, free: 7.48 MB / 494.1 MB 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.00471/0.6055, allocations: 2.146 MB / 0.6484 GB, free: 5.324 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006098/0.6061, allocations: 276.4 kB / 0.6487 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008877/0.615, allocations: 5.121 MB / 0.6537 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-05/0.6151, allocations: 51.98 kB / 0.6537 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.6151, allocations: 4 kB / 0.6537 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/0.6152, allocations: 7.969 kB / 0.6537 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01965/0.6348, allocations: 11.92 MB / 0.6654 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.391e-05/0.6349, allocations: 8 kB / 0.6654 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001579/0.6364, allocations: 398 kB / 0.6658 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002302/0.6388, allocations: 0.7815 MB / 0.6665 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000177/0.6389, allocations: 55.66 kB / 0.6666 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005257/0.6442, allocations: 4.385 MB / 0.6709 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/0.6442, allocations: 15.94 kB / 0.6709 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/0.6544, allocations: 7.617 MB / 0.6783 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005674/0.655, allocations: 325.6 kB / 0.6786 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004619/0.6555, allocations: 53.11 kB / 0.6787 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.6568, allocations: 143.8 kB / 0.6788 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003353/0.6571, allocations: 160.8 kB / 0.679 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001658/0.6573, allocations: 70.34 kB / 0.679 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002661/0.66, allocations: 1.693 MB / 0.6807 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.66, allocations: 0 / 0.6807 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003883/0.6639, allocations: 0.9609 MB / 0.6816 GB, free: 2.812 MB / 0.5137 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.01105/0.6749, allocations: 8.288 MB / 0.6897 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01356/0.6885, allocations: 9.094 MB / 0.6986 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/0.6885, allocations: 448 / 0.6986 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002825/0.6914, allocations: 2.15 MB / 0.7007 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002825/0.6942, allocations: 396.5 kB / 0.7011 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2675/0.9617, allocations: 45.35 MB / 0.7454 GB, free: 179.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003128/0.9649, allocations: 3.367 MB / 0.7487 GB, free: 177.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003995/0.9689, allocations: 1.982 MB / 0.7506 GB, free: 176.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002/0.9709, allocations: 1.835 MB / 0.7524 GB, free: 174.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.002e-06/0.9709, allocations: 4 kB / 0.7524 GB, free: 174.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0837/1.055, allocations: 62.44 MB / 0.8134 GB, free: 112.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/12.4, allocations: 11.88 kB / 0.8134 GB, free: 112.6 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