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.001965/0.001965, allocations: 117.6 kB / 17.78 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002158/0.002158, allocations: 200.7 kB / 18.73 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2334/0.2334, allocations: 46.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 75.88 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3634, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01469/0.3781, allocations: 11.95 MB / 0.5423 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.3906, allocations: 4.38 MB / 0.5466 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002763/0.3934, allocations: 70.75 kB / 0.5466 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006001/0.3994, allocations: 2.757 MB / 0.5493 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006739/0.4062, allocations: 1.996 MB / 0.5513 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002655/0.4089, allocations: 1.002 MB / 0.5523 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008897/0.4178, allocations: 5.365 MB / 0.5575 GB, free: 6.074 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004799/0.4226, allocations: 3.443 MB / 0.5609 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003059/0.4257, allocations: 1.737 MB / 0.5626 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004044/0.4298, allocations: 2.442 MB / 0.5649 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001169/0.431, allocations: 364 kB / 0.5653 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0033/0.4343, allocations: 1.4 MB / 0.5667 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002677/0.437, allocations: 2.182 MB / 0.5688 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003553/0.4406, allocations: 2.552 MB / 0.5713 GB, free: 7.883 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01243/0.453, allocations: 8.215 MB / 0.5793 GB, free: 15.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.203e-05/0.4531, allocations: 0 / 0.5793 GB, free: 15.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4531, allocations: 3.938 kB / 0.5793 GB, free: 15.63 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002924/0.4534, allocations: 0 / 0.5793 GB, free: 15.63 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.0182/0.4716, allocations: 6.033 MB / 0.5852 GB, free: 9.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.4716, allocations: 8.031 kB / 0.5852 GB, free: 9.512 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002188/0.4738, allocations: 0.7946 MB / 0.586 GB, free: 8.707 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09776/0.5716, allocations: 7.238 MB / 0.5931 GB, free: 1.457 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007914/0.5796, allocations: 3.613 MB / 0.5966 GB, free: 13.78 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002328/0.5798, allocations: 254.8 kB / 0.5968 GB, free: 13.53 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008707/0.5807, allocations: 359.6 kB / 0.5972 GB, free: 13.18 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0253/0.606, allocations: 12.29 MB / 0.6092 GB, free: 84 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001903/0.6063, allocations: 51.58 kB / 0.6092 GB, free: 32 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006935/0.607, allocations: 163.8 kB / 0.6094 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004329/0.6113, allocations: 2.385 MB / 0.6117 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02313/0.6345, allocations: 10.69 MB / 0.6221 GB, free: 2.773 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06537/0.6999, allocations: 48.64 MB / 0.6696 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01601/0.7159, allocations: 5.876 MB / 0.6754 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004304/0.7203, allocations: 3.108 MB / 0.6784 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02086/0.7412, allocations: 13.01 MB / 0.6911 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.081e-05/0.7413, allocations: 59.86 kB / 0.6912 GB, free: 10.16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=193): time 6.753e-06/0.7413, allocations: 0 / 0.6912 GB, free: 10.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=254): time 0.3797/1.121, allocations: 38.95 MB / 0.7292 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.05e-05/1.121, allocations: 204.7 kB / 0.7294 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005064/1.126, allocations: 4.395 MB / 0.7337 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004658/1.127, allocations: 65.36 kB / 0.7338 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001523/1.128, allocations: 3.562 MB / 0.7372 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008068/1.129, allocations: 0.9898 MB / 0.7382 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001521/1.131, allocations: 1.378 MB / 0.7396 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.441e-05/1.131, allocations: 305.1 kB / 0.7399 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003574/1.134, allocations: 3.12 MB / 0.7429 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004582/1.139, allocations: 7.044 MB / 0.7498 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009364/1.148, allocations: 10.96 MB / 0.7605 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001018/1.148, allocations: 40 kB / 0.7605 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02167/1.17, allocations: 12.69 MB / 0.7729 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001208/1.17, allocations: 66.66 kB / 0.773 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001785/1.17, allocations: 140.2 kB / 0.7731 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008273/1.179, allocations: 3.24 MB / 0.7763 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004736/1.183, allocations: 1.541 MB / 0.7778 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01985/1.203, allocations: 16.6 MB / 0.794 GB, free: 101 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005705/1.209, allocations: 435.4 kB / 0.7944 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001048/1.21, allocations: 404 kB / 0.7948 GB, free: 100.1 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.003577/1.214, allocations: 2.348 MB / 0.7971 GB, free: 97.78 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000927/1.215, allocations: 433.1 kB / 0.7975 GB, free: 97.35 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/1.227, allocations: 7.515 MB / 0.8048 GB, free: 89.81 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.519e-05/1.228, allocations: 27.83 kB / 0.8049 GB, free: 89.79 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.347e-05/1.228, allocations: 18.62 kB / 0.8049 GB, free: 89.77 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.242e-05/1.228, allocations: 11.95 kB / 0.8049 GB, free: 89.76 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02411/1.252, allocations: 15.03 MB / 0.8196 GB, free: 74.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.296e-05/1.252, allocations: 7.938 kB / 0.8196 GB, free: 74.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001957/1.254, allocations: 375.5 kB / 0.8199 GB, free: 74.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007785/1.262, allocations: 2.927 MB / 0.8228 GB, free: 71.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005264/1.262, allocations: 40 kB / 0.8228 GB, free: 71.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01692/1.279, allocations: 14.83 MB / 0.8373 GB, free: 56.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/1.279, allocations: 0 / 0.8373 GB, free: 56.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01744/1.297, allocations: 11.51 MB / 0.8485 GB, free: 44.81 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/1.298, allocations: 469 kB / 0.849 GB, free: 44.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008312/1.299, allocations: 40.09 kB / 0.849 GB, free: 44.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/1.301, allocations: 191.7 kB / 0.8492 GB, free: 44.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005362/1.301, allocations: 149.8 kB / 0.8494 GB, free: 43.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001969/1.302, allocations: 64 kB / 0.8494 GB, free: 43.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003544/1.305, allocations: 2.746 MB / 0.8521 GB, free: 41.15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3e-07/1.305, allocations: 0 / 0.8521 GB, free: 41.15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006082/1.311, allocations: 1.3 MB / 0.8534 GB, free: 39.85 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.01778/1.329, allocations: 12.16 MB / 0.8652 GB, free: 27.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01269/1.342, allocations: 7.862 MB / 0.8729 GB, free: 19.76 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.342, allocations: 4 kB / 0.8729 GB, free: 19.76 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004385/1.346, allocations: 3.133 MB / 0.876 GB, free: 16.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003158/1.349, allocations: 0.5187 MB / 0.8765 GB, free: 16.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1044/1.454, allocations: 60.72 MB / 0.9358 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004992/1.459, allocations: 3.674 MB / 0.9394 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.005348/1.464, allocations: 2.169 MB / 0.9415 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003704/1.468, allocations: 2.218 MB / 0.9437 GB, free: 5 MB / 0.6231 GB Notification: Performance of SimCode: time 1.212e-06/1.468, allocations: 0 / 0.9437 GB, free: 5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.392/1.86, allocations: 94.25 MB / 1.036 GB, free: 145 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.65/30.51, allocations: 11.73 kB / 1.036 GB, free: 145 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