Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_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.005233/0.005233, allocations: 100 kB / 15.87 MB, free: 6.309 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.001275/0.001275, allocations: 195.3 kB / 16.79 MB, free: 6.238 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.229/1.229, allocations: 205.1 MB / 222.6 MB, free: 4.742 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.2899/0.2899, allocations: 43.5 MB / 313.5 MB, free: 8.277 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.001304/0.001304, allocations: 59.91 kB / 382.1 MB, free: 8.414 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1034, allocations: 57.79 MB / 439.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.1974/0.3008, allocations: 43.47 MB / 483.4 MB, free: 24.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01592/0.3168, allocations: 9.635 MB / 493 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006739/0.3236, allocations: 191.8 kB / 493.2 MB, free: 17.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004086/0.3277, allocations: 2.732 MB / 495.9 MB, free: 16.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003933/0.3317, allocations: 1.916 MB / 497.9 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.3333, allocations: 0.9263 MB / 498.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007905/0.3412, allocations: 7.203 MB / 0.4941 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00444/0.3457, allocations: 3.364 MB / 0.4974 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002724/0.3485, allocations: 1.557 MB / 0.4989 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003533/0.352, allocations: 2.611 MB / 0.5015 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007623/0.3528, allocations: 252.1 kB / 0.5017 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002461/0.3553, allocations: 1.38 MB / 0.5031 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001959/0.3572, allocations: 2.114 MB / 0.5051 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002302/0.3596, allocations: 2.47 MB / 0.5075 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006639/0.3662, allocations: 7.923 MB / 0.5153 GB, free: 2.703 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3662, allocations: 3.984 kB / 0.5153 GB, free: 2.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.3662, allocations: 0 / 0.5153 GB, free: 2.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001975/0.3664, allocations: 0 / 0.5153 GB, free: 2.699 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01384/0.3803, allocations: 5.929 MB / 0.5211 GB, free: 14.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.3804, allocations: 8.031 kB / 0.5211 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002243/0.3826, allocations: 0.7907 MB / 0.5219 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07611/0.4587, allocations: 7.215 MB / 0.5289 GB, free: 5.973 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008448/0.4672, allocations: 4.069 MB / 0.5329 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002243/0.4675, allocations: 255 kB / 0.5331 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001324/0.4688, allocations: 359.6 kB / 0.5335 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0196/0.4884, allocations: 12.29 MB / 0.5455 GB, free: 4.145 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001247/0.4886, allocations: 51.53 kB / 0.5455 GB, free: 4.094 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004321/0.489, allocations: 163.8 kB / 0.5457 GB, free: 3.934 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003397/0.4924, allocations: 2.381 MB / 0.548 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01979/0.5122, allocations: 10.69 MB / 0.5584 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05328/0.5656, allocations: 48.81 MB / 0.6061 GB, free: 4.633 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01369/0.5793, allocations: 5.865 MB / 0.6118 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003594/0.5829, allocations: 3.108 MB / 0.6149 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.17/0.7529, allocations: 13.01 MB / 0.6276 GB, free: 142.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.753, allocations: 58 kB / 0.6276 GB, free: 142 MB / 494.1 MB Notification: Performance of pre-optimization done (n=193): time 4.919e-06/0.753, allocations: 0 / 0.6276 GB, free: 142 MB / 494.1 MB Notification: Performance of matching and sorting (n=254): time 0.1038/0.8569, allocations: 38.8 MB / 0.6655 GB, free: 133.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/0.857, allocations: 207.7 kB / 0.6657 GB, free: 132.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005582/0.8626, allocations: 4.418 MB / 0.67 GB, free: 131.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005218/0.8631, allocations: 62.64 kB / 0.6701 GB, free: 131.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001428/0.8645, allocations: 3.434 MB / 0.6734 GB, free: 128.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007878/0.8653, allocations: 0.9479 MB / 0.6744 GB, free: 127.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001497/0.8668, allocations: 1.371 MB / 0.6757 GB, free: 127.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.554e-05/0.8669, allocations: 301.1 kB / 0.676 GB, free: 126.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003413/0.8703, allocations: 3.117 MB / 0.679 GB, free: 125.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004545/0.8749, allocations: 7.045 MB / 0.6859 GB, free: 119.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009426/0.8843, allocations: 10.97 MB / 0.6966 GB, free: 108.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001059/0.8845, allocations: 40 kB / 0.6967 GB, free: 108.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02081/0.9053, allocations: 12.66 MB / 0.709 GB, free: 95.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.503e-05/0.9054, allocations: 64.66 kB / 0.7091 GB, free: 95.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001169/0.9055, allocations: 139.9 kB / 0.7092 GB, free: 95.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007919/0.9134, allocations: 3.244 MB / 0.7124 GB, free: 92.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004693/0.9182, allocations: 1.532 MB / 0.7139 GB, free: 90.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01722/0.9354, allocations: 15.5 MB / 0.729 GB, free: 75.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005568/0.941, allocations: 431.3 kB / 0.7294 GB, free: 74.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00106/0.9421, allocations: 407.1 kB / 0.7298 GB, free: 74.51 MB / 494.1 MB 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.003435/0.9456, allocations: 2.351 MB / 0.7321 GB, free: 72.15 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007911/0.9464, allocations: 406.8 kB / 0.7325 GB, free: 71.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/0.9579, allocations: 7.519 MB / 0.7399 GB, free: 64.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.684e-05/0.9579, allocations: 31.94 kB / 0.7399 GB, free: 64.17 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/0.958, allocations: 11.19 kB / 0.7399 GB, free: 64.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.958, allocations: 15.95 kB / 0.7399 GB, free: 64.15 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02198/0.98, allocations: 15.22 MB / 0.7548 GB, free: 48.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.569e-05/0.98, allocations: 0 / 0.7548 GB, free: 48.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002097/0.9822, allocations: 387.4 kB / 0.7551 GB, free: 48.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007818/0.99, allocations: 2.919 MB / 0.758 GB, free: 45.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000541/0.9906, allocations: 44 kB / 0.758 GB, free: 45.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01539/1.006, allocations: 13.72 MB / 0.7714 GB, free: 31.71 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.006, allocations: 8 kB / 0.7714 GB, free: 31.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01602/1.022, allocations: 11.48 MB / 0.7827 GB, free: 20.15 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002181/1.024, allocations: 0.9213 MB / 0.7836 GB, free: 19.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001128/1.025, allocations: 40 kB / 0.7836 GB, free: 19.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002357/1.028, allocations: 191.7 kB / 0.7838 GB, free: 18.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000585/1.028, allocations: 141.8 kB / 0.7839 GB, free: 18.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00021/1.029, allocations: 71.81 kB / 0.784 GB, free: 18.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003135/1.032, allocations: 2.771 MB / 0.7867 GB, free: 16 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.032, allocations: 0 / 0.7867 GB, free: 16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005038/1.037, allocations: 1.311 MB / 0.788 GB, free: 14.69 MB / 494.1 MB 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.0159/1.053, allocations: 12.15 MB / 0.7998 GB, free: 2.465 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01127/1.064, allocations: 7.829 MB / 0.8075 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/1.064, allocations: 0 / 0.8075 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.1847/1.249, allocations: 3.13 MB / 0.8105 GB, free: 154.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003021/1.252, allocations: 0.4886 MB / 0.811 GB, free: 154.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08895/1.341, allocations: 70.68 MB / 0.88 GB, free: 109 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003439/1.344, allocations: 3.673 MB / 0.8836 GB, free: 107.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004427/1.349, allocations: 2.182 MB / 0.8858 GB, free: 107.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002088/1.351, allocations: 2.224 MB / 0.8879 GB, free: 105.6 MB / 0.4981 GB Notification: Performance of SimCode: time 1.983e-06/1.351, allocations: 0 / 0.8879 GB, free: 105.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8595/2.21, allocations: 96.31 MB / 0.982 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/2.211, allocations: 211.6 kB / 0.9822 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.92/7.13, allocations: 0 / 0.9822 GB, free: 11.44 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches