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.0008592/0.0008591, allocations: 97.72 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.001231/0.00123, allocations: 177.7 kB / 16.92 MB, free: 6.668 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.402/1.402, allocations: 205.4 MB / 223.1 MB, free: 5.551 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.3472/0.3472, allocations: 43.57 MB / 315 MB, free: 9.055 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.0005443/0.0005443, allocations: 16 kB / 384.7 MB, free: 7.785 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.114, allocations: 58.86 MB / 443.5 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.2333/0.3473, allocations: 42.28 MB / 485.8 MB, free: 23.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01994/0.3673, allocations: 9.578 MB / 495.4 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007801/0.3751, allocations: 183 kB / 495.6 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001318/0.3765, allocations: 477.2 kB / 496 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004325/0.3808, allocations: 1.918 MB / 498 MB, free: 17.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00164/0.3825, allocations: 0.9297 MB / 498.9 MB, free: 16.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007855/0.3903, allocations: 7.198 MB / 0.4942 GB, free: 14.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006255/0.3966, allocations: 4.511 MB / 0.4986 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002336/0.399, allocations: 1.367 MB / 0.5 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003433/0.4024, allocations: 2.365 MB / 0.5023 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006812/0.4031, allocations: 167.8 kB / 0.5024 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002716/0.4058, allocations: 1.299 MB / 0.5037 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002646/0.4085, allocations: 2.005 MB / 0.5057 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002802/0.4113, allocations: 2.345 MB / 0.508 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008572/0.4199, allocations: 7.713 MB / 0.5155 GB, free: 4.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4199, allocations: 1.156 kB / 0.5155 GB, free: 4.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4199, allocations: 4 kB / 0.5155 GB, free: 4.258 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001775/0.4201, allocations: 0 / 0.5155 GB, free: 4.258 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.01134/0.4315, allocations: 4.931 MB / 0.5203 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.4315, allocations: 8.875 kB / 0.5203 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009878/0.4325, allocations: 0.7963 MB / 0.5211 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08957/0.5221, allocations: 7.417 MB / 0.5283 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008368/0.5305, allocations: 4.065 MB / 0.5323 GB, free: 4.887 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002155/0.5307, allocations: 255 kB / 0.5326 GB, free: 4.637 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00114/0.5319, allocations: 351.6 kB / 0.5329 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02295/0.5549, allocations: 12.31 MB / 0.5449 GB, free: 7.172 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001612/0.5551, allocations: 59.52 kB / 0.545 GB, free: 7.113 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005271/0.5556, allocations: 159.8 kB / 0.5451 GB, free: 6.957 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004051/0.5597, allocations: 2.377 MB / 0.5474 GB, free: 4.578 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02287/0.5825, allocations: 10.73 MB / 0.5579 GB, free: 9.82 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06128/0.6439, allocations: 48.82 MB / 0.6056 GB, free: 7.605 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01547/0.6594, allocations: 5.869 MB / 0.6113 GB, free: 1.586 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004009/0.6634, allocations: 3.104 MB / 0.6144 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0185/0.682, allocations: 13.02 MB / 0.6271 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.281e-05/0.6821, allocations: 51.88 kB / 0.6271 GB, free: 1.051 MB / 494.1 MB Notification: Performance of pre-optimization done (n=193): time 5.37e-06/0.6821, allocations: 0 / 0.6271 GB, free: 1.051 MB / 494.1 MB Notification: Performance of matching and sorting (n=254): time 0.3357/1.018, allocations: 39 MB / 0.6652 GB, free: 135.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.287e-05/1.018, allocations: 205.7 kB / 0.6654 GB, free: 135.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006055/1.024, allocations: 4.422 MB / 0.6697 GB, free: 133.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006575/1.025, allocations: 63.48 kB / 0.6698 GB, free: 133.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001708/1.026, allocations: 3.432 MB / 0.6731 GB, free: 131 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001051/1.027, allocations: 0.9478 MB / 0.6741 GB, free: 130.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006585/1.028, allocations: 0.5715 MB / 0.6746 GB, free: 130 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.447e-05/1.028, allocations: 311.9 kB / 0.6749 GB, free: 129.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003623/1.032, allocations: 3.114 MB / 0.678 GB, free: 128.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00492/1.037, allocations: 7.044 MB / 0.6848 GB, free: 122.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009741/1.046, allocations: 10.96 MB / 0.6955 GB, free: 111.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.965e-05/1.047, allocations: 44 kB / 0.6956 GB, free: 111 MB / 494.1 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02402/1.071, allocations: 12.66 MB / 0.708 GB, free: 98.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001237/1.071, allocations: 64 kB / 0.708 GB, free: 98.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001604/1.071, allocations: 140.1 kB / 0.7081 GB, free: 98.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008922/1.08, allocations: 3.256 MB / 0.7113 GB, free: 95.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005583/1.086, allocations: 1.536 MB / 0.7128 GB, free: 93.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0199/1.105, allocations: 15.52 MB / 0.728 GB, free: 77.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006086/1.112, allocations: 431.3 kB / 0.7284 GB, free: 77.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001218/1.113, allocations: 404 kB / 0.7288 GB, free: 77.02 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.004414/1.117, allocations: 2.356 MB / 0.7311 GB, free: 74.65 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008873/1.118, allocations: 409.6 kB / 0.7315 GB, free: 74.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01315/1.131, allocations: 7.523 MB / 0.7388 GB, free: 66.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.112e-05/1.131, allocations: 31.94 kB / 0.7388 GB, free: 66.67 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.186e-05/1.131, allocations: 8.875 kB / 0.7389 GB, free: 66.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.832e-05/1.131, allocations: 11.95 kB / 0.7389 GB, free: 66.65 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02473/1.156, allocations: 15.22 MB / 0.7537 GB, free: 51.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.029e-05/1.156, allocations: 0 / 0.7537 GB, free: 51.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001814/1.158, allocations: 380 kB / 0.7541 GB, free: 51.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007845/1.166, allocations: 2.936 MB / 0.757 GB, free: 48.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004076/1.166, allocations: 40 kB / 0.757 GB, free: 48.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01663/1.183, allocations: 13.75 MB / 0.7704 GB, free: 34.17 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.183, allocations: 0.8594 kB / 0.7704 GB, free: 34.17 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01798/1.201, allocations: 11.49 MB / 0.7816 GB, free: 22.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003426/1.205, allocations: 0.9252 MB / 0.7825 GB, free: 21.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009123/1.205, allocations: 40 kB / 0.7826 GB, free: 21.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002134/1.208, allocations: 187.7 kB / 0.7828 GB, free: 21.44 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000539/1.208, allocations: 157.7 kB / 0.7829 GB, free: 21.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001949/1.208, allocations: 67.28 kB / 0.783 GB, free: 21.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0041/1.212, allocations: 2.768 MB / 0.7857 GB, free: 18.46 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.31e-07/1.212, allocations: 0 / 0.7857 GB, free: 18.46 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0085/1.221, allocations: 1.323 MB / 0.787 GB, free: 17.14 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.01756/1.239, allocations: 12.15 MB / 0.7988 GB, free: 4.914 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01147/1.25, allocations: 7.82 MB / 0.8065 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/1.25, allocations: 4 kB / 0.8065 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004791/1.255, allocations: 3.119 MB / 0.8095 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003734/1.259, allocations: 497.3 kB / 0.81 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3098/1.568, allocations: 70.78 MB / 0.8791 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004406/1.573, allocations: 3.677 MB / 0.8827 GB, free: 107.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005613/1.579, allocations: 2.177 MB / 0.8848 GB, free: 107.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002905/1.581, allocations: 2.229 MB / 0.887 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of SimCode: time 1.343e-06/1.582, allocations: 0 / 0.887 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1178/1.699, allocations: 94.89 MB / 0.9797 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001397/1.7, allocations: 206.9 kB / 0.9799 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.868/5.567, allocations: 0 / 0.9799 GB, free: 13.98 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