Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.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.JointUPS,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001653/0.001653, allocations: 117.7 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002198/0.002198, allocations: 199.8 kB / 18.73 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2062/0.2062, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 79.88 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3301, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.008604/0.3387, allocations: 8.11 MB / 0.5384 GB, free: 7.051 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005272/0.344, allocations: 2.632 MB / 0.541 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009431/0.345, allocations: 41.06 kB / 0.541 GB, free: 5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002371/0.3474, allocations: 1.292 MB / 0.5423 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009826/0.3484, allocations: 446.2 kB / 0.5427 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008632/0.3493, allocations: 422.6 kB / 0.5431 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001111/0.3504, allocations: 1.033 MB / 0.5441 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.3517, allocations: 1.206 MB / 0.5453 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006149/0.3523, allocations: 0.5274 MB / 0.5458 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009432/0.3533, allocations: 0.7747 MB / 0.5466 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.3535, allocations: 116 kB / 0.5467 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008642/0.3543, allocations: 0.5811 MB / 0.5473 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005759/0.3549, allocations: 0.7014 MB / 0.548 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006449/0.3556, allocations: 0.7997 MB / 0.5487 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002234/0.3578, allocations: 2.491 MB / 0.5512 GB, free: 12.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3578, allocations: 0 / 0.5512 GB, free: 12.56 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3578, allocations: 3.938 kB / 0.5512 GB, free: 12.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.845e-05/0.3579, allocations: 0 / 0.5512 GB, free: 12.56 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.003806/0.3617, allocations: 2.125 MB / 0.5532 GB, free: 10.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.3617, allocations: 8.031 kB / 0.5533 GB, free: 10.37 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000315/0.3621, allocations: 296.6 kB / 0.5535 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009439/0.363, allocations: 270.2 kB / 0.5538 GB, free: 9.801 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.3643, allocations: 0.8497 MB / 0.5546 GB, free: 8.906 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.116e-05/0.3643, allocations: 86.7 kB / 0.5547 GB, free: 8.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002249/0.3646, allocations: 135.9 kB / 0.5548 GB, free: 8.688 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006502/0.3711, allocations: 4.276 MB / 0.559 GB, free: 4.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/0.3711, allocations: 7.938 kB / 0.559 GB, free: 4.152 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.3713, allocations: 59.94 kB / 0.5591 GB, free: 4.094 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009607/0.3722, allocations: 0.7287 MB / 0.5598 GB, free: 3.363 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006332/0.3786, allocations: 3.5 MB / 0.5632 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01436/0.393, allocations: 14.23 MB / 0.5771 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003817/0.3968, allocations: 1.214 MB / 0.5783 GB, free: 36 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007957/0.3976, allocations: 0.7015 MB / 0.579 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004459/0.4021, allocations: 3.707 MB / 0.5826 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.4021, allocations: 34.89 kB / 0.5826 GB, free: 11.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 1.974e-06/0.4022, allocations: 0 / 0.5826 GB, free: 11.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.005906/0.4081, allocations: 1.764 MB / 0.5844 GB, free: 9.555 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.4081, allocations: 59.34 kB / 0.5844 GB, free: 9.484 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/0.4098, allocations: 1.479 MB / 0.5859 GB, free: 7.988 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.4098, allocations: 33.7 kB / 0.5859 GB, free: 7.949 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006796/0.4105, allocations: 1.193 MB / 0.587 GB, free: 6.734 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.4106, allocations: 170 kB / 0.5872 GB, free: 6.566 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004317/0.4111, allocations: 431.1 kB / 0.5876 GB, free: 6.137 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.4112, allocations: 353.9 kB / 0.588 GB, free: 5.785 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006317/0.4119, allocations: 495.9 kB / 0.5884 GB, free: 5.297 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.4133, allocations: 1.89 MB / 0.5903 GB, free: 2.688 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002312/0.4156, allocations: 2.601 MB / 0.5928 GB, free: 15.38 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.879e-05/0.4156, allocations: 16 kB / 0.5928 GB, free: 15.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.002926/0.4186, allocations: 2.263 MB / 0.595 GB, free: 13.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.4186, allocations: 27.94 kB / 0.5951 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.923e-05/0.4187, allocations: 55.94 kB / 0.5951 GB, free: 13.01 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.966e-05/0.4187, allocations: 71.98 kB / 0.5952 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.4199, allocations: 495 kB / 0.5957 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-05/0.42, allocations: 91.66 kB / 0.5958 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.4211, allocations: 308.7 kB / 0.596 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.4212, allocations: 136 kB / 0.5962 GB, free: 11.93 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 39 (rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[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],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000854/0.4221, allocations: 0.7581 MB / 0.5969 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.4222, allocations: 126.3 kB / 0.597 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.4224, allocations: 144.4 kB / 0.5972 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.4224, allocations: 4 kB / 0.5972 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4224, allocations: 0 / 0.5972 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.4225, allocations: 3.984 kB / 0.5972 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00329/0.4257, allocations: 2.889 MB / 0.6 GB, free: 7.762 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.4258, allocations: 11.94 kB / 0.6 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002861/0.4261, allocations: 107.8 kB / 0.6001 GB, free: 7.645 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/0.4261, allocations: 12.81 kB / 0.6001 GB, free: 7.633 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.496e-05/0.4261, allocations: 20 kB / 0.6001 GB, free: 7.613 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.448e-05/0.4261, allocations: 27.92 kB / 0.6002 GB, free: 7.586 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/0.4262, allocations: 15.94 kB / 0.6002 GB, free: 7.57 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007877/0.427, allocations: 0.8713 MB / 0.601 GB, free: 6.52 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002005/0.4272, allocations: 211.4 kB / 0.6012 GB, free: 6.293 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.4273, allocations: 27.98 kB / 0.6013 GB, free: 6.266 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004038/0.4277, allocations: 27.98 kB / 0.6013 GB, free: 6.238 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.721e-05/0.4278, allocations: 75.58 kB / 0.6014 GB, free: 6.164 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.4278, allocations: 28 kB / 0.6014 GB, free: 6.137 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001001/0.4288, allocations: 0.905 MB / 0.6023 GB, free: 5.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4288, allocations: 4 kB / 0.6023 GB, free: 5.227 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001552/0.4304, allocations: 402.6 kB / 0.6027 GB, free: 4.832 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 0 () * 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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001088/0.4315, allocations: 1.449 MB / 0.6041 GB, free: 3.195 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.433, allocations: 1.217 MB / 0.6053 GB, free: 1.988 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.433, allocations: 0 / 0.6053 GB, free: 1.988 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002752/0.4333, allocations: 246.5 kB / 0.6055 GB, free: 1.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009803/0.4343, allocations: 205.2 kB / 0.6057 GB, free: 1.551 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01581/0.4501, allocations: 14 MB / 0.6194 GB, free: 1.59 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/0.4515, allocations: 1.532 MB / 0.6209 GB, free: 28 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001286/0.4528, allocations: 0.5699 MB / 0.6214 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007224/0.4536, allocations: 0.6125 MB / 0.622 GB, free: 14.84 MB / 494.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4536, allocations: 0 / 0.622 GB, free: 14.84 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04568/0.4993, allocations: 23.15 MB / 0.6446 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11.17, allocations: 4.75 kB / 0.6446 GB, free: 7.82 MB / 0.4981 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches