Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001429/0.001429, allocations: 117.7 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001761/0.001761, allocations: 199.8 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2204/0.2204, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 75.88 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3354, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01347/0.3489, allocations: 11.95 MB / 0.5422 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009957/0.3589, allocations: 4.376 MB / 0.5465 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002811/0.3618, allocations: 74.81 kB / 0.5465 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005872/0.3677, allocations: 2.75 MB / 0.5492 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005293/0.373, allocations: 1.996 MB / 0.5512 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002267/0.3753, allocations: 1.002 MB / 0.5521 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007116/0.3825, allocations: 5.377 MB / 0.5574 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004376/0.3869, allocations: 3.44 MB / 0.5608 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002757/0.3896, allocations: 1.748 MB / 0.5625 GB, free: 0.957 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004133/0.3938, allocations: 2.442 MB / 0.5648 GB, free: 14.51 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001312/0.3951, allocations: 368 kB / 0.5652 GB, free: 14.15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003217/0.3984, allocations: 1.397 MB / 0.5666 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002837/0.4012, allocations: 2.19 MB / 0.5687 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004968/0.4062, allocations: 2.555 MB / 0.5712 GB, free: 7.984 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009827/0.4161, allocations: 8.191 MB / 0.5792 GB, free: 15.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4161, allocations: 0 / 0.5792 GB, free: 15.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4161, allocations: 3.938 kB / 0.5792 GB, free: 15.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002632/0.4164, allocations: 0 / 0.5792 GB, free: 15.76 MB / 446.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.01584/0.4322, allocations: 5.874 MB / 0.5849 GB, free: 9.816 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.4323, allocations: 12.03 kB / 0.5849 GB, free: 9.805 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001874/0.4342, allocations: 0.7946 MB / 0.5857 GB, free: 9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09589/0.5301, allocations: 7.207 MB / 0.5928 GB, free: 1.777 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009136/0.5393, allocations: 3.6 MB / 0.5963 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002563/0.5395, allocations: 254.8 kB / 0.5965 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001387/0.5409, allocations: 359.6 kB / 0.5969 GB, free: 13.51 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0248/0.5658, allocations: 12.28 MB / 0.6089 GB, free: 428 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002111/0.566, allocations: 55.52 kB / 0.6089 GB, free: 372 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001063/0.5671, allocations: 163.8 kB / 0.6091 GB, free: 208 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004132/0.5712, allocations: 2.377 MB / 0.6114 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02251/0.5938, allocations: 10.7 MB / 0.6218 GB, free: 3.105 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06959/0.6634, allocations: 48.56 MB / 0.6693 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01601/0.6795, allocations: 5.869 MB / 0.675 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004289/0.6838, allocations: 3.11 MB / 0.678 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02205/0.7059, allocations: 13 MB / 0.6907 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.157e-05/0.706, allocations: 55.81 kB / 0.6908 GB, free: 10.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=193): time 5.35e-06/0.706, allocations: 0 / 0.6908 GB, free: 10.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=254): time 0.3693/1.075, allocations: 38.68 MB / 0.7286 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.362e-05/1.075, allocations: 208.5 kB / 0.7288 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005659/1.081, allocations: 4.382 MB / 0.733 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005809/1.082, allocations: 65.23 kB / 0.7331 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002014/1.084, allocations: 3.43 MB / 0.7365 GB, free: 158 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001053/1.085, allocations: 0.9456 MB / 0.7374 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001738/1.086, allocations: 1.368 MB / 0.7387 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.359e-05/1.087, allocations: 308.7 kB / 0.739 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003844/1.09, allocations: 3.116 MB / 0.742 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005066/1.095, allocations: 7.047 MB / 0.7489 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009839/1.105, allocations: 10.96 MB / 0.7596 GB, free: 136 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.471e-05/1.105, allocations: 36 kB / 0.7597 GB, free: 136 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02126/1.127, allocations: 12.67 MB / 0.772 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.655e-05/1.127, allocations: 64 kB / 0.7721 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001167/1.127, allocations: 136 kB / 0.7722 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008802/1.136, allocations: 3.245 MB / 0.7754 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005254/1.141, allocations: 1.54 MB / 0.7769 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02047/1.162, allocations: 16.59 MB / 0.7931 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006324/1.168, allocations: 439 kB / 0.7935 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009877/1.169, allocations: 400 kB / 0.7939 GB, free: 100.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.003884/1.173, allocations: 2.36 MB / 0.7962 GB, free: 98.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009533/1.174, allocations: 406.7 kB / 0.7966 GB, free: 98.03 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01333/1.187, allocations: 7.511 MB / 0.8039 GB, free: 90.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.173e-05/1.187, allocations: 28 kB / 0.8039 GB, free: 90.47 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.781e-05/1.187, allocations: 12 kB / 0.804 GB, free: 90.46 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.172e-05/1.187, allocations: 11.95 kB / 0.804 GB, free: 90.45 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02662/1.214, allocations: 15.04 MB / 0.8187 GB, free: 75.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.346e-05/1.214, allocations: 0 / 0.8187 GB, free: 75.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001913/1.216, allocations: 375.5 kB / 0.819 GB, free: 75.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007899/1.224, allocations: 2.927 MB / 0.8219 GB, free: 72.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004343/1.224, allocations: 39.83 kB / 0.8219 GB, free: 72.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01741/1.242, allocations: 14.81 MB / 0.8364 GB, free: 57.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.242, allocations: 3.938 kB / 0.8364 GB, free: 57.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01731/1.259, allocations: 11.5 MB / 0.8476 GB, free: 45.53 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001874/1.261, allocations: 446.5 kB / 0.848 GB, free: 45.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001142/1.262, allocations: 40.09 kB / 0.8481 GB, free: 45.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00235/1.265, allocations: 191.7 kB / 0.8483 GB, free: 44.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006391/1.265, allocations: 153.8 kB / 0.8484 GB, free: 44.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002227/1.265, allocations: 56 kB / 0.8485 GB, free: 44.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004099/1.27, allocations: 2.75 MB / 0.8511 GB, free: 41.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.91e-07/1.27, allocations: 3.938 kB / 0.8511 GB, free: 41.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006029/1.276, allocations: 1.294 MB / 0.8524 GB, free: 40.59 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.01726/1.293, allocations: 12.15 MB / 0.8643 GB, free: 28.37 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01173/1.305, allocations: 7.853 MB / 0.8719 GB, free: 20.53 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.305, allocations: 4 kB / 0.8719 GB, free: 20.53 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004533/1.309, allocations: 3.129 MB / 0.875 GB, free: 17.39 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003241/1.313, allocations: 0.5111 MB / 0.8755 GB, free: 16.89 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1117/1.424, allocations: 60.53 MB / 0.9346 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007253/1.432, allocations: 3.666 MB / 0.9382 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.006207/1.438, allocations: 2.172 MB / 0.9403 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004243/1.442, allocations: 2.218 MB / 0.9425 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of SimCode: time 1.483e-06/1.442, allocations: 0 / 0.9425 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4229/1.865, allocations: 95.89 MB / 1.036 GB, free: 144.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.57/31.44, allocations: 11.5 kB / 1.036 GB, free: 144.7 MB / 0.6231 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches