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.001892/0.001892, allocations: 107.8 kB / 16.41 MB, free: 6.484 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.002562/0.002562, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.608/1.608, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2275/0.2275, allocations: 43.52 MB / 314.1 MB, free: 468 kB / 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.002077/0.002077, allocations: 63.89 kB / 441.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1283, allocations: 57.8 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01451/0.1428, allocations: 12.02 MB / 0.4992 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01103/0.1539, allocations: 4.379 MB / 0.5034 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00276/0.1567, allocations: 71.81 kB / 0.5035 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006258/0.163, allocations: 2.76 MB / 0.5062 GB, free: 9.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006772/0.1699, allocations: 2.043 MB / 0.5082 GB, free: 6.957 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003212/0.1731, allocations: 1.01 MB / 0.5092 GB, free: 5.945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01003/0.1831, allocations: 5.135 MB / 0.5142 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005594/0.1888, allocations: 3.444 MB / 0.5176 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003549/0.1924, allocations: 1.756 MB / 0.5193 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004248/0.1967, allocations: 2.461 MB / 0.5217 GB, free: 9.066 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00109/0.1978, allocations: 368 kB / 0.522 GB, free: 8.707 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003069/0.2009, allocations: 1.404 MB / 0.5234 GB, free: 7.301 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002678/0.2036, allocations: 2.194 MB / 0.5255 GB, free: 5.102 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004116/0.2077, allocations: 2.591 MB / 0.5281 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.277/0.4847, allocations: 8.299 MB / 0.5362 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.4848, allocations: 1.219 kB / 0.5362 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4848, allocations: 0 / 0.5362 GB, free: 15.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003289/0.4851, allocations: 4.922 kB / 0.5362 GB, free: 15.41 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01903/0.5042, allocations: 6.068 MB / 0.5421 GB, free: 13.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.5042, allocations: 13.2 kB / 0.5421 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002081/0.5063, allocations: 0.7921 MB / 0.5429 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09454/0.6009, allocations: 7.249 MB / 0.55 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01125/0.6122, allocations: 4.137 MB / 0.554 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002753/0.6125, allocations: 258.8 kB / 0.5543 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001736/0.6142, allocations: 350.5 kB / 0.5546 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02152/0.6357, allocations: 12.29 MB / 0.5666 GB, free: 5.578 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001418/0.6359, allocations: 50.84 kB / 0.5666 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005479/0.6365, allocations: 165.7 kB / 0.5668 GB, free: 5.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003408/0.6399, allocations: 2.382 MB / 0.5691 GB, free: 4.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02103/0.6609, allocations: 10.7 MB / 0.5796 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07839/0.7394, allocations: 48.69 MB / 0.6271 GB, free: 9.906 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01706/0.7565, allocations: 5.853 MB / 0.6328 GB, free: 3.922 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005672/0.7622, allocations: 3.11 MB / 0.6359 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02609/0.7883, allocations: 13.04 MB / 0.6486 GB, free: 3.555 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.931e-05/0.7884, allocations: 55.86 kB / 0.6487 GB, free: 3.492 MB / 494.1 MB Notification: Performance of pre-optimization done (n=193): time 5.77e-06/0.7884, allocations: 4 kB / 0.6487 GB, free: 3.488 MB / 494.1 MB Notification: Performance of matching and sorting (n=254): time 0.1295/0.918, allocations: 39.08 MB / 0.6868 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001483/0.9182, allocations: 205.9 kB / 0.687 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008453/0.9266, allocations: 4.426 MB / 0.6913 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006827/0.9273, allocations: 65.7 kB / 0.6914 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003132/0.9305, allocations: 3.58 MB / 0.6949 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001561/0.9321, allocations: 0.9824 MB / 0.6959 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003323/0.9354, allocations: 1.385 MB / 0.6972 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.9355, allocations: 301.1 kB / 0.6975 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005505/0.941, allocations: 3.12 MB / 0.7005 GB, free: 14.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01011/0.9512, allocations: 7.043 MB / 0.7074 GB, free: 5.391 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01618/0.9674, allocations: 10.96 MB / 0.7181 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001383/0.9676, allocations: 40 kB / 0.7182 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02993/0.9975, allocations: 12.68 MB / 0.7305 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001729/0.9977, allocations: 64 kB / 0.7306 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002215/0.9979, allocations: 136 kB / 0.7307 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0104/1.008, allocations: 3.24 MB / 0.7339 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005962/1.014, allocations: 1.536 MB / 0.7354 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02891/1.043, allocations: 16.62 MB / 0.7516 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006822/1.05, allocations: 430.1 kB / 0.752 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001875/1.052, allocations: 404 kB / 0.7524 GB, free: 6.027 MB / 0.5919 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.006493/1.059, allocations: 2.356 MB / 0.7547 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001547/1.06, allocations: 429.1 kB / 0.7551 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2591/1.319, allocations: 7.518 MB / 0.7625 GB, free: 211.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.882e-05/1.319, allocations: 30.66 kB / 0.7625 GB, free: 211.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.394e-05/1.319, allocations: 9.688 kB / 0.7625 GB, free: 211.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.249e-05/1.32, allocations: 15.53 kB / 0.7625 GB, free: 211.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02937/1.349, allocations: 15.04 MB / 0.7772 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.032e-05/1.349, allocations: 6.562 kB / 0.7772 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002159/1.351, allocations: 384.1 kB / 0.7776 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0082/1.359, allocations: 2.921 MB / 0.7804 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005388/1.36, allocations: 42.11 kB / 0.7805 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01763/1.378, allocations: 14.82 MB / 0.795 GB, free: 197.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.378, allocations: 3.031 kB / 0.795 GB, free: 197.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01711/1.395, allocations: 11.51 MB / 0.8062 GB, free: 188 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002413/1.397, allocations: 0.9456 MB / 0.8071 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008021/1.398, allocations: 39.98 kB / 0.8072 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00212/1.4, allocations: 195.7 kB / 0.8074 GB, free: 187 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005356/1.401, allocations: 141.8 kB / 0.8075 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002061/1.401, allocations: 67.05 kB / 0.8076 GB, free: 186.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003893/1.405, allocations: 2.778 MB / 0.8103 GB, free: 184 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.8e-07/1.405, allocations: 2.734 kB / 0.8103 GB, free: 184 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005586/1.41, allocations: 1.314 MB / 0.8116 GB, free: 182.7 MB / 0.5919 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.01665/1.427, allocations: 12.17 MB / 0.8234 GB, free: 170.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0117/1.439, allocations: 7.861 MB / 0.8311 GB, free: 162.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/1.439, allocations: 4 kB / 0.8311 GB, free: 162.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004241/1.443, allocations: 3.145 MB / 0.8342 GB, free: 159.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003352/1.447, allocations: 0.5059 MB / 0.8347 GB, free: 159.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1024/1.549, allocations: 60.94 MB / 0.8942 GB, free: 92.15 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006396/1.555, allocations: 3.684 MB / 0.8978 GB, free: 88.45 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005476/1.561, allocations: 2.177 MB / 0.8999 GB, free: 86.26 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004111/1.565, allocations: 2.225 MB / 0.9021 GB, free: 84.04 MB / 0.5919 GB Notification: Performance of SimCode: time 1.202e-06/1.565, allocations: 0 / 0.9021 GB, free: 84.04 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3937/1.959, allocations: 94.6 MB / 0.9945 GB, free: 203.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.58/31.54, allocations: 15.77 kB / 0.9945 GB, free: 203.4 MB / 0.5919 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches