Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007986/0.0007986, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009364/0.0009362, allocations: 181.5 kB / 16.91 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.228/1.228, allocations: 205.4 MB / 223.1 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2646/0.2646, allocations: 43.56 MB / 315 MB, free: 8.785 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004607/0.0004608, allocations: 12 kB / 384.7 MB, free: 7.555 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08941/0.08988, allocations: 58.86 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.1836/0.2735, allocations: 33.74 MB / 477.3 MB, free: 28.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01123/0.2848, allocations: 7.259 MB / 484.5 MB, free: 25.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004575/0.2894, allocations: 141.5 kB / 484.7 MB, free: 25.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007045/0.2901, allocations: 251.1 kB / 484.9 MB, free: 25.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00134/0.2915, allocations: 0.6309 MB / 485.6 MB, free: 24.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009069/0.2924, allocations: 485.5 kB / 486 MB, free: 24.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001677/0.2941, allocations: 2.683 MB / 488.7 MB, free: 23.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004187/0.2983, allocations: 4.768 MB / 493.5 MB, free: 21.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006751/0.299, allocations: 0.6402 MB / 494.1 MB, free: 21.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008703/0.2999, allocations: 1.075 MB / 495.2 MB, free: 21.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.3, allocations: 92.34 kB / 495.3 MB, free: 21.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009096/0.3009, allocations: 0.6775 MB / 496 MB, free: 20.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006439/0.3016, allocations: 0.9989 MB / 497 MB, free: 20.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006875/0.3023, allocations: 1.199 MB / 498.2 MB, free: 19.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003507/0.3058, allocations: 4.337 MB / 0.4907 GB, free: 18.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3058, allocations: 0 / 0.4907 GB, free: 18.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3058, allocations: 0.7031 kB / 0.4907 GB, free: 18.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001248/0.306, allocations: 1.406 kB / 0.4907 GB, free: 18.66 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: 897 * Number of variables: 897 Notification: Performance of Generate backend data structure: time 0.004481/0.3105, allocations: 2.422 MB / 0.4931 GB, free: 17.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3105, allocations: 9.094 kB / 0.4931 GB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005224/0.311, allocations: 457.8 kB / 0.4935 GB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.3122, allocations: 358.2 kB / 0.4939 GB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.3138, allocations: 1.264 MB / 0.4951 GB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.3139, allocations: 177.8 kB / 0.4953 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003164/0.3143, allocations: 231.5 kB / 0.4955 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009977/0.3242, allocations: 6.051 MB / 0.5014 GB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.217e-05/0.3243, allocations: 13.16 kB / 0.5014 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002092/0.3245, allocations: 102.8 kB / 0.5015 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001436/0.326, allocations: 0.9636 MB / 0.5025 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008875/0.3349, allocations: 4.516 MB / 0.5069 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01725/0.3521, allocations: 18.55 MB / 0.525 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003661/0.3558, allocations: 1.274 MB / 0.5262 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005535/0.3564, allocations: 391.3 kB / 0.5266 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001475/0.3579, allocations: 2.056 MB / 0.5286 GB, free: 7.305 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.3579, allocations: 47 kB / 0.5287 GB, free: 7.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.424e-06/0.3579, allocations: 0 / 0.5287 GB, free: 7.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.0202/0.3781, allocations: 5.979 MB / 0.5345 GB, free: 1.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.3782, allocations: 86.11 kB / 0.5346 GB, free: 1.148 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002123/0.3803, allocations: 1.836 MB / 0.5364 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.282e-05/0.3804, allocations: 45.7 kB / 0.5364 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009446/0.3814, allocations: 1.66 MB / 0.538 GB, free: 13.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002892/0.3817, allocations: 402.6 kB / 0.5384 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002669/0.3819, allocations: 255.5 kB / 0.5387 GB, free: 12.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.769e-05/0.382, allocations: 301.1 kB / 0.5389 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.3832, allocations: 0.8058 MB / 0.5397 GB, free: 11.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002059/0.3853, allocations: 2.358 MB / 0.542 GB, free: 8.695 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003516/0.3888, allocations: 3.467 MB / 0.5454 GB, free: 4.461 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.822e-05/0.3889, allocations: 16 kB / 0.5454 GB, free: 4.445 MB / 414.1 MB Notification: Performance of matching and sorting (n=361) (initialization): time 0.00424/0.3931, allocations: 3.161 MB / 0.5485 GB, free: 1.277 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.822e-05/0.3931, allocations: 28 kB / 0.5486 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.107e-05/0.3932, allocations: 63.88 kB / 0.5486 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.501e-05/0.3933, allocations: 76 kB / 0.5487 GB, free: 1.113 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.3951, allocations: 0.6434 MB / 0.5493 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.118e-05/0.3952, allocations: 107.6 kB / 0.5494 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.3965, allocations: 128 kB / 0.5495 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/0.3966, allocations: 160 kB / 0.5497 GB, free: 84 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 249 * Number of states: 0 () * Number of discrete variables: 34 (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 (361): * Single equations (assignments): 361 * 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.001698/0.3983, allocations: 1.195 MB / 0.5509 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/0.3986, allocations: 169.8 kB / 0.551 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001935/0.4005, allocations: 1.274 MB / 0.5523 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.4005, allocations: 12 kB / 0.5523 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.4005, allocations: 0 / 0.5523 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.4006, allocations: 12.11 kB / 0.5523 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007748/0.4083, allocations: 6.459 MB / 0.5586 GB, free: 6.547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.406e-05/0.4084, allocations: 20 kB / 0.5586 GB, free: 6.527 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005871/0.4089, allocations: 207.6 kB / 0.5588 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.848e-05/0.409, allocations: 28 kB / 0.5588 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.669e-05/0.409, allocations: 40.66 kB / 0.5589 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.608e-05/0.4091, allocations: 43.8 kB / 0.5589 GB, free: 6.215 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.69e-05/0.4091, allocations: 31.88 kB / 0.559 GB, free: 6.184 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/0.4108, allocations: 1.676 MB / 0.5606 GB, free: 4.215 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003374/0.4111, allocations: 274.8 kB / 0.5608 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.4113, allocations: 47.92 kB / 0.5609 GB, free: 3.879 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006187/0.4119, allocations: 40 kB / 0.5609 GB, free: 3.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.4121, allocations: 131.4 kB / 0.5611 GB, free: 3.711 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.818e-05/0.4121, allocations: 56 kB / 0.5611 GB, free: 3.656 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001451/0.4136, allocations: 1.232 MB / 0.5623 GB, free: 2.434 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4136, allocations: 4 kB / 0.5623 GB, free: 2.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001974/0.4156, allocations: 500 kB / 0.5628 GB, free: 1.941 MB / 430.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.00208/0.4177, allocations: 2.327 MB / 0.5651 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002456/0.4202, allocations: 1.84 MB / 0.5669 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.4202, allocations: 4.875 kB / 0.5669 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000601/0.4208, allocations: 495 kB / 0.5673 GB, free: 13 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0054/0.4262, allocations: 278.9 kB / 0.5676 GB, free: 12.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02928/0.4555, allocations: 23.76 MB / 0.5908 GB, free: 1.668 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002068/0.4576, allocations: 2.194 MB / 0.593 GB, free: 15.44 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001781/0.4594, allocations: 0.7073 MB / 0.5936 GB, free: 14.73 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/0.4605, allocations: 1.054 MB / 0.5947 GB, free: 13.68 MB / 478.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4605, allocations: 0 / 0.5947 GB, free: 13.68 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.51/1.971, allocations: 34.76 MB / 0.6286 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003258/1.971, allocations: 187.9 kB / 0.6288 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.804/4.775, allocations: 0 / 0.6288 GB, free: 10.7 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointSSP/JointSSP.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches