Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.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.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001438/0.001438, allocations: 118.8 kB / 17.78 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001272/0.001272, allocations: 201.2 kB / 18.73 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2316/0.2316, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 71.88 kB / 480.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3483, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.0113/0.3597, allocations: 9.571 MB / 0.5399 GB, free: 5.934 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008378/0.3681, allocations: 3.429 MB / 0.5432 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002125/0.3703, allocations: 50.31 kB / 0.5433 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005678/0.376, allocations: 2.602 MB / 0.5458 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002241/0.3783, allocations: 0.5871 MB / 0.5464 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002194/0.3805, allocations: 0.7216 MB / 0.5471 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002832/0.3834, allocations: 1.57 MB / 0.5486 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004237/0.3877, allocations: 3.29 MB / 0.5518 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002216/0.3899, allocations: 0.9933 MB / 0.5528 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002265/0.3922, allocations: 1.309 MB / 0.5541 GB, free: 9.594 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006981/0.393, allocations: 276 kB / 0.5543 GB, free: 9.324 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002443/0.3954, allocations: 1.01 MB / 0.5553 GB, free: 8.312 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001472/0.3969, allocations: 1.173 MB / 0.5565 GB, free: 7.137 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002148/0.3991, allocations: 1.372 MB / 0.5578 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00556/0.4047, allocations: 4.65 MB / 0.5624 GB, free: 1.094 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.4047, allocations: 0 / 0.5624 GB, free: 1.094 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4047, allocations: 4 kB / 0.5624 GB, free: 1.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001055/0.4049, allocations: 0 / 0.5624 GB, free: 1.09 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.006621/0.4115, allocations: 2.918 MB / 0.5652 GB, free: 14.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.4115, allocations: 12.03 kB / 0.5652 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006598/0.4122, allocations: 427.1 kB / 0.5656 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.4136, allocations: 361.1 kB / 0.566 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002979/0.4166, allocations: 1.309 MB / 0.5672 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.4167, allocations: 160.2 kB / 0.5674 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005065/0.4172, allocations: 223.9 kB / 0.5676 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01459/0.4318, allocations: 6.476 MB / 0.5739 GB, free: 4.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.567e-05/0.4319, allocations: 11.88 kB / 0.5739 GB, free: 4.809 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003484/0.4323, allocations: 99.94 kB / 0.574 GB, free: 4.711 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001152/0.4335, allocations: 0.8123 MB / 0.5748 GB, free: 3.891 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01411/0.4476, allocations: 5.481 MB / 0.5802 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02735/0.475, allocations: 18.95 MB / 0.5987 GB, free: 10.94 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007661/0.4827, allocations: 1.833 MB / 0.6005 GB, free: 9.102 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/0.484, allocations: 0.69 MB / 0.6012 GB, free: 8.41 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008172/0.4922, allocations: 4.785 MB / 0.6058 GB, free: 3.207 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.4923, allocations: 43.12 kB / 0.6059 GB, free: 3.152 MB / 462.1 MB Notification: Performance of pre-optimization done (n=70): time 4.128e-06/0.4923, allocations: 0 / 0.6059 GB, free: 3.152 MB / 462.1 MB Notification: Performance of matching and sorting (n=110): time 0.04119/0.5335, allocations: 8.739 MB / 0.6144 GB, free: 10.41 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.5336, allocations: 68.34 kB / 0.6145 GB, free: 10.33 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002448/0.5361, allocations: 1.838 MB / 0.6163 GB, free: 8.484 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.5362, allocations: 41.7 kB / 0.6163 GB, free: 8.438 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009368/0.5371, allocations: 1.52 MB / 0.6178 GB, free: 6.895 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003365/0.5375, allocations: 406.6 kB / 0.6182 GB, free: 6.492 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007494/0.5382, allocations: 0.5441 MB / 0.6187 GB, free: 5.941 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.5383, allocations: 309.1 kB / 0.619 GB, free: 5.637 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/0.54, allocations: 1.02 MB / 0.62 GB, free: 4.613 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002588/0.5426, allocations: 2.529 MB / 0.6225 GB, free: 1.344 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00449/0.5471, allocations: 3.815 MB / 0.6262 GB, free: 12.78 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.399e-05/0.5471, allocations: 19.94 kB / 0.6262 GB, free: 12.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.005525/0.5527, allocations: 3.543 MB / 0.6297 GB, free: 9.215 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.711e-05/0.5527, allocations: 30.5 kB / 0.6297 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.524e-05/0.5528, allocations: 52 kB / 0.6297 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.599e-05/0.5529, allocations: 72.75 kB / 0.6298 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002293/0.5552, allocations: 0.6667 MB / 0.6305 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.272e-05/0.5553, allocations: 107.6 kB / 0.6306 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.5569, allocations: 151.8 kB / 0.6307 GB, free: 8.145 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002084/0.5572, allocations: 156 kB / 0.6309 GB, free: 7.992 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 240 * Number of states: 0 () * Number of discrete variables: 38 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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 (352): * Single equations (assignments): 352 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001526/0.5587, allocations: 1.137 MB / 0.632 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/0.559, allocations: 169.8 kB / 0.6321 GB, free: 6.676 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00294/0.5619, allocations: 1.749 MB / 0.6338 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.5619, allocations: 12 kB / 0.6339 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.562, allocations: 3.938 kB / 0.6339 GB, free: 4.898 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.562, allocations: 3.984 kB / 0.6339 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009549/0.5715, allocations: 5.423 MB / 0.6392 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.796e-05/0.5716, allocations: 12 kB / 0.6392 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009109/0.5725, allocations: 207.6 kB / 0.6394 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.957e-05/0.5725, allocations: 16 kB / 0.6394 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.553e-05/0.5726, allocations: 32.62 kB / 0.6394 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-05/0.5727, allocations: 31.86 kB / 0.6394 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-05/0.5727, allocations: 19.94 kB / 0.6395 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002341/0.575, allocations: 1.686 MB / 0.6411 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005072/0.5756, allocations: 250.9 kB / 0.6414 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.5758, allocations: 39.92 kB / 0.6414 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007256/0.5765, allocations: 47.91 kB / 0.6414 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.5767, allocations: 100.2 kB / 0.6415 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.896e-05/0.5767, allocations: 44 kB / 0.6416 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001753/0.5785, allocations: 1.199 MB / 0.6427 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.3e-07/0.5785, allocations: 0 / 0.6427 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002297/0.5808, allocations: 0.4999 MB / 0.6432 GB, free: 10.89 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 0 () * 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 (111): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002991/0.5838, allocations: 2.314 MB / 0.6455 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003923/0.5878, allocations: 2.231 MB / 0.6477 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.699e-05/0.5879, allocations: 4.062 kB / 0.6477 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.5889, allocations: 0.603 MB / 0.6483 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/0.5906, allocations: 266.6 kB / 0.6485 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03266/0.6233, allocations: 21.07 MB / 0.6691 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002849/0.6262, allocations: 2.067 MB / 0.6711 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002049/0.6283, allocations: 0.7266 MB / 0.6718 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/0.6298, allocations: 0.964 MB / 0.6728 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of SimCode: time 7.01e-07/0.6298, allocations: 7.875 kB / 0.6728 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07161/0.7014, allocations: 39.47 MB / 0.7113 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.33, allocations: 11.91 kB / 0.7113 GB, free: 2.84 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches