Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001269/0.001269, allocations: 112.7 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001481/0.001481, allocations: 214 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 230.5 MB / 257.4 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2538/0.2538, allocations: 46.92 MB / 360.8 MB, free: 4.164 MB / 286.1 MB " [Timeout remaining time 179] 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.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002432/0.002432, allocations: 91.83 kB / 0.4962 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4694/0.4718, allocations: 66.07 MB / 0.5607 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01824/0.4901, allocations: 13.53 MB / 0.574 GB, free: 6.676 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01107/0.5012, allocations: 4.262 MB / 0.5781 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002919/0.5041, allocations: 79.69 kB / 0.5782 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004738/0.5088, allocations: 1.997 MB / 0.5801 GB, free: 328 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006114/0.5149, allocations: 1.946 MB / 0.582 GB, free: 14.37 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.5167, allocations: 0.5575 MB / 0.5826 GB, free: 13.81 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007093/0.5238, allocations: 4.042 MB / 0.5865 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004136/0.528, allocations: 2.427 MB / 0.5889 GB, free: 7.273 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003204/0.5312, allocations: 1.468 MB / 0.5903 GB, free: 5.801 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004212/0.5354, allocations: 2.208 MB / 0.5925 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001153/0.5365, allocations: 307.9 kB / 0.5928 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003028/0.5396, allocations: 1.041 MB / 0.5938 GB, free: 2.242 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002779/0.5423, allocations: 1.893 MB / 0.5957 GB, free: 352 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00443/0.5468, allocations: 2.236 MB / 0.5978 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01228/0.559, allocations: 7.321 MB / 0.605 GB, free: 6.742 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.5591, allocations: 8 kB / 0.605 GB, free: 6.734 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5591, allocations: 0 / 0.605 GB, free: 6.734 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002988/0.5594, allocations: 0 / 0.605 GB, free: 6.734 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.0155/0.5749, allocations: 4.945 MB / 0.6098 GB, free: 1.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.5749, allocations: 12.03 kB / 0.6098 GB, free: 1.719 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00241/0.5773, allocations: 0.8118 MB / 0.6106 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01171/0.589, allocations: 3.18 MB / 0.6137 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006898/0.5959, allocations: 2.339 MB / 0.616 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003483/0.5963, allocations: 242.2 kB / 0.6162 GB, free: 11.1 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001995/0.5983, allocations: 311.7 kB / 0.6165 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02627/0.6245, allocations: 12.08 MB / 0.6283 GB, free: 14.17 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001896/0.6247, allocations: 43.69 kB / 0.6284 GB, free: 14.13 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001212/0.6259, allocations: 143.8 kB / 0.6285 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005471/0.6314, allocations: 2.835 MB / 0.6313 GB, free: 11.15 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02712/0.6585, allocations: 11.36 MB / 0.6424 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07887/0.7374, allocations: 40.97 MB / 0.6824 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01219/0.7496, allocations: 4.925 MB / 0.6872 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00459/0.7542, allocations: 2.763 MB / 0.6899 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001372/0.7556, allocations: 0.5634 MB / 0.6904 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.065e-05/0.7556, allocations: 52.55 kB / 0.6905 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=262): time 5.761e-06/0.7556, allocations: 0 / 0.6905 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=283): time 0.0583/0.8139, allocations: 19.98 MB / 0.71 GB, free: 9.359 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/0.814, allocations: 77.41 kB / 0.7101 GB, free: 9.273 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006119/0.8201, allocations: 3.036 MB / 0.713 GB, free: 6.219 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008436/0.821, allocations: 61.7 kB / 0.7131 GB, free: 6.152 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003356/0.8243, allocations: 3.108 MB / 0.7161 GB, free: 3.016 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002132/0.8265, allocations: 1.073 MB / 0.7172 GB, free: 1.934 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002774/0.8292, allocations: 1.191 MB / 0.7183 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.8294, allocations: 309.1 kB / 0.7186 GB, free: 436 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005826/0.8352, allocations: 2.846 MB / 0.7214 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009747/0.8449, allocations: 6.018 MB / 0.7273 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.39/1.235, allocations: 9.662 MB / 0.7367 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00014/1.235, allocations: 32 kB / 0.7368 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.0208/1.256, allocations: 10.03 MB / 0.7466 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-05/1.256, allocations: 53.47 kB / 0.7466 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001722/1.256, allocations: 109.9 kB / 0.7467 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003742/1.26, allocations: 1.368 MB / 0.748 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005245/1.265, allocations: 1.373 MB / 0.7494 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009607/1.275, allocations: 7.694 MB / 0.7569 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005121/1.28, allocations: 363.2 kB / 0.7572 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001403/1.281, allocations: 339.5 kB / 0.7576 GB, free: 138.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.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 (718): * Single equations (assignments): 711 * Array equations: 6 * 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 {(3,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005377/1.287, allocations: 2.296 MB / 0.7598 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/1.288, allocations: 329.2 kB / 0.7601 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/1.299, allocations: 6.612 MB / 0.7666 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.25e-05/1.299, allocations: 51.94 kB / 0.7666 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/1.299, allocations: 4 kB / 0.7666 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.615e-05/1.299, allocations: 11.95 kB / 0.7667 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02532/1.324, allocations: 13.85 MB / 0.7802 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.12e-05/1.325, allocations: 8 kB / 0.7802 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002318/1.327, allocations: 448.5 kB / 0.7806 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003148/1.33, allocations: 1.212 MB / 0.7818 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007422/1.331, allocations: 55.94 kB / 0.7818 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007623/1.338, allocations: 6.914 MB / 0.7886 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/1.338, allocations: 12.81 kB / 0.7886 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01381/1.352, allocations: 9.868 MB / 0.7982 GB, free: 97.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009344/1.353, allocations: 285.9 kB / 0.7985 GB, free: 97.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00113/1.354, allocations: 55.5 kB / 0.7986 GB, free: 97.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00219/1.356, allocations: 191.7 kB / 0.7988 GB, free: 97.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007343/1.357, allocations: 173.6 kB / 0.7989 GB, free: 96.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003227/1.357, allocations: 68 kB / 0.799 GB, free: 96.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003008/1.36, allocations: 1.882 MB / 0.8008 GB, free: 95.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.21e-07/1.36, allocations: 3.719 kB / 0.8008 GB, free: 95.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006283/1.367, allocations: 1.105 MB / 0.8019 GB, free: 93.92 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (218): * Single equations (assignments): 211 * Array equations: 6 * 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 {(4,16,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01577/1.383, allocations: 10.53 MB / 0.8122 GB, free: 83.24 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01075/1.393, allocations: 6.683 MB / 0.8187 GB, free: 76.56 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.529e-05/1.393, allocations: 0 / 0.8187 GB, free: 76.56 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004093/1.397, allocations: 2.653 MB / 0.8213 GB, free: 73.89 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003224/1.401, allocations: 431.1 kB / 0.8217 GB, free: 73.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0808/1.481, allocations: 49.09 MB / 0.8697 GB, free: 19.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005696/1.487, allocations: 3.574 MB / 0.8731 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005071/1.492, allocations: 2.203 MB / 0.8753 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003748/1.496, allocations: 2.065 MB / 0.8773 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of SimCode: time 2.084e-06/1.496, allocations: 4 kB / 0.8773 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.157/1.653, allocations: 75.64 MB / 0.9512 GB, free: 160 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.11/26.76, allocations: 3.938 kB / 0.9512 GB, free: 156 kB / 0.6231 GB " [Timeout remaining time 633] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 30.181382487004157]