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.001042/0.001042, allocations: 93.22 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.00133, allocations: 201.5 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.7 MB / 246.8 MB, free: 9.531 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2003/0.2003, allocations: 46.18 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002763/0.0002764, allocations: 8 kB / 419.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1188, allocations: 63.56 MB / 483.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.2869/0.4057, allocations: 41.95 MB / 0.5128 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02079/0.4266, allocations: 9.471 MB / 0.5221 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01004/0.4366, allocations: 183.5 kB / 0.5222 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001842/0.4385, allocations: 476.5 kB / 0.5227 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006039/0.4446, allocations: 1.891 MB / 0.5245 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002408/0.447, allocations: 0.9267 MB / 0.5255 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01066/0.4577, allocations: 7.502 MB / 0.5328 GB, free: 5.562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006408/0.4641, allocations: 4.479 MB / 0.5372 GB, free: 3.219 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002528/0.4667, allocations: 1.352 MB / 0.5385 GB, free: 2.566 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00285/0.4695, allocations: 2.347 MB / 0.5408 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005329/0.4701, allocations: 174.1 kB / 0.5409 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002327/0.4724, allocations: 1.292 MB / 0.5422 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001628/0.4741, allocations: 1.979 MB / 0.5441 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002437/0.4765, allocations: 2.307 MB / 0.5464 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007888/0.4844, allocations: 7.644 MB / 0.5538 GB, free: 6.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.4844, allocations: 0 / 0.5538 GB, free: 6.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4844, allocations: 0 / 0.5538 GB, free: 6.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002146/0.4847, allocations: 0 / 0.5538 GB, free: 6.707 MB / 398.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.01257/0.4972, allocations: 4.896 MB / 0.5586 GB, free: 1.773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.4973, allocations: 8.875 kB / 0.5586 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00182/0.4991, allocations: 0.7911 MB / 0.5594 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08977/0.5889, allocations: 7.413 MB / 0.5666 GB, free: 9.582 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008536/0.5975, allocations: 3.537 MB / 0.5701 GB, free: 6.023 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002422/0.5978, allocations: 257.5 kB / 0.5703 GB, free: 5.812 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001161/0.5989, allocations: 352.5 kB / 0.5707 GB, free: 5.512 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02039/0.6193, allocations: 12.31 MB / 0.5827 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001283/0.6195, allocations: 63.44 kB / 0.5828 GB, free: 8.453 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004124/0.6199, allocations: 157.6 kB / 0.5829 GB, free: 8.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003654/0.6236, allocations: 2.382 MB / 0.5852 GB, free: 5.969 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02051/0.6441, allocations: 10.72 MB / 0.5957 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05813/0.7023, allocations: 48.78 MB / 0.6434 GB, free: 9.258 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01498/0.7173, allocations: 5.861 MB / 0.6491 GB, free: 3.246 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00379/0.7211, allocations: 3.114 MB / 0.6521 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01844/0.7396, allocations: 13.02 MB / 0.6648 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/0.7397, allocations: 51.88 kB / 0.6649 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=193): time 4.469e-06/0.7397, allocations: 0 / 0.6649 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.1199/0.8596, allocations: 38.89 MB / 0.7029 GB, free: 11.74 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.8598, allocations: 209.9 kB / 0.7031 GB, free: 11.49 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008684/0.8685, allocations: 4.376 MB / 0.7073 GB, free: 7.094 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007437/0.8692, allocations: 68.98 kB / 0.7074 GB, free: 7.023 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002703/0.872, allocations: 3.422 MB / 0.7107 GB, free: 3.602 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001534/0.8735, allocations: 0.9529 MB / 0.7117 GB, free: 2.656 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001467/0.875, allocations: 0.5744 MB / 0.7122 GB, free: 2.078 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.8751, allocations: 301.1 kB / 0.7125 GB, free: 1.781 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.227/1.102, allocations: 3.111 MB / 0.7156 GB, free: 195.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007564/1.11, allocations: 7.045 MB / 0.7224 GB, free: 190.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01347/1.123, allocations: 10.95 MB / 0.7331 GB, free: 181.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000189/1.123, allocations: 39.5 kB / 0.7332 GB, free: 181.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02568/1.149, allocations: 12.66 MB / 0.7455 GB, free: 177.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.747e-05/1.149, allocations: 64.62 kB / 0.7456 GB, free: 177.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001167/1.149, allocations: 135.8 kB / 0.7457 GB, free: 177.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008474/1.158, allocations: 3.264 MB / 0.7489 GB, free: 177 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004992/1.163, allocations: 1.527 MB / 0.7504 GB, free: 176.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0189/1.182, allocations: 15.51 MB / 0.7656 GB, free: 165.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005527/1.187, allocations: 430.5 kB / 0.766 GB, free: 165.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008795/1.188, allocations: 408 kB / 0.7664 GB, free: 164.7 MB / 0.545 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.003507/1.192, allocations: 2.347 MB / 0.7686 GB, free: 162.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007258/1.193, allocations: 408.7 kB / 0.769 GB, free: 162.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01421/1.207, allocations: 7.519 MB / 0.7764 GB, free: 154.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.525e-05/1.207, allocations: 28 kB / 0.7764 GB, free: 154.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/1.207, allocations: 11.94 kB / 0.7764 GB, free: 154.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.459e-05/1.207, allocations: 15.95 kB / 0.7764 GB, free: 154.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02334/1.23, allocations: 15.21 MB / 0.7913 GB, free: 139.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/1.23, allocations: 4 kB / 0.7913 GB, free: 139.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00171/1.232, allocations: 379.4 kB / 0.7917 GB, free: 139.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007961/1.24, allocations: 2.931 MB / 0.7945 GB, free: 136.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003604/1.24, allocations: 40 kB / 0.7946 GB, free: 136.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01646/1.257, allocations: 13.74 MB / 0.808 GB, free: 122.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.257, allocations: 7.938 kB / 0.808 GB, free: 122.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01681/1.274, allocations: 11.48 MB / 0.8192 GB, free: 110.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/1.275, allocations: 451.7 kB / 0.8196 GB, free: 110.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004667/1.275, allocations: 40.62 kB / 0.8197 GB, free: 110.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001942/1.277, allocations: 192.4 kB / 0.8198 GB, free: 110 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005009/1.278, allocations: 145.9 kB / 0.82 GB, free: 109.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001735/1.278, allocations: 64.64 kB / 0.82 GB, free: 109.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003295/1.281, allocations: 2.754 MB / 0.8227 GB, free: 107.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/1.281, allocations: 0 / 0.8227 GB, free: 107.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005198/1.286, allocations: 1.293 MB / 0.824 GB, free: 105.8 MB / 0.545 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.01683/1.303, allocations: 12.15 MB / 0.8359 GB, free: 93.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01155/1.315, allocations: 7.82 MB / 0.8435 GB, free: 85.76 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/1.315, allocations: 384 / 0.8435 GB, free: 85.76 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004628/1.319, allocations: 3.131 MB / 0.8466 GB, free: 82.62 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00396/1.323, allocations: 482.6 kB / 0.847 GB, free: 82.15 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3307/1.654, allocations: 70.42 MB / 0.9158 GB, free: 186.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008379/1.663, allocations: 3.665 MB / 0.9194 GB, free: 185.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.009292/1.672, allocations: 2.175 MB / 0.9215 GB, free: 185.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003982/1.676, allocations: 2.214 MB / 0.9236 GB, free: 185.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.142e-06/1.676, allocations: 0 / 0.9236 GB, free: 185.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.137/1.813, allocations: 94.52 MB / 1.016 GB, free: 110.3 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001407/1.813, allocations: 213.5 kB / 1.016 GB, free: 110.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.061/5.875, allocations: 4 kB / 1.016 GB, free: 110.1 MB / 0.545 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