Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001337/0.001337, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001399/0.001399, allocations: 201.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.4 MB / 247 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2519/0.2519, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 79.86 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4076, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.01263/0.4203, allocations: 9.569 MB / 0.54 GB, free: 5.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007499/0.4278, allocations: 3.211 MB / 0.5431 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001789/0.4297, allocations: 50.56 kB / 0.5432 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006016/0.4358, allocations: 2.641 MB / 0.5457 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002334/0.4381, allocations: 0.5972 MB / 0.5463 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.4402, allocations: 0.5364 MB / 0.5469 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00289/0.4432, allocations: 1.457 MB / 0.5483 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004421/0.4476, allocations: 3.229 MB / 0.5514 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002074/0.4497, allocations: 0.9582 MB / 0.5524 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002322/0.4521, allocations: 1.266 MB / 0.5536 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000748/0.4528, allocations: 272 kB / 0.5539 GB, free: 9.785 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001882/0.4547, allocations: 0.8036 MB / 0.5546 GB, free: 8.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001519/0.4563, allocations: 1.15 MB / 0.5558 GB, free: 7.828 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002023/0.4583, allocations: 1.352 MB / 0.5571 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005927/0.4643, allocations: 4.433 MB / 0.5614 GB, free: 2.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4643, allocations: 0 / 0.5614 GB, free: 2.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4643, allocations: 4 kB / 0.5614 GB, free: 2.016 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001331/0.4645, allocations: 0 / 0.5614 GB, free: 2.016 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: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.007286/0.4718, allocations: 2.851 MB / 0.5642 GB, free: 15.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.4718, allocations: 8.031 kB / 0.5642 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009468/0.4728, allocations: 422.8 kB / 0.5646 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/0.4744, allocations: 370.8 kB / 0.565 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002674/0.4771, allocations: 1.244 MB / 0.5662 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001974/0.4774, allocations: 180.4 kB / 0.5664 GB, free: 12.83 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006854/0.4781, allocations: 215.9 kB / 0.5666 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01337/0.4914, allocations: 5.623 MB / 0.5721 GB, free: 6.715 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.747e-05/0.4916, allocations: 11.88 kB / 0.5721 GB, free: 6.703 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004115/0.492, allocations: 95.95 kB / 0.5722 GB, free: 6.609 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001307/0.4933, allocations: 0.7734 MB / 0.5729 GB, free: 5.832 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01158/0.5049, allocations: 4.293 MB / 0.5771 GB, free: 1.539 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02759/0.5326, allocations: 17.09 MB / 0.5938 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004658/0.5373, allocations: 1.255 MB / 0.595 GB, free: 14.73 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007919/0.5381, allocations: 394.3 kB / 0.5954 GB, free: 14.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002218/0.5403, allocations: 2.133 MB / 0.5975 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/0.5404, allocations: 51.06 kB / 0.5975 GB, free: 11.8 MB / 462.1 MB Notification: Performance of pre-optimization done (n=65): time 2.725e-06/0.5404, allocations: 0 / 0.5975 GB, free: 11.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=109): time 0.02283/0.5633, allocations: 5.409 MB / 0.6028 GB, free: 6.383 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.5634, allocations: 64.41 kB / 0.6029 GB, free: 6.309 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002608/0.566, allocations: 1.721 MB / 0.6045 GB, free: 4.578 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001331/0.5662, allocations: 41.7 kB / 0.6046 GB, free: 4.531 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001235/0.5674, allocations: 1.558 MB / 0.6061 GB, free: 2.957 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004342/0.5678, allocations: 424.6 kB / 0.6065 GB, free: 2.539 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007241/0.5686, allocations: 0.5208 MB / 0.607 GB, free: 2.012 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.5687, allocations: 309.1 kB / 0.6073 GB, free: 1.707 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/0.5703, allocations: 0.7782 MB / 0.6081 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002779/0.5731, allocations: 2.219 MB / 0.6102 GB, free: 14 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004795/0.5779, allocations: 3.275 MB / 0.6134 GB, free: 10.01 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.644e-05/0.578, allocations: 16 kB / 0.6135 GB, free: 9.996 MB / 478.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.006264/0.5843, allocations: 3.017 MB / 0.6164 GB, free: 6.973 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.423e-05/0.5844, allocations: 28 kB / 0.6164 GB, free: 6.945 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-05/0.5844, allocations: 52.16 kB / 0.6165 GB, free: 6.895 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.732e-05/0.5845, allocations: 68 kB / 0.6165 GB, free: 6.828 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/0.5866, allocations: 0.6005 MB / 0.6171 GB, free: 6.227 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001095/0.5867, allocations: 103.6 kB / 0.6172 GB, free: 6.125 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.5884, allocations: 107.9 kB / 0.6173 GB, free: 6.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003639/0.5888, allocations: 156 kB / 0.6175 GB, free: 5.867 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * Number of states: 0 () * Number of discrete variables: 38 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 (340): * Single equations (assignments): 340 * 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.002629/0.5914, allocations: 1.129 MB / 0.6186 GB, free: 4.73 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003985/0.5918, allocations: 178.8 kB / 0.6188 GB, free: 4.555 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000495/0.5923, allocations: 200.8 kB / 0.6189 GB, free: 4.352 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.5924, allocations: 15.98 kB / 0.619 GB, free: 4.336 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/0.5924, allocations: 0 / 0.619 GB, free: 4.336 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.5924, allocations: 3.984 kB / 0.619 GB, free: 4.332 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/0.6038, allocations: 6.074 MB / 0.6249 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.215e-05/0.6039, allocations: 20 kB / 0.6249 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007155/0.6046, allocations: 203.6 kB / 0.6251 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-05/0.6046, allocations: 24.69 kB / 0.6251 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.994e-05/0.6047, allocations: 44 kB / 0.6252 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.114e-05/0.6048, allocations: 47.8 kB / 0.6252 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-05/0.6048, allocations: 31.88 kB / 0.6253 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/0.6075, allocations: 1.684 MB / 0.6269 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005591/0.6081, allocations: 263.9 kB / 0.6271 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000228/0.6083, allocations: 51.92 kB / 0.6272 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006948/0.609, allocations: 39.98 kB / 0.6272 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/0.6092, allocations: 131.4 kB / 0.6274 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.974e-05/0.6093, allocations: 52 kB / 0.6274 GB, free: 11.01 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002113/0.6114, allocations: 1.147 MB / 0.6285 GB, free: 9.871 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6115, allocations: 3.938 kB / 0.6285 GB, free: 9.867 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002647/0.6141, allocations: 463.9 kB / 0.629 GB, free: 9.414 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * 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 (109): * Single equations (assignments): 109 * 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.003234/0.6174, allocations: 2.317 MB / 0.6312 GB, free: 6.805 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003621/0.621, allocations: 1.82 MB / 0.633 GB, free: 4.996 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/0.6211, allocations: 5 kB / 0.633 GB, free: 4.992 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008714/0.622, allocations: 0.491 MB / 0.6335 GB, free: 4.504 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/0.6238, allocations: 297.5 kB / 0.6338 GB, free: 4.219 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03693/0.6608, allocations: 19.77 MB / 0.6531 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003252/0.6641, allocations: 2.077 MB / 0.6551 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002047/0.6662, allocations: 0.6712 MB / 0.6558 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001867/0.668, allocations: 0.9523 MB / 0.6567 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of SimCode: time 1.123e-06/0.6681, allocations: 0 / 0.6567 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0807/0.7488, allocations: 34.93 MB / 0.6908 GB, free: 7.48 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.35, allocations: 13.56 kB / 0.6908 GB, free: 7.473 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointSSP/JointSSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches