Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.JointUPS2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2",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.001382/0.001382, allocations: 112.8 kB / 17.77 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 180.9 kB / 18.7 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2252/0.2252, allocations: 44.18 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 63.91 kB / 470 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3755, allocations: 60.83 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01362/0.3891, allocations: 11.98 MB / 0.5301 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.3996, allocations: 4.365 MB / 0.5344 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002474/0.4021, allocations: 71.5 kB / 0.5345 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00558/0.4077, allocations: 2.764 MB / 0.5372 GB, free: 5.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006607/0.4143, allocations: 2.04 MB / 0.5391 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002669/0.417, allocations: 1.006 MB / 0.5401 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009022/0.4261, allocations: 5.288 MB / 0.5453 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005246/0.4314, allocations: 3.444 MB / 0.5487 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003562/0.4349, allocations: 1.752 MB / 0.5504 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003946/0.4389, allocations: 2.445 MB / 0.5528 GB, free: 8.844 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008632/0.4398, allocations: 368 kB / 0.5531 GB, free: 8.484 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003806/0.4436, allocations: 1.424 MB / 0.5545 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003352/0.447, allocations: 2.186 MB / 0.5566 GB, free: 4.867 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003941/0.4509, allocations: 2.567 MB / 0.5591 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01287/0.4638, allocations: 8.288 MB / 0.5672 GB, free: 9.965 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.4639, allocations: 0 / 0.5672 GB, free: 9.965 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4639, allocations: 0 / 0.5672 GB, free: 9.965 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000299/0.4642, allocations: 0 / 0.5672 GB, free: 9.965 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01733/0.4815, allocations: 6.045 MB / 0.5731 GB, free: 3.836 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.4816, allocations: 8.031 kB / 0.5731 GB, free: 3.828 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001586/0.4832, allocations: 0.7946 MB / 0.5739 GB, free: 3.023 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09403/0.5772, allocations: 7.242 MB / 0.581 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008523/0.5858, allocations: 3.824 MB / 0.5847 GB, free: 7.887 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002552/0.5861, allocations: 258.8 kB / 0.585 GB, free: 7.633 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001266/0.5874, allocations: 355.7 kB / 0.5853 GB, free: 7.285 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02305/0.6104, allocations: 12.28 MB / 0.5973 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001337/0.6106, allocations: 55.53 kB / 0.5974 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004739/0.6111, allocations: 171.8 kB / 0.5975 GB, free: 9.969 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003959/0.6151, allocations: 2.381 MB / 0.5998 GB, free: 7.586 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02184/0.6369, allocations: 10.7 MB / 0.6103 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06367/0.7006, allocations: 48.64 MB / 0.6578 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01589/0.7165, allocations: 5.865 MB / 0.6635 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004449/0.721, allocations: 3.124 MB / 0.6666 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02004/0.7411, allocations: 13.01 MB / 0.6793 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.067e-05/0.7412, allocations: 59.81 kB / 0.6793 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=193): time 6.673e-06/0.7412, allocations: 3.984 kB / 0.6793 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of matching and sorting (n=254): time 0.3726/1.114, allocations: 38.95 MB / 0.7174 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.804e-05/1.114, allocations: 206.2 kB / 0.7176 GB, free: 171 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007069/1.121, allocations: 4.394 MB / 0.7219 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006724/1.122, allocations: 65.61 kB / 0.7219 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002218/1.124, allocations: 3.569 MB / 0.7254 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001447/1.125, allocations: 0.987 MB / 0.7264 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002179/1.128, allocations: 1.379 MB / 0.7277 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.241e-05/1.128, allocations: 308.8 kB / 0.728 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005226/1.133, allocations: 3.114 MB / 0.7311 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009212/1.142, allocations: 7.039 MB / 0.7379 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01143/1.154, allocations: 10.97 MB / 0.7486 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000197/1.154, allocations: 38.5 kB / 0.7487 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02055/1.174, allocations: 12.67 MB / 0.7611 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.329e-05/1.175, allocations: 64 kB / 0.7611 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001116/1.175, allocations: 144 kB / 0.7613 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007921/1.183, allocations: 3.237 MB / 0.7644 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00458/1.187, allocations: 1.54 MB / 0.7659 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01877/1.206, allocations: 16.62 MB / 0.7821 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007149/1.213, allocations: 431.5 kB / 0.7826 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001444/1.215, allocations: 400 kB / 0.7829 GB, free: 119.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (808): * Single equations (assignments): 804 * Array equations: 3 * 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 {(8,47,54.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004738/1.219, allocations: 2.359 MB / 0.7852 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/1.221, allocations: 425.1 kB / 0.7856 GB, free: 117 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/1.234, allocations: 7.511 MB / 0.793 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.848e-05/1.234, allocations: 28.94 kB / 0.793 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.473e-05/1.234, allocations: 12 kB / 0.793 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.56e-05/1.234, allocations: 15.95 kB / 0.793 GB, free: 109.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02415/1.258, allocations: 15.05 MB / 0.8077 GB, free: 94.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.828e-05/1.258, allocations: 4 kB / 0.8077 GB, free: 94.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00189/1.26, allocations: 379.4 kB / 0.8081 GB, free: 94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007734/1.268, allocations: 2.923 MB / 0.811 GB, free: 91.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004721/1.268, allocations: 46.38 kB / 0.811 GB, free: 91.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01711/1.285, allocations: 14.82 MB / 0.8255 GB, free: 76.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.285, allocations: 0 / 0.8255 GB, free: 76.06 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01724/1.303, allocations: 11.5 MB / 0.8367 GB, free: 64.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/1.304, allocations: 478 kB / 0.8372 GB, free: 64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006472/1.305, allocations: 36 kB / 0.8372 GB, free: 63.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002045/1.307, allocations: 187.7 kB / 0.8374 GB, free: 63.78 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005529/1.307, allocations: 145.8 kB / 0.8375 GB, free: 63.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001895/1.307, allocations: 67.81 kB / 0.8376 GB, free: 63.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003538/1.311, allocations: 2.75 MB / 0.8403 GB, free: 60.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/1.311, allocations: 4 kB / 0.8403 GB, free: 60.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006615/1.318, allocations: 1.309 MB / 0.8415 GB, free: 59.51 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (189): * Single equations (assignments): 185 * Array equations: 3 * 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 {(6,40,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01661/1.334, allocations: 12.18 MB / 0.8534 GB, free: 47.26 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01048/1.345, allocations: 7.87 MB / 0.8611 GB, free: 39.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.842e-06/1.345, allocations: 0 / 0.8611 GB, free: 39.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004365/1.349, allocations: 3.136 MB / 0.8642 GB, free: 36.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003947/1.353, allocations: 0.5174 MB / 0.8647 GB, free: 35.74 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09727/1.45, allocations: 60.74 MB / 0.924 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00512/1.456, allocations: 3.67 MB / 0.9276 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00499/1.461, allocations: 2.173 MB / 0.9297 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003298/1.464, allocations: 2.214 MB / 0.9319 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of SimCode: time 1.052e-06/1.464, allocations: 0 / 0.9319 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4239/1.888, allocations: 94.35 MB / 1.024 GB, free: 143.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.22/31.11, allocations: 2.25 kB / 1.024 GB, free: 143.3 MB / 0.6075 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches